Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2008 22:38:02 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Userland PPP not deleting old IP on disconnect
Message-ID:  <200810150238.m9F2cAWu007721@lava.sentex.ca>
In-Reply-To: <200810151059.58440.doconnor@gsoft.com.au>
References:  <200810092206.02362.doconnor@gsoft.com.au> <200810100036.m9A0aMCi078828@lava.sentex.ca> <200810101125.21261.doconnor@gsoft.com.au> <200810151059.58440.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 




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