From owner-freebsd-questions Thu Oct 24 8:16:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2204437B401 for ; Thu, 24 Oct 2002 08:16:47 -0700 (PDT) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id C86A543E65 for ; Thu, 24 Oct 2002 08:16:45 -0700 (PDT) (envelope-from doug@polands.org) Received: from mydomain.com (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.5/8.12.5) with SMTP id g9OFGhZt081517 for ; Thu, 24 Oct 2002 10:16:44 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.35) (SquirrelMail authenticated user djp) by samaria.polands.org with HTTP; Thu, 24 Oct 2002 10:16:44 -0500 (CDT) Message-ID: <17350.63.104.35.130.1035472604.squirrel@samaria.polands.org> Date: Thu, 24 Oct 2002 10:16:44 -0500 (CDT) Subject: ssh port forwarding From: "Doug Poland" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I need help with the following port forwarding problem. Here's my network... firewall/NAT || ---------+ || +----------+ +--------+ | || | | | | fbsd 4.7 |-----> ||----> | fbsd 4.6 |-----> | w2kas | ws | || | srv | | ts | ---------+ || +----------+ +--------+ || What I want to do is connect to the Windows 2000 Server (ts) Terminal Server (port 3389) from the FreeBSD workstation (ws) behind the firewall. The FreeBSD server (srv) has a public IP and runs the sshd. I have an account on the FreeBSD server. I have root access on all three boxes. From ws, I issue the command: ssh -2 -L 3389:ts:3389 me@srv and log on successfully. This "should" do the following: on the localhost (ws) listen on port 3389, send all 3389 packets to srv on srv, send all 3389 packets to ts Unfortunately, I've tried this and rdesktop cannot connect. Am I missing something? Are there techniques/tools to diagnose what's going where? -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message