[root@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@xxxxxxxxx> 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@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list