Difference between revisions of "SSH Port Forward"
From MS Computech
Line 7: | Line 7: | ||
Copy to C:\windows\system32\<br> | Copy to C:\windows\system32\<br> | ||
− | + | พิมพ์ | |
<pre>ssh -L 1000:gatewayipaddress:3389 administrator@gatewayipaddress</pre> | <pre>ssh -L 1000:gatewayipaddress:3389 administrator@gatewayipaddress</pre> | ||
+ | หรือ | ||
<pre>ssh -L 127.0.0.1:3389:192.168.10.10:3389 [email protected] -p 222</pre> | <pre>ssh -L 127.0.0.1:3389:192.168.10.10:3389 [email protected] -p 222</pre> | ||
<pre>#mstsc | <pre>#mstsc | ||
localhost:1000</pre> | localhost:1000</pre> |
Revision as of 19:19, 20 March 2019
RDP Tunnel SSH
Yourhost >>>> internet >>>>> RDP Server
Download SSH Client
Copy to C:\windows\system32\
พิมพ์
ssh -L 1000:gatewayipaddress:3389 administrator@gatewayipaddress
หรือ
ssh -L 127.0.0.1:3389:192.168.10.10:3389 [email protected] -p 222
#mstsc localhost:1000