SSH tunnel RDP through gateway server outside the network?

Posted by Mike on Super User See other posts from Super User or by Mike
Published on 2010-06-13T03:38:44Z Indexed on 2010/06/13 3:43 UTC
Read the original article Hit count: 334

Filed under:
|
|

I need to access a PC via RDP that is behind a firewall. There's no way to connect to it directly that I know of. What I'd like to do is SSH from that remote PC to my home Ubuntu server, then connect to the remote PC using my home PC with the Ubuntu server as a gateway.

I've tried SSH from remote PC to Ubuntu server, tunneling remote port 3389 to 127.0.0.1:3389, then SSH from home PC to Ubuntu server, tunneling local port 13389 to remote port 3389. At that point I try to RDP into: 127.0.0.1:13389, 127.0.0.2:13389, :3389 - no dice.

I suppose I could simply set up an SSH server on my home PC and SSH from remote PC into home PC and then establish the tunnel that way, but I'd rather not go through the hassle of installing and configuring an ssh server on my home PC. I know LogMeIn would work here, but I don't want to go that route for various reasons.

Any ideas?

Thanks!

© Super User or respective owner

Related posts about ssh

Related posts about rdp