Saturday, March 26, 2016

Windows Remote desktop over ssh by putty

I know this topic may be duplicate, but i cannot find out the solution from old post.



Here is my situation



Work PC <> Firewall (port 3389 blocked) <> Internet <> Home Router <> Home PC



So i want to build up a ssh channel in home pc remote from work pc over ssh tunnel (port 443)



I have tired putty, bitvise ssh, freesshd but with no luck



what I have tired currently:



Assume:





  • Home and Work OS : Windows 7

  • Public IP of Home Router: 100.100.100.100

  • Private IP of Home PC :192.168.1.199



Home PC :




  • install bitvise ssh listening localhost on port 22, enable port forwarding

  • create a test local account


  • a Remote desktop account ready

  • connect to bitvise ssh port 22 by putty use test account

  • Router port forward 443 to 192.168.1.199:3391

  • putty config : tunnel L3391 127.0.0.1:3389



Testing :




  1. Open windows rdp,


  2. connect to 127.0.0.1:3391,

  3. login dialog prompt,

  4. enter the remote desktop account -> rdp welcome screen pop up, ->
    Access is denied message displayed.



For the localhost testing already failure, so i have not try to test it from out side



Anyone knows how to make it happen, thanks

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...