From owner-freebsd-questions Mon Jul 3 23:34: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tilapia.pang.pworld.net.ph (tilapia.pang.pworld.net.ph [203.176.27.5]) by hub.freebsd.org (Postfix) with ESMTP id 41B0737B58D for ; Mon, 3 Jul 2000 23:33:28 -0700 (PDT) (envelope-from joel@tilapia.pang.pworld.net.ph) Received: from localhost (joel@localhost) by tilapia.pang.pworld.net.ph (8.10.0/8.10.0) with SMTP id e646PHg03766; Tue, 4 Jul 2000 14:25:17 +0800 Date: Tue, 4 Jul 2000 06:25:17 +0000 ( ) From: Joel Eusebio Reply-To: Joel Eusebio To: Doug Barton Cc: Christoph Sold , freebsd-questions@FreeBSD.ORG Subject: Re: gateway In-Reply-To: <39617A72.6143F9D3@gorean.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 --------------------------- Joel N. Eusebio Systems Administrator Philworld Online Pangasinan joel@pang.pworld.net.ph (075)5155535/(075)5230470 --------------------------- 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