From owner-freebsd-questions Sat Apr 8 9:47:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id 1611437B5FE for ; Sat, 8 Apr 2000 09:47:48 -0700 (PDT) (envelope-from eogren@earthlink.net) Received: from rod.darktech.org (ip22.cambridge2.ma.pub-ip.psi.net [38.32.112.22]) by merlin.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id JAA21807; Sat, 8 Apr 2000 09:47:42 -0700 (PDT) Received: by rod.darktech.org (Postfix, from userid 1001) id 986CC1E6; Sat, 8 Apr 2000 12:48:25 -0400 (EDT) Date: Sat, 8 Apr 2000 12:48:25 -0400 From: Eric Ogren To: Bhishan Hemrajani Cc: davew@pmburg.co.za, freebsd-questions@FreeBSD.ORG Subject: Re: IpMasqing under FBSD 4.0 using NATD ? :) Message-ID: <20000408124825.A75961@earthlink.net> References: <00040817501600.00321@dave.dgn> <200004081556.e38Fut318347@cytosine.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200004081556.e38Fut318347@cytosine.dhs.org>; from bhishan@cytosine.dhs.org on Sat, Apr 08, 2000 at 08:56:55AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi- Actually, you want to: * Make sure gateway_enable="YES" is present in your /etc/rc.conf * run ppp -nat -auto 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