Local & Remote Port Forwarding
SSH Local Port Forwarding
ssh [email protected] -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
Copy link