config problem routing external IP in to local net
Chuck Swiger
cswiger at mac.com
Mon Sep 17 13:14:16 PDT 2007
On Sep 16, 2007, at 4:01 PM, Mike Lempriere wrote:
> The problem is that I need one specific machine to appear on the
> Internet proper with a unique IP address.
> I've hunted around the web and spent a bunch of time messing with
> things, and have them sort of working.
> It appears that when the outside world asks for this machine, it
> gets there, yay!
Using the redirect_address statement to natd.conf should give you this.
> The trouble is that this machine cannot see it's own requests.
If you're natting the external IP to an internal IP, then you'll need
to use that internal IP address on the local subnet. You might try
using "machinename.example.com" for the external IP, and
"machinename.local" for the internal IP; or you can use split DNS if
you want to use the same hostname both inside and outside.
--
-Chuck
More information about the freebsd-stable
mailing list