[pf4freebsd] Problem with pf and ng0 interface.

DrumFire dpphln at tin.it
Wed Sep 15 20:57:59 PDT 2004


Hi,

I've setup an PPTP VPN with mpd tools. Seems that all works fine,
but I have an ask:

I have in my pf.conf this rule:

pass in quick on { rl0,rl2,ng0 } proto tcp from $myIP to any keep state

If i try to load pf.conf with this rule, when mpd is not active, pf
give me a syntax error:

/usr/local/etc/pf.conf:14: unknow interface ng0

How can I load pf.conf also without have mpd program loaded?

Because I don't want load mpd at boot each time.

With ipfw2 if I add a rule with an interface that doesnt' exits, rule is loaded however and when interface became active, then the rule is processed.

How can I solve this problem with pf?

I'm using versione 2.00 of PF on a FreeBSD 5.1-RELEASE

Bye.




More information about the freebsd-pf mailing list