Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 1999 16:02:51 -0700
From:      "George Shapiro" <gshapiro@pps.k12.or.us>
To:        krinsky+freebsd@bantha.org
Cc:        freebsd-questions@freeBSD.ORG, jonc@pinnacle.co.nz
Subject:   Re: how to set up routing & natd with freebsd 3.1 
Message-ID:  <3.0.6.32.19990831160251.007a3a40@pps.k12.or.us>

next in thread | raw e-mail | index | archive | help
>>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.19990831160251.007a3a40>