Difference between revisions of "SSH Port Forward"

From MS Computech
Jump to: navigation, search
Line 8: Line 8:
  
 
พิมพ์  
 
พิมพ์  
<pre>ssh -L 1000:gatewayipaddress:3389 administrator@gatewayipaddress</pre>
+
<pre>ssh -L 127.0.0.1:1000: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:20, 20 March 2019

RDP Tunnel SSH

Yourhost >>>>  internet >>>>> RDP Server

Download SSH Client

Copy to C:\windows\system32\

พิมพ์

ssh -L 127.0.0.1:1000:192.168.10.10:3389 [email protected] -p 222
#mstsc
localhost:1000