From owner-freebsd-questions Thu Mar 9 8:40:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fedex.is.co.za (fedex.is.co.za [196.4.160.243]) by hub.freebsd.org (Postfix) with ESMTP id 9143737B74C for ; Thu, 9 Mar 2000 08:40:12 -0800 (PST) (envelope-from marcs@draenor.org) Received: from draenor.org (c3-ndf-101.dial-up.net [196.34.159.101]) by fedex.is.co.za (8.9.3/8.9.3) with ESMTP id SAA40623; Thu, 9 Mar 2000 18:39:36 +0200 (SAST) Received: by draenor.org (Postfix, from userid 1332) id DD3D749C1; Thu, 9 Mar 2000 18:39:09 +0200 (SAST) Date: Thu, 9 Mar 2000 18:39:09 +0200 From: Marc Silver To: Jeremy Falcon Cc: freebsd-questions@freebsd.org Subject: Re: gateway Message-ID: <20000309183909.A4586@draenor.org> References: <00030814551000.01433@local.imputek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <00030814551000.01433@local.imputek.com>; from jeremy@intersurf.com on Wed, Mar 08, 2000 at 02:37:02PM -0600 X-Operating-System: FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey there, I think they option you're looking for is -nat in the pppd. This allows Network Address Translation and should allow your windows box through the gateway. Cheers, Marc On Wed, Mar 08, 2000 at 02:37:02PM -0600, Jeremy Falcon wrote: > I'm running FreeBSD 3.3-RELEASE, and I'm trying to get it to act as a gateway > for my Windows 2000 box. I can get online fine from my FreeBSD using Kernel > PPP (pppd). > > I already have gateway_enable="YES" in /etc/rc.conf but it still doesn't work. > My Windows 2000 box has the IP of my FreeBSD box for it's default gateway > for the LAN connection. The Pedantic PPP Primer on FreeBSD.org says that I > should use 'ppp -alias' to allow this, but that is for user PPP. > > Also, I used ms_dns in /etc/ppp/options (using my ISPs DNS servers)... > > ms_dns "216.115.128.33" > ms_dns "216.115.128.10" > > ... I'm about to try it without the quotes > > As far as I'm aware the LAN is ok, because I can telnet, ftp, ping, etc. to > each computer, but my Windows box can't see the outside world when my FreeBSD > box is online. > > Could someone please guide me in the right direction? > > Thanks, > > Jeremy L. Falcon > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message