Once you run the rules once and run save, they will then be reloaded from that location (/var/lib/iptables/rules-save) by /etc/init.d/iptables start. The init.d script uses iptables-restore and iptables-save underneath.
Eric C On Thu, 2005-08-25 at 23:17 -0400, John Dangler wrote: > I'm reading through the wiki doc on setting up iptables. There is a section > there that sets up a file called firewall.sh > i've emerged iptables, but I don't have a file by that name on the system, > and it seems that running "/etc/init.d/iptables save" writes this file as > /var/lib/iptables/rules-save. Is there a specific directory where this file > should be written so that running "/etc/init.d/iptables save" can see it? > Or can the rules-save file be edited and re-written? (It seems as though > running "/etc/init.d/iptables save" would just over-write rules-save). > > Thanks for the input. > > John D > > > > -- gentoo-user@gentoo.org mailing list