From owner-freebsd-questions Sun Dec 10 20:21: 7 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 10 20:21:04 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 DF1E637B401 for ; Sun, 10 Dec 2000 20:21:03 -0800 (PST) Received: from localhost (speck@localhost) by www.newsindex.com (8.9.3/8.9.3) with ESMTP id UAA21044; Sun, 10 Dec 2000 20:20:51 -0800 (PST) (envelope-from speck@www.newsindex.com) Date: Sun, 10 Dec 2000 20:20:51 -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 On Sun, 10 Dec 2000, David Raistrick wrote: > On Sun, 10 Dec 2000, Sean Peck wrote: > > > 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? > > Good question. You COULD use it as xl0...but having 2 ip's bound to the > itnerface might confuse it. ok > Is there a "natd_flags" that you can use? (checking. yes.) > > so natd_interface should be blank, use > natd_flags=-a whateveritwas > Ok, will try this > and you DO have gateway_enable=yes in the rc.conf? Yes I do > and after a reboot sysctl -a still shows net.inet.ip.forwarding=0 ?? > > odd. > > su to root and manually set it. Yes, root can set it manually, but with : natd_enabled="YES" and gate_enabled="YES" on bootup the sysctl shows a 0 for forwarding... The interesting thing I am still having though is dispite the ifconfig alias for 172.16.0.1 being on, the box is not answering to the IP... nor can any other machine on my network succesfully find it... NO errors are being thrown ... even after manually setting it at command line, I still cannot hit the box via the 172.16.0.1 ip... Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message