How to get pf to wait for ng0

RW rwmaillists at
Sun Sep 20 04:47:29 UTC 2009

On Sat, 19 Sep 2009 22:30:14 -0500
"Sam Fourman Jr." <sfourman at> 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. 

More information about the freebsd-questions mailing list