Date: Tue, 4 Jul 2000 00:58:41 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: Joel Eusebio <joel@tilapia.pang.pworld.net.ph> Cc: Doug Barton <DougB@gorean.org>, Christoph Sold <so@server.i-clue.de>, freebsd-questions@FreeBSD.ORG Subject: Re: gateway Message-ID: <20000704005841.C679@dialin-client.earthlink.net> In-Reply-To: <Pine.LNX.3.95.1000704061406.3508A-100000@tilapia.pang.pworld.net.ph>; from joel@tilapia.pang.pworld.net.ph on Tue, Jul 04, 2000 at 06:25:17AM %2B0000 References: <39617A72.6143F9D3@gorean.org> <Pine.LNX.3.95.1000704061406.3508A-100000@tilapia.pang.pworld.net.ph>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 04, 2000 at 06:25:17AM +0000, Joel Eusebio wrote: > Yes, I make it a point to reboot whenever I change something in my > settings. I tried the sysctl but I think its not installed in my box. > Thanks a lot Doug You _better_ have sysctl(8) on your system. Is it not in your path? # /sbin/sysctl -w net.inet.ip.forwarding=1 > On Mon, 3 Jul 2000, Doug Barton wrote: > > 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 -- Crist J. Clark cjclark@alum.mit.edu 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?20000704005841.C679>