When I tried to restart iptables from vps , I got the following error.
Iptables encountered such a problem to save the iptables rules:
“iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found iptables: Saving firewall rules to / etc/sysconfig/iptables: / etc / init.d / iptables: line 268: restorecon: command not found”
Fix :
yum install policycoreutils
/ etc / init.d / iptables: line 268: restorecon: command not found
原文:http://www.cnblogs.com/hanxianlong/p/3940500.html