Displaying 1 result from an estimated 1 matches for "syscong".
Did you mean:
syscon
2016 Sep 11
2
Iptables not save rules
...and the rule.
I changed /etc/sysconfig/iptables.conf to:
IPTABLES_SAVE_ON_RESTART="yes"
IPTABLES_SAVE_ON_STOP="yes"
And followed the instructions in:
https://www.centos.org/forums/viewtopic.php?t=3853
The changes are still not saved.
The rules show up in the running /etc/syscong/iptables but are lost on a
reboot.
Also, firewalld is not installed. This is a CentOS 6.8 system.
One question, do I need to stop iptables before I add the rules? I have seen
examples where sometimes they do and sometimes they don't.
TIA