I made a quick change on a client’s iptables configuration and went to save the iptables rules out when I encountered an error I’d never seen before:

iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 274: restorecon: command not found

A quick search later, I found it was fairly easy to resolve. There was just a missing package:

[root@server ~]# yum install policycoreutils

And all was well…


Category: iptables, linux

Leave a Reply

Categories


gives good tech

tech.superhappykittymeow.com
Kale is one of the smartest people I know

Racker Hacker
Major is always good for leet deetz