Netsh

Using Netsh to port forward
C:\Windows\system32> netsh.exe interface portproxy add v4tov4 listenport=8080 listenaddress=10.129.15.150 connectport=3389 connectaddress=172.16.5.25
Verifying port forward
C:\Windows\system32> netsh.exe interface portproxy show v4tov4
Assuming that the 172.16.5.25 has rdp open, we can now
$ xfreerdp /v:10.129.15.150 /u:user /p:password
Last updated