RE: /etc/sysconfig/iptables does not load on reboot

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

 



Dear Tahmeed,

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:

 - iptables-save
 - 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
/etc/sysconfig/iptables).

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.


Any ideas?

Thank you!!




> -----Original Message-----
> From: tahmeed [mailto:qs.tahmeed@xxxxxxxxx]
> Sent: 2 July 2005 14:44
> To: dleangen@xxxxxxxxxx
> Cc: netfilter@xxxxxxxxxxxxxxxxxxx
> 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.
> and
>
> "iptables-restore" :: resets the conf to the system default which
> means u lost the conf u just did.
>
> thanks.
>
> On 7/2/05, David Leangen <dleangen@xxxxxxxxxx> 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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux