Re: Newbie: Using rdesktop and port forwarding

Brad Langhorst <[email protected]>
Newsgroups gmane.network.rdesktop.user
Message-ID <[email protected]>
On Mon, 2008-07-28 at 16:14 -0400, Zembower, Kevin wrote:
> I'm making my first attempt at using rdesktop to connect to a server
> behind a firewall, and wonder if my scheme will work, and if so, if
> anyone can help me fill in the crucial details.
> 
> I have both a Windows 2003 Server and a Debian etch host behind a
> firewall. The firewall blocks Remote Desktop Connections (port 3389) but
> allows SSH. The Debian host has rdesktop 1.5.0 on it, installed from the
> Debian package. I'd like to connect to the W2003S using Remote Desktop
> to control it from outside the firewall. I think this should be possible
> with these steps:
>   * use a Linux host running XWindows from outside the firewall to
> connect to the Debian host inside the firewall using SSH with XWindows
> forwarding.
>   * use the Debian host inside the firewall to connect to the W2003S
> host using rdesktop, and forward this connection to the external Linux
> host.
> 
> Can anyone tell me if this scheme will work? If you were doing this, is
> this the way you'd do it? Is there another preferred method that might
> be more straightforward or easier? If this is the best, can anyone
> suggest exactly how this would be done? I don't have any experience with
> rdesktop or ssh port forwarding yet, and wanted to know if I'm heading
> in the right direction.
It'll work , but it'll be slow.

just use ssh's (or putty's) tunneling features  -L
33000:win2003host:3389

and run rdesktop (or windows remote desktop)
to connect to localhost:33000

brad


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.