[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Iptables not saving...



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]