From owner-freebsd-questions Sun Dec 10 19:59:15 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 10 19:59:13 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from www.newsindex.com (www.newsindex.com [64.71.138.178]) by hub.freebsd.org (Postfix) with ESMTP id 1321937B400 for ; Sun, 10 Dec 2000 19:59:09 -0800 (PST) Received: from localhost (speck@localhost) by www.newsindex.com (8.9.3/8.9.3) with ESMTP id TAA19216; Sun, 10 Dec 2000 19:58:56 -0800 (PST) (envelope-from speck@www.newsindex.com) Date: Sun, 10 Dec 2000 19:58:55 -0800 (PST) From: Sean Peck To: David Raistrick Cc: Chris Hill , freebsd-questions@FreeBSD.ORG Subject: Re: Configuring Gateway/NAT on Freebsd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speck@www.newsindex.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, well sysctl -w throws errors, and when I do your grep they come back 0 as well, dispite having NATD_ENABLED... what should the natd_interface be if it is not tun0, the NIC card? On Sun, 10 Dec 2000, David Raistrick wrote: > > > > Of course, all this assumes > > > sysctl -w net.inet.ip.forwarding=1 > > > > > > > Ok, how would I do this using in the rc.conf file? or do I add both of > > these lines to rc.local? > > Sorry, that would be the same as "gateway_enable=yes" in the rc.conf. > And yes, it would have to be done as root.;) > > > flitter:/home/keen%> sysctl -a | grep forward > net.inet.ip.forwarding: 0 > net.inet.ip.fastforwarding: 0 > > (of course, this box has it disabled...:) > > later...david > > -- > David Raistrick Digital Wireless Communications > davidr@dwcinet.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message