From owner-freebsd-pf@FreeBSD.ORG Tue Dec 9 16:11:12 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65856106564A for ; Tue, 9 Dec 2008 16:11:12 +0000 (UTC) (envelope-from greg@bestnet.kharkov.ua) Received: from relay.bestnet.ua (relay.bestnet.ua [193.124.57.92]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6338FC08 for ; Tue, 9 Dec 2008 16:11:12 +0000 (UTC) (envelope-from greg@bestnet.kharkov.ua) Received: from relay.bestnet.ua (db.bestnet.ua [127.0.0.1]) by relay.bestnet.ua (Postfix) with ESMTP id D1339FB0066; Tue, 9 Dec 2008 17:48:08 +0200 (EET) Received: from greg.bestnet.kharkov.ua (greg.bestnet.kharkov.ua [80.92.224.11]) by relay.bestnet.ua (Postfix) with ESMTP id 1A22BFB0063; Tue, 9 Dec 2008 17:48:07 +0200 (EET) Message-ID: <493E9335.9020500@bestnet.kharkov.ua> Date: Tue, 09 Dec 2008 17:48:05 +0200 From: Gregory Edigarov User-Agent: Thunderbird 2.0.0.16 (X11/20080812) MIME-Version: 1.0 To: Leslie Jensen References: <493E82B3.5090002@eskk.nu> In-Reply-To: <493E82B3.5090002@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-pf@freebsd.org Subject: Re: Personal firewall with two interfaces X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 16:11:12 -0000 Leslie Jensen wrote: > Hello > > I'm running pf as my personal firewall on my laptop. > > I've got one ethernet and one wifi interface, both are configured > during boot. > > I usually make a change pf.conf where I change > > # ext_if="em0" > ext_if="rum0" > > or vice versa. > > My problem is that if the "wrong" interface is active in pf.conf > there'll be some waiting for ntpd sshd and bsdstats to time out. > > I would like to configure pf so that both interfaces are treathed the > same, only one active interface at the time, but to remove the need > for a manual change of pf.conf at startup. seems like you'll be done by using the rules without an interface pointer... -- With best regards, Gregory Edigarov