# Local & Remote Port Forwarding

**SSH Local Port Forwarding**

```
ssh user@RemoteIP -L LocalPort:RemoteIP:RemotePort
```

`localhost:LocalPort --> RemoteIP:RemotePort` &#x20;

&#x20;**Windows Local Port Forwarding**&#x20;

```
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
```
