Reverse proxy using hop and RDP

Posted by Sergei on Super User See other posts from Super User or by Sergei
Published on 2010-03-05T21:40:59Z Indexed on 2010/06/05 23:53 UTC
Read the original article Hit count: 276

Filed under:
|
|
|
|

I am trying to connect from Vista to XP using RDP via reverse proxy using putty and an intermidiate host. There are myriad articles on the internet how to do it using vnc, ssh servers, winsshd, etc, but I can't find anything that helps me in this specific case.

What I have:

  1. Windows XP host behind the firewall - 'destination'
  2. linux host running ssh on the internet - 'intermediate'
  3. windows host behind the firewall - 'source'

All I want to do is open reverse tunnel from destination to intermidiate and use this tunnel for connecting back from the source. That should be simple to setup, however I just cannot make it.

This is what I do:

  • On 'destination', open putty session, create tunnel to 'intermediate' using following settings:
    source port 3389, destination is 'source:33389', direction is local

  • On 'source', open putty session, create tunnel to 'intermediate'using following settings:
    source port 33389, destination is 'destination:33389', direction is local

  • Finally, on source, open termnal services client and connect it to localhost:33389.Unfortunately it seems like packets do go somewhere but eventually client times out.

Am I totally misunderstanding the concept?
Please help!

© Super User or respective owner

Related posts about Windows

Related posts about ssh