RES: Rule doubt

David Verzolla dverzolla at
Thu Sep 27 11:31:59 PDT 2007

Hi Michael,

When I do this, the PF changes de interface to IP.


IN pf.conf:
pass in quick on $vlan10 inet from any to $ext_if

With pfctl -sr:
pass in quick on vlan10 inet from any to 200.x.x.x


-----Mensagem original-----
De: Michael K. Smith - Adhost [mailto:mksmith at] 
Enviada em: quinta-feira, 27 de setembro de 2007 13:59
Para: David Verzolla; freebsd-pf at
Assunto: RE: Rule doubt

Hello David:

> -----Original Message-----
> From: owner-freebsd-pf at [mailto:owner-freebsd-
> pf at] On Behalf Of David Verzolla
> Sent: Thursday, September 27, 2007 9:25 AM
> To: freebsd-pf at
> Subject: Rule doubt
> Hi All,
> Its possible creates a rule that can match all the traffic designated
> to an specific interface?
> Example:
> pass in on $vlan10 from <vlan10> to (the interface, not the address)
> $ext_if
> The $ext_if:network doesn't works for me.
Did you try specifying the interface name instead?  As an example:


or bge0 or whatever.



More information about the freebsd-pf mailing list