Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 1998 07:31:42 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Brandon Gillespie <brandon@roguetrader.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: PPP + FIREWALL == does not work 
Message-ID:  <199802030731.HAA12930@awfulhak.org>
In-Reply-To: Your message of "Mon, 02 Feb 1998 20:49:19 MST." <199802030349.UAA06218@roguetrader.com> 

next in thread | previous 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.

And what do you think happens to the diverted packets ?  Take a look 
beside the tun socket on the back of your machine.  There'll be a big 
pile of 0s and 1s on the floor.

Ppp has aliasing built in.  Just add the -alias switch.  It's all 
in the man page.

> Can anybody help?
> 
> -Brandon

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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