Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2000 12:48:25 -0400
From:      Eric Ogren <eogren@earthlink.net>
To:        Bhishan Hemrajani <bhishan@cytosine.dhs.org>
Cc:        davew@pmburg.co.za, freebsd-questions@FreeBSD.ORG
Subject:   Re: IpMasqing under FBSD 4.0 using NATD ? :)
Message-ID:  <20000408124825.A75961@earthlink.net>
In-Reply-To: <200004081556.e38Fut318347@cytosine.dhs.org>; from bhishan@cytosine.dhs.org on Sat, Apr 08, 2000 at 08:56:55AM -0700
References:  <00040817501600.00321@dave.dgn> <200004081556.e38Fut318347@cytosine.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi-

Actually, you want to:

* Make sure gateway_enable="YES" is present in your /etc/rc.conf
* run ppp -nat -auto <ISP entry>

ppp -auto will make FreeBSD dial out on demand, but it will not enable
Network Address Translation.


On Sat, Apr 08, 2000 at 08:56:55AM -0700, Bhishan Hemrajani wrote:
> When you're using ppp, it's usually not a good idea to use natd.
> 
> What you should do is, start ppp with the "-auto" parameter.
> That will make it act like a gateway. The next thing to do is
> to setup the other computers to have their gateway set to
> 10.0.0.1.
> 
> If they are FreeBSD, then, put this line in /etc/rc.conf:
> defaultrouter="10.0.0.1"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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