Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 1999 16:18:25 -0500
From:      "Brian McDonald" <brianmcd@columbus.rr.com>
To:        "Vince Valenti" <vValenti@LoansLive.Com>
Cc:        <freebsd-stable@freebsd.org>
Subject:   RE: Natd
Message-ID:  <NDBBJHLGKJMKAMFGNNAOEEPMCEAA.brianmcd@columbus.rr.com>
In-Reply-To: <000a01bf2af4$be1e5930$1400000a@VVALENTICOMP>

next in thread | previous in thread | raw e-mail | index | archive | help
Vince,

I've been using a config file for natd.

natd -n ed1 -f /etc/natd.conf

where /etc/natd.conf contains:

dynamic yes
redirect_port tcp 192.168.10.10:80 80

Works like a charm.  The last line redirects traffic from the
external network to the internal webserver port 80.
"dynamic yes" is only needed if you have an DHCP/bootp
configured external interface.

Not sure about this - but you might get different results
from inside and outside the network.  The man page isn't
specific on "aliasIP" being only the ed1 ip addy, or
all addresses for the server.  If you can't see the internal
server through the NATD server, might add the line

redirect_port tcp 10.0.0.1:80 <ipaddy of natd server>:80

So that natd on the server will redirect _both_ ports.

Brian
--
Brian McDonald, IBS Consulting Services
System Administration Consultant

-----Original Message-----
From: owner-freebsd-stable@FreeBSD.ORG
[mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Vince Valenti
Sent: Tuesday, November 09, 1999 3:55 PM
To: freebsd-stable@freebsd.org
Subject: Natd


Hello...  I have a problem that I am hoping someone could help me with...

I am trying to redirect a port (80) on my FreeBSD box to my internal web
server.  I have tried starting natd like this:

natd -n ed1 -redirect_port 10.0.0.1:80 80

But it doesn't seem to work.  Does anyone have any ideas?

Thanks,

Vince Valenti
Senior Technical Engineer
vValenti@LoansLive.Com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJHLGKJMKAMFGNNAOEEPMCEAA.brianmcd>