Date: Tue, 28 Aug 2001 21:30:34 -0500 (CDT) From: Nick Rogness <nick@rogness.net> To: Lee Mark Mercado <mercadolee@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd Message-ID: <Pine.BSF.4.21.0108282127220.67736-100000@cody.jharris.com> In-Reply-To: <F93eTlhxvzSoBJHsxPC00000329@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Aug 2001, Lee Mark Mercado wrote: > when i do this command : > # natd -redirect_port tcp 192.168.1.2:80 80 > > why is that im always getting an error saying: > "natd: aliasing address not given" When you start it from the command line you need "-n dc0" or "-a A.B.C.D" also along with the above stuff. > > ---------------------------------------- > this is my rc.conf : > > network_interfaces="dc0 dc1 lo0" > ifconfig_lo0="inet 127.0.0.1 netmask 255.255.255.0" > ifconfig_dc0="inet A.B.C.D netmask 255.255.254.0" > ifconfig_dc1="inet 192.168.1.1 netmask 255.255.255.0" > hostname="box.myfreebsd.box" > defaultrouter="E.F.G.H" > > firewall_enable="YES" > firewall_type="OPEN" > firewall_quiet="NO" > natd_enable="YES" > natd_interface="dc0" > named_enable="YES" > named_flags="-u bind -g bind" > -------------------------------------------------- > > is there anything wrong with my rc.conf file ? > No. You should probably add to it:: natd_flags="-redirect_port tcp 192.168.1.2:80 80" Nick Rogness <nick@rogness.net> - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" 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?Pine.BSF.4.21.0108282127220.67736-100000>