You are not logged in.
Pages: 1
Hii, How can I enable iptables to run at boot and use the config I gave it please?
Offline
Google is your friend, there are hundreds of ways to do it.
Offline
add iptables to your DAEMONS() array in /etc/rc.conf
Offline
[retracted slap!]
try..
cd /etc/iptables
touch iptable.rules (or whatever it should be)
/etc/rc.d/iptables save (this saves your loaded rules set to the file above)
then add iptables to your daemons array. that should be it.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
cd /etc/iptables
touch iptable.rules (or whatever it should be)
/etc/rc.d/iptables save (this saves your loaded rules set to the file above)
curious, why would you need to do this if he already has a config?
Offline
I assumed he meant, that he manually configured his ruleset, and needed to know how to save it, as well as how to have iptabes use that at startup.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Yep Tanx guys, I am an Idiot:)
there is a good WIKI on this
Offline
Pages: 1