Iptables not saving...

CodeHeads codeheads at gmail.com
Sat Apr 22 17:51:30 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?
> 
> -Devon

This might be the issue:
/etc/sysconfig/iptables-config
IPTABLES_SAVE_ON_STOP=YES
IPTABLES_SAVE_ON_RESTART=YES

-- 
Best regards,
Will
Linux Command Site: http://code-heads.com/commands
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060422/cf20d1d9/attachment-0002.bin 


More information about the users mailing list