From owner-freebsd-questions Fri Jun 19 10:34:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA27558 for freebsd-questions-outgoing; Fri, 19 Jun 1998 10:34:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from firebat.wolfepub.com (firebat.wolfepub.com [206.250.193.44]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA27418 for ; Fri, 19 Jun 1998 10:33:29 -0700 (PDT) (envelope-from matthew@wolfepub.com) Received: from ricecake.fastnet0.net (niu-ppp143.triton.net [209.172.4.143]) by firebat.wolfepub.com (8.9.0/8.9.0) with SMTP id NAA02283; Fri, 19 Jun 1998 13:30:24 -0400 (EDT) Message-Id: <3.0.3.32.19980619133908.03188cf8@wolfepub.com> X-Sender: matthew@wolfepub.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Fri, 19 Jun 1998 13:39:08 -0400 To: Scott Mitchell , Muthukumar Ratty From: Matthew Hagerty Subject: Re: How to setup a Gateway. Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199806181119.MAA09749@hotpoint.dcs.qmw.ac.uk> References: <108331713@toto.iv> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message