write the iptables rules to a script. Add the script to a bootscript. If you tell us which distro you are using, we may be able to tell you a distro-specific way to do this.
iptables-save only dumps the current rules to std-out.
you can pipe the rules into a text file with iptables-save > firewall
some distros have an iptables script in /etc/sysconfig/iptables, so you save your settings with: iptables-save > /etc/sysconfig/iptables
Last edited by Simon Bridge; 12-07-2006 at 02:54 AM.