SETUP SSH REVERSE TUNNEL TO ACCESS REMOTE DESKTOP
Posted: Sun Aug 13, 2023 6:19 pm
Hi if your PC is behind a firewall and firewall blocks remote desktop to the network behind. To access RDP from outside you can create a reverse SSH tunnel to push port to the PC on outside. The detail procedure is as follows:
1. In PC behind firewall open Putty, in SSH->Tunnel write a port number say 3089.
2. select port type Remote which correspond to remote server port to be used.
3. In Destination select (ipaddress of any PC behind firewall):3389.
4. Suppose i have a PC behind fire wall with ip address 192.168.0.5, my destination will be 192.168.0.5:3389.
5. Hence in Putty it will show like "R3089 192.168.0.5:3389".
6. Go to session enter ip address of SSH server and connect entering username and password.
7. Now a RDP tunnel is created.
8. From SSH server PC open remote desktop and enter address "127.0.0.1:3089". You are done.
9. This way you can forward web server in similar way from private LAN to outside of Firewall.
Thanks
Admin
1. In PC behind firewall open Putty, in SSH->Tunnel write a port number say 3089.
2. select port type Remote which correspond to remote server port to be used.
3. In Destination select (ipaddress of any PC behind firewall):3389.
4. Suppose i have a PC behind fire wall with ip address 192.168.0.5, my destination will be 192.168.0.5:3389.
5. Hence in Putty it will show like "R3089 192.168.0.5:3389".
6. Go to session enter ip address of SSH server and connect entering username and password.
7. Now a RDP tunnel is created.
8. From SSH server PC open remote desktop and enter address "127.0.0.1:3089". You are done.
9. This way you can forward web server in similar way from private LAN to outside of Firewall.
Thanks
Admin