Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2009 05:47:09 +0100
From:      RW <>
Subject:   Re: How to get pf to wait for ng0
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 19 Sep 2009 22:30:14 -0500
"Sam Fourman Jr." <> 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: <>