/etc/sysconfig/iptables does not load on reboot
dleangen at canada.com
Sat Jul 2 07:49:32 CEST 2005
Thank you. But that's exactly what I'm doing.
I am absolutely positive that the correct script is saved to
/etc/sysconfig/iptables. I tried with all of the following:
- service iptables save
If I use 'iptables-restore /etc/sysconfic/iptables' after reboot, then the
correct script gets loaded (which also shows that the correct values are in
My init script IS indeed getting run at system startup.
So, what I can't figure out is why the script in /etc/sysconfig/iptables is
not being loaded at system startup.
> -----Original Message-----
> From: tahmeed [mailto:qs.tahmeed at gmail.com]
> Sent: 2 July 2005 14:44
> To: dleangen at canada.com
> Cc: netfilter at lists.netfilter.org
> Subject: Re: /etc/sysconfig/iptables does not load on reboot
> hello David,
> after u configure iptables - directly or via a script issue
> iptables-save > /etc/sysconfig/iptables
> then ur conf will be saved in the mentioned file & be available while
> restarting the service or reboot.
> else the system will use the default conf that have been set up during
> the installation of the system.
> "iptables-restore" :: resets the conf to the system default which
> means u lost the conf u just did.
> On 7/2/05, David Leangen <dleangen at canada.com> wrote:
> > Hello!
> > On FC3, my file /etc/sysconfig/iptables is not being loaded on
> reboot. For
> > some reason, my iptables is being loaded with some kind of
> default values.
> > I thought that the file /etc/sysconfig/iptables was supposed to
> be loaded
> > via iptables-restore (and indeed this appears to be so according to the
> > startup script in /etc/rc.d/init.d/iptables). Is there
> something that I am
> > not understanding correctly?
> > Thank you!
> Happy! If not now never
More information about the netfilter