Windows Port Proxy

Syntax:

netsh interface portproxy add v4tov4 listenport=<LocalPort> listenaddress=<LocalIP> connectport=<TargetPort> connectaddress=<TargetIP> protocol=tcp

Example:

netsh interface portproxy add v4tov4 listenport=1111 listenaddress=192.168.1.10 connectport=80 connectaddress=192.168.0.33 protocol=tcp

View the PortProxy:

netsh interface portproxy show all

Delete the PortProxy:

netsh interface portproxy delete v4tov4 listenport=<LocalPort>

Delete all PortProxies set up:

netsh interface portproxy reset

Last updated

Was this helpful?