Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2007 19:25:12 -0500
From:      "The Admiral" <xxadmiralxx@gmail.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: rc.firewall script not running at system boot
Message-ID:  <66f7e7af0702071625m7e5b98dbo76c8068ea936ed23@mail.gmail.com>
In-Reply-To: <1170395697.21151.18.camel@tick.tock>
References:  <66f7e7af0702011304m61385124r5876e0af3d767a55@mail.gmail.com> <002401c74657$6b169690$0205000a@white> <66f7e7af0702011611v155a3c2h6a26152d7faf9796@mail.gmail.com> <000001c74663$212a10a0$0205000a@white> <66f7e7af0702011759t1b4ba6a8jb988d68fe5595601@mail.gmail.com> <1170395697.21151.18.camel@tick.tock>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/2/07, Josh <josh@kenoath.org> wrote:
>
> On Thu, 2007-02-01 at 20:59 -0500, The Admiral wrote:
> > On 2/1/07, Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
> > wrote:
> >
> > I tried executing "/etc/rc.d/ipfw restart" and sure enough, it showed
> that
> > one of my firewall rules was mistakenly entered as "addpass" while it
> > should've been "add pass".  I corrected the typo, but the strange thing
> is,
> > when I reboot, it still doesn't work!  Running the firewall command
> manually
> > works without error, but it isn't executed at boot.. Any other ideas? I
> was
> > sure that the typo was the problem, unfortunately that's not the
> case.  Oh
> > well, at least it seems I'm getting closer to a solution!  Thanks,
>
> I have always written my own firewall rules into their own shell script
> and launch it from from /etc/rc.local
>
> You could just add
>         /etc/rc.firewall client
> to /etc/rc.local and do away with any of the traditional stuff in
> rc.conf


well, I ended up moving all my firewall commands from /etc/rc.firewall into
rc.local like you suggested and it works fine now..  Strange that it
suddenly stopped working from inside rc.firewall.. I even tried disabling
pretty much everything from rc.conf except for the pertinent firewall lines,
and it still wouldn't execute any of my firewall commands.

Oh well, at least it's working now.. If anyone has any other suggestions of
what to try, please let me know, otherwise I'll just leave it at that.
Thanks,

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66f7e7af0702071625m7e5b98dbo76c8068ea936ed23>