Last active
January 25, 2018 11:28
-
-
Save juniorh/a24c20868cdb21f4a1ab6eda1b9d3965 to your computer and use it in GitHub Desktop.
tunneling rdp connection through ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mypc] <--> [ssh server: example.com] <--> [rdp server windows: win.dest.com] | |
ssh -L 3389:win.dst.com:3389 example.com -p 22 | |
ssh -L 3389:192.168.202.3:3389 -l rizal 6efd062ed0d8.sn.mynetname.net -p 65422 | |
then connect rdp server via localhost port 3389 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment