From owner-freebsd-pf@FreeBSD.ORG Thu Apr 7 17:21:43 2005 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17DFE16A4CE for ; Thu, 7 Apr 2005 17:21:43 +0000 (GMT) Received: from mail.bosquedeniebla.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EDC743D53 for ; Thu, 7 Apr 2005 17:21:42 +0000 (GMT) (envelope-from eculp@encontacto.net) Received: from dsl-200-78-46-123.prod-infinitum.com.mx (dsl-200-78-46-123.prod-infinitum.com.mx [200.78.46.123]) by mail.bosquedeniebla.com with esmtp; Thu, 07 Apr 2005 12:21:40 -0500 id 00095CA3.42556C24.00016C6B Received: from localhost (localhost [127.0.0.1]) (uid 80) by dsl-200-78-46-123.prod-infinitum.com.mx with local; Thu, 07 Apr 2005 12:21:39 -0500 Received: from localhost.encontacto.net (localhost.encontacto.net [127.0.0.1]) by mail.encontacto.net (Horde MIME library) with HTTP for ; Thu, 07 Apr 2005 12:21:39 -0500 Message-ID: <20050407122139.qv4xzedarkwwooow@mail.encontacto.net> Date: Thu, 07 Apr 2005 12:21:39 -0500 From: "Edwin L. Culp" To: freebsd-pf@freebsd.org References: <42553F80.50503@mail.uni-mainz.de> <20050407142709.GA32520@insomnia.benzedrine.cx> In-Reply-To: <20050407142709.GA32520@insomnia.benzedrine.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Subject: Re: Using ppp/tun0 manually, how to trigger 'pf' automaticaly X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 07 Apr 2005 17:21:43 -0000 Quoting Daniel Hartmeier : > On Thu, Apr 07, 2005 at 04:11:12PM +0200, O. Hartmann wrote: > >> I use the ppp utility to configure and setup a line (at the moment no >> other way possible). How can I trigger 'pfctl -F all -f /etc/pf.conf' >> after the line has been setup to make pf working with the tun0 assigned IP? >> >> Or are there other way doing so? > > You can use 'from (tun0)', where the interface name is put in > parentheses, and pf will automatically note when that interface changes > its IP address, without the need to reload the ruleset. Thanks, Daniel. I'm going to try it this afternoon. ed > > Daniel > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >