Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 22:47:30 -0700
From:      Doug Barton <DougB@gorean.org>
To:        Joel Eusebio <joel@tilapia.pang.pworld.net.ph>
Cc:        Christoph Sold <so@server.i-clue.de>, freebsd-questions@FreeBSD.ORG
Subject:   Re: gateway
Message-ID:  <39617A72.6143F9D3@gorean.org>
References:  <Pine.LNX.3.95.1000704010153.31540A-100000@tilapia.pang.pworld.net.ph>

next in thread | previous in thread | raw e-mail | index | archive | help
Joel Eusebio wrote:
> 
> I just want my FreeBSD box to be a gateway to the internet. I've set
> firewall_type to "open" to avoid any kind of restrictions but when I do a
> traceroute from one of my workstations who's gateway is the freebsd box I
> get all * * *. I have disabled natd since I won't be needing translation
> coz all the IP's I'm using are live. I've checked the
> /etc/defaults/rc.conf file and copied some of(what I think are important)
> to the /etc/rc.conf file but still the Freebsd box won't act as a gateway.
> What did I miss??? Thanks for your support.

	Did you reboot after you put the gateway option in your /etc/rc.conf?
If not, it wouldn't have been read yet. You can look in /etc/rc.network
to see what the rc.conf option would do. In this case, all you have to
do is:

sysctl -w net.inet.ip.forwarding=1

as root.

Good luck,

Doug
-- 
        "Live free or die"
		- State motto of my ancestral homeland, New Hampshire

	Do YOU Yahoo!?


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?39617A72.6143F9D3>