Userland PPP not deleting old IP on disconnect

Daniel O'Connor doconnor at gsoft.com.au
Tue Oct 14 20:10:26 PDT 2008


On Wednesday 15 October 2008 13:08:02 Mike Tancsa wrote:
> > 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)

Yep.

> You could always add to ppp.linkup something like
>
> pppoe:
>   ! /sbin/pfctl -Fnat -f /etc/pf.conf

Hmm.. I didn't realise you could delete NAT only state like that, I will give 
it a try!

(I've been doing pfctl -k $oldip)

Thanks.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20081015/e0bdd4f3/attachment.pgp


More information about the freebsd-stable mailing list