Setup SSH tunnel to access Remote Desktop through Putty

This post will be helpful if your windows machine is behind firewall and port 3389 is blocked. Although you can access windows machine, but you should have atleast one linux machine access behind firewall. You can access windows machine through SSH tunneling. Ofcourse, port 22 should be accessible!
You can follow below steps to do SSH tunneling using Putty.
(1) open putty. Give the IP address of Linux machine.


(2) Now click on Tunnels under SSH. Give IP address of Windows machine and port . and Give mapped port.


(3) Now click on "Add" button and the click on "Open" button.


(4) Now open "Remote Desktop Connection" and give "localhost:3391" then try to connect. You will see window's logon screen!