Local & Remote Port Forwarding

SSH Local Port Forwarding

ssh user@RemoteIP -L LocalPort:RemoteIP:RemotePort

localhost:LocalPort --> RemoteIP:RemotePort

Windows Local Port Forwarding

For Add;
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=LocalPort connectaddress=RemoteIP connectport=RemotePort

For delete;
netsh interface portproxy delete v4tov4 listenaddress=127.0.0.1 listenport=LocalPort

Last updated