From owner-freebsd-questions Tue Aug 31 16: 3:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from qef.pps.k12.or.us (qef.pps.k12.or.us [159.191.7.50]) by hub.freebsd.org (Postfix) with ESMTP id 48FD914C97 for ; Tue, 31 Aug 1999 16:03:44 -0700 (PDT) (envelope-from gshapiro@pps.k12.or.us) Received: from grant142 ([159.191.33.175]) by qef.pps.k12.or.us (Netscape Messaging Server 3.54) with SMTP id AAA1A1; Tue, 31 Aug 1999 16:01:26 -0700 Message-Id: <3.0.6.32.19990831160251.007a3a40@pps.k12.or.us> X-Sender: gshapiro@pps.k12.or.us X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 31 Aug 1999 16:02:51 -0700 To: krinsky+freebsd@bantha.org From: "George Shapiro" Subject: Re: how to set up routing & natd with freebsd 3.1 Cc: freebsd-questions@freeBSD.ORG, jonc@pinnacle.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>On Mon, Aug 30, 1999 at 03:17:12PM -0700, George Shapiro >>(gshapiro@pps.k12.or.us) wrote: >> Here are some more clues... I am actually just trying to route off a group >> of computers on a LAN which has a dedicated gateway (a public high school). >> Since there are only a small number of machines in my (hopefull) subnet, i >> am doing static routing... i.e. >> >Are both interfaces properly ifconfigged? > >My machine has two interfaces, one of which goes to the outside world >and the other of which goes to a small private network. The following >is an excerpt from my /etc/rc.conf: > >ifconfig_fxp0="inet 208.241.154.117 netmask 255.255.255.192" >defaultrouter="208.241.154.66" >network_interfaces="fxp0 ed1 lo0" >ifconfig_ed1="inet 192.168.0.1 netmask 255.255.0.0" >firewall_enable="YES" >firewall_type="open" >gateway_enable="YES" >natd_enable="YES" >natd_interface="fxp0" Thanks, things are working now... my interfaces were 'ifconfigged' correctly, so I am going to assume it was the addition of firewall_type="open" natd_enable="YES" natd_interface="fxp0" to rc.conf that did it. I noticed that now ipfw is configured to do something with loopback. I say something as I don't know a firewall config from a hole in my head; which is to say that I'm learning... I don't know what the two natd_ additions do? Thanks again. gshapiro.tech.coor.grant.hs portland.or.us.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message