Date: Mon, 08 Jan 2001 15:58:05 +0000 From: Mikel King <mikel@ocsinternet.com> To: Flemming =?iso-8859-1?Q?Fr=F8kj=E6r?= <flemming@froekjaer.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: stupid NATD tricks... Message-ID: <3A59E38D.D48F1DE0@ocsinternet.com> References: <4.1.20010108123840.01326da8@sleipner.eiffel.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A59E38D.D48F1DE0>