Iptables not saving...

Devon Harding devonharding at gmail.com
Sat Apr 22 18:37:05 UTC 2006


Tried that.  It saves when I stop and start the service, but when I reboot,
its blank.  This is what I have...

[root at mars ~]# cat /etc/sysconfig/iptables-config
IPTABLES_MODULES=""
IPTABLES_MODULES_UNLOAD="yes"
IPTABLES_SAVE_ON_STOP="yes"
IPTABLES_SAVE_ON_RESTART="yes"
IPTABLES_SAVE_COUNTER="yes"
IPTABLES_STATUS_NUMERIC="yes"
IPTABLES_STATUS_VERBOSE="no"
IPTABLES_STATUS_LINENUMBERS="yes"

On 4/22/06, CodeHeads <codeheads at gmail.com> wrote:
>
> 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
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQBESm0ifw3TK8jhZrsRAvGPAJ97y9nsjIX25cZhDFw6W9JSWvrAtQCg3ZZT
> 3GljHoRZCrRL0bCXmRpAmwQ=
> =QJ7n
> -----END PGP SIGNATURE-----
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20060422/4411254c/attachment-0002.html 


More information about the users mailing list