Language and Page Formatting Options
18.104.22.168. Saving and Restoring IPTables Rules
iptablesare transitory; if the system is rebooted or if the
iptablesservice is restarted, the rules are automatically flushed and reset. To save the rules so that they are loaded when the
iptablesservice is started, use the following command as the root user:
service iptables saveiptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
The rules are stored in the file
/etc/sysconfig/iptablesand are applied whenever the service is started or the machine is rebooted.