Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2007 18:40:47 +0300
From:      "Alexey Karagodov" <karagodov@gmail.com>
To:        Volker <volker@vwsoft.com>
Cc:        freebsd-stable@freebsd.org, Pete French <petefrench@ticketswitch.com>
Subject:   Re: impossible rc.d ordering problem with stf and pf ?
Message-ID:  <c7aff4ef0701280740y27bb1bdeoc95c6c19bca6ed4b@mail.gmail.com>
In-Reply-To: <45BC9E03.6020506@vwsoft.com>
References:  <E1HAsD1-0004VZ-3B@dilbert.ticketswitch.com> <45BC9E03.6020506@vwsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
or just make a symlink from /etc/rc.d/pf to /usr/local/etc/rc.d/pf
i solved this way problem with FQDN in pf rules


2007/1/28, Volker <volker@vwsoft.com>:
>
> On 12/23/-58 20:59, Pete French wrote:
> > Am trying to solve a little problem with 'pf'. I have a ruleset which
> > has some firewall rules for the IPv6 interface stf0. This works fine,
> > except when I rreboot the machine, as the pf script is run before the
> > network_ipv6 script - so stf0 does not exist. but I cannot work out
> > how to arrange for stf0 to be created before the pf script is run - as
> > network_ipv6 requires 'routing', but the pf script says it must be run
> > before 'routing', if I am reading the 'REQUIRE' and 'BEFORE' lines
> > correctly.
>
> Pete,
>
> I've played with that problems a few times. It's not a perfect
> solution, but you may create your own pf loading script and place it
> in /usr/local/etc/rc.d/. To make sure it's running late in startup,
> use a proper # REQUIRE: line.
>
> That way (and that what makes me saying it's not perfect) pf load
> script /etc/rc.d/pf is being run but aborts loading pf rules in
> first place and later (when rc is working though
> /usr/local/etc/rc.d/) pf rules are loaded by your custom script.
>
> HTH,
>
> Volker
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



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