From owner-freebsd-questions@FreeBSD.ORG Fri Feb 8 19:05:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA86616A418 for ; Fri, 8 Feb 2008 19:05:56 +0000 (UTC) (envelope-from jimbow@darq.net) Received: from farnborough.darq.net (fab.darq.net [82.136.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id 64F1D13C469 for ; Fri, 8 Feb 2008 19:05:55 +0000 (UTC) (envelope-from jimbow@darq.net) Received: from localhost (localhost [127.0.0.1]) by farnborough.darq.net (Postfix) with ESMTP id 1C9481D0FA for ; Fri, 8 Feb 2008 19:06:15 +0000 (GMT) X-Virus-Scanned: amavisd-new at darq.net Received: from farnborough.darq.net ([127.0.0.1]) by localhost (farnborough.darq.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jd7MxU+1QKgt for ; Fri, 8 Feb 2008 19:06:10 +0000 (GMT) Received: from troop.darq.net (hackney.darq.net [78.86.112.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zygis@darq.net) by farnborough.darq.net (Postfix) with ESMTP id 3EB9E1D010 for ; Fri, 8 Feb 2008 19:06:05 +0000 (GMT) Message-ID: <47ACA811.3000104@darq.net> Date: Fri, 08 Feb 2008 19:05:53 +0000 From: Jim Bow User-Agent: Thunderbird 2.0.0.9 (X11/20080120) MIME-Version: 1.0 To: FreeBSD Questions References: <20080208133822.GA46647@demeter.hydra> <47AC5EE3.1010003@locolomo.org> In-Reply-To: <47AC5EE3.1010003@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pf.conf for variable interfaces X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 19:05:56 -0000 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