Date: Sun, 10 Dec 2000 21:34:35 -0800 From: "Crist J. Clark" <cjclark@reflexnet.net> To: David Raistrick <keen@damoe.wireless-isp.net> Cc: Sean Peck <speck@newsindex.com>, Chris Hill <chris@monochrome.org>, freebsd-questions@FreeBSD.ORG Subject: Re: Configuring Gateway/NAT on Freebsd Message-ID: <20001210213435.T96105@149.211.6.64.reflexcom.com> In-Reply-To: <Pine.BSF.4.21.0012102311190.61629-100000@damoe.wireless-isp.net>; from keen@damoe.wireless-isp.net on Sun, Dec 10, 2000 at 11:15:06PM -0500 References: <Pine.BSF.4.10.10012101958060.14499-100000@www.newsindex.com> <Pine.BSF.4.21.0012102311190.61629-100000@damoe.wireless-isp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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=<Public IP> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001210213435.T96105>