From owner-freebsd-questions Tue Jul 4 1: 1:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from penguin.prod.itd.earthlink.net (penguin.prod.itd.earthlink.net [207.217.120.134]) by hub.freebsd.org (Postfix) with ESMTP id 445A137B65B for ; Tue, 4 Jul 2000 01:01:47 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0514.cvx20-bradley.dialup.earthlink.net [209.179.252.4]) by penguin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id BAA20306; Tue, 4 Jul 2000 01:00:51 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id AAA00958; Tue, 4 Jul 2000 00:58:50 -0700 (PDT) Date: Tue, 4 Jul 2000 00:58:41 -0700 From: "Crist J. Clark" To: Joel Eusebio Cc: Doug Barton , Christoph Sold , freebsd-questions@FreeBSD.ORG Subject: Re: gateway Message-ID: <20000704005841.C679@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <39617A72.6143F9D3@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from joel@tilapia.pang.pworld.net.ph on Tue, Jul 04, 2000 at 06:25:17AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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