Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 1998 20:49:19 -0700 (MST)
From:      Brandon Gillespie <brandon@roguetrader.com>
To:        questions@FreeBSD.ORG
Subject:   PPP + FIREWALL == does not work
Message-ID:  <199802030349.UAA06218@roguetrader.com>

next in thread | raw e-mail | index | archive | help
I am working my way towards having an IP Masquerading system, using 
client ppp, firewall routing and natd.  I have recompiled with the firewall
option, and the divert option.  Before I recompiled the kernel ppp was
*fully functional*, that is I could just 'ppp -auto myserv' and it'd
do its thing without problem.  Now, if I do this nothing happens.  If
I manually run ppp and connect, it dials in and receives the PPP info
and drops me back to the ppp command prompt--but it never capitalizes the
'ppp' in the prompt to let me know it is fully functional.  I'm assuming
the firewall code is throwing a wrench into things somewhere, but I cant
seem to figure out where.  I am running 2.2.5-R, from the NatD manpages
I generated a new firewall type of 'divert' to /etc/rc.conf, which is
basically:

    $fwcmd add divert natd all from any to any via tun0
    $fwcmd add pass all from any to any

And when I boot--it does run correctly.  I am not running natd yet.

Can anybody help?

-Brandon



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