From owner-freebsd-questions Fri Jun 19 12:54:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22400 for freebsd-questions-outgoing; Fri, 19 Jun 1998 12:54:56 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mercury.jorsm.com (mercury.jorsm.com [207.112.128.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22377 for ; Fri, 19 Jun 1998 12:54:40 -0700 (PDT) (envelope-from jer@jorsm.com) Received: from localhost (jer@localhost) by mercury.jorsm.com (8.8.7/8.8.7) with SMTP id OAA22392; Fri, 19 Jun 1998 14:54:27 -0500 (CDT) Date: Fri, 19 Jun 1998 14:54:26 -0500 (CDT) From: Jeremy Shaffner To: Matthew Hagerty cc: Scott Mitchell , Muthukumar Ratty , freebsd-questions@FreeBSD.ORG Subject: Re: How to setup a Gateway. In-Reply-To: <3.0.3.32.19980619133908.03188cf8@wolfepub.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Jun 1998, Matthew Hagerty wrote: > At 12:19 PM 6/18/98 +0100, Scott Mitchell wrote: > >Muthukumar Ratty said: > >>Hi, > >> I have a basic question about freebsd networking. I couldnt > >>find the answer in the handbook. Could some one help me in this? > >> > >> How to set up a freebsd gateway (multihomed) that forwards packets > >>from one network to another (using routed)? > > > >Do you really need to run a routing daemon? If you just want to forward > >packets between two nets (ie between the bunch of machines in your house > >and the Internet) then all you need do is set gateway_enable="YES" in > >/etc/rc.conf. > > > > Scott > > *and* run natd unless all your machines have static IP addresses assigned > to them by your service provider. man natd for details. I just set it up > last night, works like a champ. > Userland PPP has the -alias option which will also perform IP masquerading. One less thing to worry about. -===================================================================- Jeremy Shaffner JORSM Internet Senior Technical Support Northwest Indiana's Premium jer@jorsm.com Internet Service Provider support@jorsm.com http://www.jorsm.com -===================================================================- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message