From owner-freebsd-questions Mon Jan 8 13:34:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ra.upan.org (unknown [204.107.76.19]) by hub.freebsd.org (Postfix) with ESMTP id A1F5737B71E for ; Mon, 8 Jan 2001 12:58:16 -0800 (PST) Received: from ocsinternet.com (localhost.upan.org [127.0.0.1]) by ra.upan.org (8.11.1/8.11.1) with ESMTP id f08Fw5107075; Mon, 8 Jan 2001 15:58:05 GMT (envelope-from mikel@ocsinternet.com) Message-ID: <3A59E38D.D48F1DE0@ocsinternet.com> Date: Mon, 08 Jan 2001 15:58:05 +0000 From: Mikel King X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Flemming =?iso-8859-1?Q?Fr=F8kj=E6r?= Cc: freebsd-questions@FreeBSD.ORG Subject: Re: stupid NATD tricks... References: <4.1.20010108123840.01326da8@sleipner.eiffel.dk> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Flemming Frøkjær wrote: > At 02:42 PM 1/8/2001 -0500, mikel wrote: > >Ok I just need to make sure I'm not going crazy...Here's the deal > >ipfw/natd gateway box > > > >I've got the outbound connectivity working well; it's the static nat > >that just doesn't seem to want to work no matter what I do. > > > >I have a natd.conf with: > > > >use_sockets > >same_ports > >unregistered_only > >redirect_port tcp 10.0.0.77:80 80 > > You need to tell it what to redirect. > My natd.conf file looks like: > > n fxp0 > redirect_port tcp 192.168.42.2:80 80 > > You need to replace fxp0 with the name of your outside netcard driver. > Or you could take a look at alias_address in man natd. > > \Flemming fxp0 is my outside, and rl0 (10.0.0.1 0xff000000) is inside, therefore; redirect_port tcp 10.0.0.77:80 80 should work, no? Thanks, m. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message