Iptables not saving...

Jeff Vian jvian10 at charter.net
Sun Apr 23 04:49:32 UTC 2006


On Sat, 2006-04-22 at 13:41 -0400, Devon Harding wrote:
> I have a cron.hourly script set up to save my iptables chains.  When I
> reboot, the chain is empty & /etc/sysconfig/iptables contains the
> default settings.
> 
> Here is /etc/cron.hourly/iptables.cron:
> 
> #!/bin/sh 
> /etc/init.d/iptables save >/dev/null 2>&1
> 
> What causes this to revert to default settings?
> 
What user is running this script?
It would have to be root in order for the contents
of /etc/sysconfig/iptables to be written.

> -Devon
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the fedora-list mailing list