Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Apr 2005 12:21:39 -0500
From:      "Edwin L. Culp" <eculp@encontacto.net>
To:        freebsd-pf@freebsd.org
Subject:   Re: Using ppp/tun0 manually, how to trigger 'pf' automaticaly
Message-ID:  <20050407122139.qv4xzedarkwwooow@mail.encontacto.net>
In-Reply-To: <20050407142709.GA32520@insomnia.benzedrine.cx>
References:  <42553F80.50503@mail.uni-mainz.de> <20050407142709.GA32520@insomnia.benzedrine.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Daniel Hartmeier <daniel@benzedrine.cx>:

> 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"
>





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