Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 1999 13:06:11 -0600 (CST)
From:      Gene Harris <zeus@tetronsoftware.com>
To:        Jeff Lush <jeff@nerdpower.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: NATD question
Message-ID:  <Pine.BSF.4.10.9912311255170.907-100000@tetron02.tetronsoftware.com>
In-Reply-To: <NDBBKIMGBBOBEOPLFCHIMEDHCFAA.jeff@nerdpower.com>

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


On Fri, 31 Dec 1999, Jeff Lush wrote:

>  Hello,
>  
>  In the rc.conf:
>  -
>  ifconfig_de0="inet 139.142.150.39 netmask 255.255.255.0"
>  ifconfig_de0_alias="inet 139.162.150.39 netmask 255.255.255.0"

You might want to change your netmask to 255.255.255.255 for
an aliased ip.


>  natd_program="/bin/natd -redirect_address 192.168.1.1 139.162.150.29"

I have successfully done this with -redirect_port, the
command being "-redirect_port 192.168.1.1:smtp
139:162.150.29:smtp"

This will redirect any incomming traffic to port 25 (smtp)
to your mail server.

It is up to you, but you might not want to pass all
incomming traffic to your internal machine.  I believe there
is no need to risk passing any unexpected traffic.

HTH,

Gene



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?Pine.BSF.4.10.9912311255170.907-100000>