Using ppp/tun0 manually, how to trigger 'pf' automaticaly

Edwin L. Culp eculp at encontacto.net
Thu Apr 7 10:21:43 PDT 2005


Quoting Daniel Hartmeier <daniel at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>





More information about the freebsd-pf mailing list