iptables and ruleset

jd1008 jd1008 at gmail.com
Mon Jul 20 16:59:39 UTC 2015


Running:
systemctl enable iptables.service
systemctl start iptables.service

sets totally permissive rules, and does not incorporate
any of the rules in the file /etc/sysconfig/iptables

So, I have to manually run

iptables-restore < /etc/sysconfig/iptables

So, where should I place the ruleset file /etc/sysconfig/iptables
so that when iptables.service is started, the ruleset I want is what
is used?


More information about the users mailing list