From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Description of problem: Hi All, Rules are created and stored in /etc/sysconfig/iptables without problems. When the system is started up these rules do not restore. A set of "blanket" rules are applied. However if i execute "/sbin/service iptables restart", the rules that I have created load correctly. Thanks. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create custom IPTABLES rules after flushing current rules. 2. use iptables-save > /etc/sysconfig/iptables 3. restart the system 4. use iptables -L and the ruleset created does not appear, standard rules appear 5. use /sbin/service restart iptables 6. use iptables -L and the correct rules appear. Additional info:
You can close this report because it is not a bug. The correct procedure is to enable service "iptables" with running "chkconfig iptables on". That will enable the script for current run-level.
So which runlevel should I be assigning iptables to please? Thanks.
The one you use and all run-levels that should enable the iptables rules. Look into redhat-config-services or consult "man chkconfig" for more information. Please move further discussion to a mailing-list.