How to Restore IPTABLES Automatically On Boot
This script posted by jawnsy on debian-administration.org loads the settings from $IPSTATE (by default /etc/iptables.conf) when you Boot.
"You have to save the rules manually; this ensures that you make sure your rules are working properly (i.e. doesn't block you from logging in remotely, for example) before you decide to save them.
You do this running the command: "iptables-save > /etc/iptables.conf" (or whatever file you have chosen to use as your $IPSTATE file)"
Read The full article and download the script at:
http://www.debian-administration.org/articles/615
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment