Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2001 12:43:48 -0800
From:      Flemming =?iso-8859-1?Q?Fr=F8kj=E6r?= <flemming@froekjaer.org>
To:        mikel <mikel@ocsinternet.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: stupid NATD tricks...
Message-ID:  <4.1.20010108123840.01326da8@sleipner.eiffel.dk>
In-Reply-To: <3A5A181D.571E2DD9@ocsinternet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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?4.1.20010108123840.01326da8>