From owner-freebsd-questions Mon Jul 8 6:53:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCE3D37B400 for ; Mon, 8 Jul 2002 06:53:46 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5870243E09 for ; Mon, 8 Jul 2002 06:53:46 -0700 (PDT) (envelope-from moti@flncs.com) Received: from user-119aekg.biz.mindspring.com ([66.149.58.144] helo=ns.flncs.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17RYxV-0003xj-00; Mon, 08 Jul 2002 09:53:45 -0400 Received: by ns.flncs.com (Postfix, from userid 1000) id 033AB559D; Mon, 8 Jul 2002 09:57:57 -0400 (EDT) Date: Mon, 8 Jul 2002 09:57:56 -0400 From: Moti Levy To: Brossin Pierrick Cc: freebsd-questions@freebsd.org Subject: Re: Server and Gateway Message-ID: <20020708135756.GA5971@flncs.com> Mail-Followup-To: Moti Levy , Brossin Pierrick , freebsd-questions@freebsd.org References: <1026132858.3d298b7a100ed@wxp.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1026132858.3d298b7a100ed@wxp.homeip.net> User-Agent: Mutt/1.4i 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, Jul 08, 2002 at 02:54:18PM +0200, Brossin Pierrick wrote: I'll try ... > I saw: > > - gateway_enable="YES" will turn on ip_forwarding between your interfaces ( you need this to make the box a "router" ) > - natd_enable="YES" will turn on the natd , which is a daemon that does not , if you want that you need to configure it . > - ppp_nat=YES this will add the -nat switch to pppd and will turn on its nat feature. so if you only want simple nat ( and you're using ppp for example dsl ) you need: gateway_enable="YES" ppp_nat=YES if you dont use ppp ( for example cable modem and dhcp ) you'll probably need gateway_enable="YES" natd_enable="YES" you can also use natd for ppp connections and disable ppp_nat , this might be the case if you want to have port forwarding and such. hope this clears things up a bit . Moti > there is also the ppp.conf way.. and it seems that there are other ways to do > it.. > > If someone could explain me a little bit in which direction I have to go it > would be very nice. > > Maybe the ppp.conf one is better than rc.conf one .. I dunno. > > Thanx > > ---------- > Unix, Y2k compliant since 1970 ! > FreeBSD - opening computers from closed Windows > > > > > 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