[CentOS] Secure iptables settings

Filipe Brandenburger filbranden at gmail.com
Wed May 28 04:33:49 UTC 2008


On Tue, May 27, 2008 at 9:33 PM, Joseph L. Casale
<JCasale at activenetwerx.com> wrote:
> Is it feasible to write protect the /etc/sysconfig/iptables file so nothing
> can overwrite it, such that at least the config is persistent through a
> reboot? If not, is there a better way to accomplish this?

chmod a=r /etc/sysconfig/iptables   ???
chattr +i /etc/sysconfig/iptables       ???

I really didn't understand what you are trying to accomplish. Please
give more details, perhaps explain what problem are you trying to
solve.

Filipe



More information about the CentOS mailing list