Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 03:57:59 -0000
From:      DrumFire <dpphln@tin.it>
To:        pf4freebsd@freelists.org
Subject:   [pf4freebsd] Problem with pf and ng0 interface.
Message-ID:  <20031210184630.29a41d83.dpphln@tin.it>

next in thread | raw e-mail | index | archive | help
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 process=
ed.

How can I solve this problem with pf?

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

Bye.




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