/ etc / init.d / iptables: line 268: restorecon: command not found

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

你可能感兴趣的:(iptables)