Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 12:12:06 -0500 (EST)
From:      James Gill <gill@topsecret.net>
To:        Guy Helmer <ghelmer@scl.ameslab.gov>
Cc:        Capriotti <capriotti@geocities.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: NATd and redirect_port
Message-ID:  <Pine.BSF.4.10.9911221206590.2830-100000@pacific.int.topsecret.net>
In-Reply-To: <Pine.SGI.4.20.9911220916130.3618-100000@demios.scl.ameslab.gov>

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

I have been using lines in /etc/rc.natd to do this:

redirect_port tcp 10.1.1.10:25 25
redirect_port udp 10.1.1.10:25 25
redirect_port tcp 10.1.1.10:110 110
redirect_port udp 10.1.1.10:110 110

(with some other lines like natd_enable, natd_interface, and natd_flags
put up in rc.conf)

am I doing it improperly?  what/why is .../rc.d/nats.sh ?

->> 
->> (called from .../rc.d/nats.sh during boot)
->> 
->> natd -n ed1 -redirect_port 192.16.1.100:25 25
->> natd -n ed1 -redirect_port 192.16.1.100:110 110
->
->I believe both of these port redirections need to occur within the same
->natd process.  I use a natd configuration file for my firewall, but
->perhaps you could keep everything on the command line like this:
->
->natd -n ed1 -redirect_port 192.168.1.100:25 25 -redirect_port \
->	192.168.1.100:110 110



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.9911221206590.2830-100000>