Date: Sun, 13 Feb 2000 22:02:57 +0100 (MET) From: Martin Machacek <mm@i.cz> To: freebsd-net@freebsd.org Subject: RE: natd redirect_port Message-ID: <XFMail.000213220257.mm@i.cz> In-Reply-To: <BOEMKCGKNBBLNDGJKEHEAEAMCAAA.drkangel@pathcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13-Feb-00 Marco Rodrigues wrote:
>       Has anyone ever got the redirect_port switch to work with natd?
Works flawlessly for me (FreeBSD 3.3). Fo example to redirect incoming TCP
packets on address <incoming_addr> and port <incoming_port> to
<real_addr> and <real_port> you have to use:
-redirect_port tcp <real_addr>:<real_port> <incoming_addr>:<incomming_port>
> It seems i've tried everything and I can't never get it to work.
> -redirect_port tcp externalip:telnet internalip:telnet should pass all
> requests to port 23 on the computer with both nics to a internal box at port
> 23 correct?
Nope. You should swap externalip:telnet and internalip:telnet (real address
comes first,e xtenal address second).
        Martin 
---
[PGP KeyID F3F409C4]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000213220257.mm>
