From owner-freebsd-net Sun Feb 13 13: 2:56 2000 Delivered-To: freebsd-net@freebsd.org Received: from vidle.i.cz (vidle.i.cz [193.179.36.138]) by builder.freebsd.org (Postfix) with ESMTP id C52913E59 for ; Sun, 13 Feb 2000 13:02:53 -0800 (PST) Received: from ns.i.cz (brana.i.cz [193.179.36.134]) by vidle.i.cz (Postfix) with ESMTP id E36AF30708 for ; Sun, 13 Feb 2000 22:02:58 +0100 (CET) Received: from woody.i.cz (woody.i.cz [192.168.18.29]) by ns.i.cz (Postfix) with ESMTP id 154D836415 for ; Sun, 13 Feb 2000 22:02:58 +0100 (CET) Content-Length: 765 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 13 Feb 2000 22:02:57 +0100 (MET) Reply-To: mm@i.cz From: Martin Machacek To: freebsd-net@freebsd.org Subject: RE: natd redirect_port Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 and port to and you have to use: -redirect_port tcp : : > 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