Date: Sun, 20 Sep 2009 05:47:09 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: How to get pf to wait for ng0 Message-ID: <20090920054709.0d8d9330@gumby.homeunix.com> In-Reply-To: <11167f520909192030g7417c27as8555f7c8fcb8ac4a@mail.gmail.com> References: <11167f520909192030g7417c27as8555f7c8fcb8ac4a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Sep 2009 22:30:14 -0500 "Sam Fourman Jr." <sfourman@gmail.com> wrote: > Hello list, > > I am trying to use FreeBSD 8 RC1 to setup L2 tunnels via mpd5. > My problem is the pf.conf file is never parsed because ng0 does not > exist yet on startup > > ng0 is this case is DSL PPPoE to our local telco for internet access. > after the DSL dials up (via mpd5) if I do pfctl -d && pfctl -e -f > /etc/pf.conf everything works as expected. > > What is the best way to get pf to wait and parse the ruleset until > after ng0 exists? Take a look at what /etc/rc.d/ppp does Probably you need a script that runs after ng0 comes up and does something similar.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090920054709.0d8d9330>