Userland PPP not deleting old IP on disconnect
Mike Tancsa
mike at sentex.net
Tue Oct 14 19:38:14 PDT 2008
At 08:29 PM 10/14/2008, Daniel O'Connor wrote:
>On Friday 10 October 2008 11:25:19 Daniel O'Connor wrote:
> > > Default: Enabled if -nat is specified. This option
> > > simply tells ppp to add new interface addresses to the interface
> > > rather than replacing them. The option can only be enabled if
> > > network address translation is enabled (``nat enable yes'').
> >
> > I've added that and nat enable no (even though it was not enabled) and
> > I'll see how I go.
>
>Now it doesn't appear on tun0 but I still get pf adding states for the old
>IP(!).
>
>Obviously this breaks connectivity for NAT machines :)
>
>I am going to update to RELENG_7 RSN and I will see if that helps. It is very
>odd it only just started doing it though..
do you have tun0 in () on your nat statement ?
eg.
nat on tun0 from 192.168.23.0/24 to any -> (tun0)
You could always add to ppp.linkup something like
pppoe:
! /sbin/pfctl -Fnat -f /etc/pf.conf
---Mike
More information about the freebsd-stable
mailing list