kdaflying.blogg.se

Iptables reload
Iptables reload










A INPUT -p tcp -m multiport -dports 25,587,465,110,143,993,995 -m state -state INVALID,NEW,RELATED,ESTABLISHED -m set This is what is inside /etc/sysconfig/iptables: # Generated by iptables-save v1.4.7 on Mon Apr 8 09:52:59 2013

iptables reload iptables reload

NOTE: Yes, I'm saving the rules using iptables save and the file is being saved. How do I make this CentOS box load the firewall rules after a reboot? I've found this answer showing how to make a Ubuntu system reload the iptables rules after a reboot but this directory is not present on CentOS. I have one single ipset added to my iptables on a CentOS 6.x box and this rule is lost when the machine reboots.












Iptables reload