Shawn Iverson wrote:
I was wondering if someone could point me to documentation on the
/etc/sysconfig/iptables and iptables-config files. I currently have
iptables turned off on FC1 and am using David Ranch's Masquerade-HOWTO
scripts with modifications. I would rather set up my iptables the "Fedora
way" and use the native iptables init and sysconfig scripts. I found info
in iptables-save, iptables-restore, and iptables in the man pages, but that
is about it.
Can I simply do the following with my iptables up and running and then
reconfigure my init scripts?
iptables-save > /etc/sysconfig/iptables
This will save the currently loaded set of rules to the output file,
which will then be reloaded at start time.