From owner-freebsd-questions Mon Apr 15 4:46:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from oxe.cs.umu.se (oxe.cs.umu.se [130.239.40.14]) by hub.freebsd.org (Postfix) with ESMTP id 51C7537B404 for ; Mon, 15 Apr 2002 04:46:31 -0700 (PDT) Received: from bark.cs.umu.se (rfc1413 says tdv94ped@bark.cs.umu.se [130.239.40.185]) by oxe.cs.umu.se (8.8.8/8.8.8) with ESMTP id NAA02606; Mon, 15 Apr 2002 13:43:14 +0200 (MET DST) Date: Mon, 15 Apr 2002 13:43:14 +0200 (MEST) From: Paul Everlund To: Peter Leftwich Cc: Idar Tollefsen , FreeBSD Questions Subject: Re: ADSL gateway - how to set up? In-Reply-To: <20020415035713.F89105-100000@earl-grey.cloud9.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 15 Apr 2002, Peter Leftwich wrote: > On Mon, 15 Apr 2002, Idar Tollefsen wrote: > > Hello, I have a machine running FreeBSD 4.5 STABLE. This machine has > > two NICs in it, one connected to the internal LAN and one connected to > > a ADSL modem (I'm using PPPoE). > > I've successfully managed to set them up so that the FreeBSD machine > > has access to the Internet, that works flawlessly, but I'm not able to > > get this machine to act as a gateway for other computers on my > > network. > > For the time being, internal IP addresses are used, but real once will > > be put in place in the not so distant future. > > I've done the following: > > > > rc.conf: > > PPP_NAT="YES" > > ENABLE_GATWAY="YES" > > > > ppp.conf: > > nat enable yes > > > > If you have ADSL, why then are you using ppp.conf? Why not use dhclient > (DHCP, or set static values)? Some ADSL ISP:s uses PPPoE (Point-to-Point-Protocol over Ethernet). If that's the case, then dhclient will not work. > -- > Peter Leftwich > President & Founder > Video2Video Services > Box 13692, La Jolla, CA, 92039 USA > +1-413-403-9555 Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message