Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "David Leangen" <dleangen@canada.com>
To: tahmeed <qs.tahmeed@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: RE: /etc/sysconfig/iptables does not load on reboot
Date: Sat, 2 Jul 2005 14:49:32 +0900	[thread overview]
Message-ID: <NEBBKBPLMLNABNADCIPAOECFBDAB.dleangen@canada.com> (raw)
In-Reply-To: <ab5428f705070122446b6f9966@mail.gmail.com>


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@gmail.com]
> Sent: 2 July 2005 14:44
> To: dleangen@canada.com
> Cc: netfilter@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.
> 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@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



  reply	other threads:[~2005-07-02  5:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-02  2:53 /etc/sysconfig/iptables does not load on reboot David Leangen
2005-07-02  5:44 ` tahmeed
2005-07-02  5:49   ` David Leangen [this message]
     [not found] <Pine.NEB.4.62.0507020558110.8849@ukato.freeshell.org>
2005-07-02  6:32 ` David Leangen
     [not found] <Pine.NEB.4.62.0507020637440.20364@ukato.freeshell.org>
2005-07-02  6:43 ` David Leangen
2005-07-02  7:35   ` tahmeed
2005-07-02  7:53     ` David Leangen
2005-07-02  8:35       ` Navneet Choudhary
2005-07-02  8:49         ` David Leangen
2005-07-02  8:39   ` /dev/rob0
2005-07-02  8:49     ` David Leangen
2005-07-04 11:13       ` David Leangen
2005-07-04 13:39         ` /dev/rob0
2005-07-04 14:17           ` David Leangen
2005-07-04 14:37             ` /dev/rob0
2005-07-04 14:54               ` David Leangen
2005-07-09 16:20                 ` David Leangen
2005-07-10  2:40                   ` curby .
2005-07-10 10:06                     ` David Leangen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NEBBKBPLMLNABNADCIPAOECFBDAB.dleangen@canada.com \
    --to=dleangen@canada.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=qs.tahmeed@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox