From owner-freebsd-questions Sun Dec 10 21:34:46 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 10 21:34:42 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 6920237B400 for ; Sun, 10 Dec 2000 21:34:42 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 10 Dec 2000 21:33:06 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eBB5YZ018846; Sun, 10 Dec 2000 21:34:35 -0800 (PST) (envelope-from cjc) Date: Sun, 10 Dec 2000 21:34:35 -0800 From: "Crist J. Clark" To: David Raistrick Cc: Sean Peck , Chris Hill , freebsd-questions@FreeBSD.ORG Subject: Re: Configuring Gateway/NAT on Freebsd Message-ID: <20001210213435.T96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from keen@damoe.wireless-isp.net on Sun, Dec 10, 2000 at 11:15:06PM -0500 Sender: cjc@149.211.6.64.reflexcom.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 10, 2000 at 11:15:06PM -0500, 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. > > Is there a "natd_flags" that you can use? (checking. yes.) > > so natd_interface should be blank, use > natd_flags=-a whateveritwas No, natd_interface= From rc.conf(5), natd_interface This is the name of the public interface on which natd should run. It is mandatory if natd_enable is set to YES. The interface may be given as an interface name or as an IP address. natd(8) won't start unless 'natd_interface' is set. See rc.network (sorry about the long line, but quoting code verbatim), # Network Address Translation daemon # case ${natd_enable} in [Yy][Ee][Ss]) if [ -n "${natd_interface}" ]; then . . . echo -n ' natd'; ${natd_program:-/sbin/natd} ${natd_flags} ${natd_ifarg} fi -- 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