Pivoting

Plink, short for PuTTY Link, is a command-line SSH utility for Windows included in the PuTTY package. Like the SSH command, Plink can be used to set up dynamic port forwarding and create SOCKS proxies.

plink -ssh -D 9050 ubuntu@13.13.13.13

NETSH

Netsh is a Windows command-line tool that can help with the network configuration of a particular Windows system.

Port-Forward

netsh.exe interface portproxy add v4tov4 listenport=8080 listenaddress=13.13.13.13 connectport=3389 connectaddress=14.14.14.14

Check port-forward

netsh.exe interface portproxy show v4tov4
Listen on ipv4:             Connect to ipv4:

Address         Port        Address         Port
--------------- ----------  --------------- ----------
13.13.13.13     8080        14.14.14.14     3389

Last updated