Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2008 19:05:53 +0000
From:      Jim Bow <jimbow@darq.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: pf.conf for variable interfaces
Message-ID:  <47ACA811.3000104@darq.net>
In-Reply-To: <47AC5EE3.1010003@locolomo.org>
References:  <20080208133822.GA46647@demeter.hydra> <47AC5EE3.1010003@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Erik Norgaard wrote:
> Chad Perrin wrote:
>> I'm setting up PF on a FreeBSD laptop that sometimes uses the wireless
>> device (iwi0) as its external interface, and sometimes uses the RJ-45
>> ethernet device (bge0) as its external interface.  Unfortunately, I
>> haven't figured out yet how to make that happen.
> 
> How about this:
> 
> ext_ifs = "{" iwi0 bge0 "}"
> block in quick on ext_ifs all
> pass out quick on ext_ifs all keep state
> ...

This is nice, but any ideas how to do this if the wireless interface 
is only present some of the time, ie its a pcmcia card?


JimBow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47ACA811.3000104>