Using ppp/tun0 manually, how to trigger 'pf' automaticaly
Daniel Hartmeier
daniel at benzedrine.cx
Thu Apr 7 07:27:12 PDT 2005
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
More information about the freebsd-questions
mailing list