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

Error with iptables service save option.
Error details:

[[email protected]]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found


yum install policycoreutils

The above installation will solve the problem with iptables-save option.

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *