Port forwarding to windows rdp
I need assistance with a port forwarding related problem.
ssh [email protected] -p2222 -L 3389:192.168.0.10:3389
Have to connect to this 192.168.0.10 ip via rdp standard port from my windows machine. I got the linux command which should work but I just don't know how to use it properly in windows via putty?
The same way:
putty [email protected] -p 2222 -L 3389:192.168.0.10:3389
From the PuTTY GUI:
- Go to Connection → SSH → Tunnels
3389 as "Source port"
192.168.0.10:3389 as "Destination"
- Select "Local" and "Auto"
- Click "Add"
- Go back to Session
[email protected]:2222 as "Host Name"
From command line only:
plink [email protected] -p 2222 -L 3389:192.168.0.10:3389 -v -N
-v -N are optional, they just enable verbose logging.)