Date: Thu, 7 Apr 2005 16:27:09 +0200 From: Daniel Hartmeier <daniel@benzedrine.cx> To: "O. Hartmann" <ohartman@mail.uni-mainz.de> Cc: freebsd-pf@freebsd.org Subject: Re: Using ppp/tun0 manually, how to trigger 'pf' automaticaly Message-ID: <20050407142709.GA32520@insomnia.benzedrine.cx> In-Reply-To: <42553F80.50503@mail.uni-mainz.de> References: <42553F80.50503@mail.uni-mainz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Daniel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050407142709.GA32520>