Skip to main content

Configure and display the status of various network components.

:: To display the current port forwarding setup:
netsh interface portproxy show all

:: To set up IPv4 port forwarding (run in elevated console):
netsh interface portproxy add v4tov4 listenaddress=<192.168.0.1> listenport=<8080>  connectaddress=<10.0.0.1> connectport=<80>

:: To remove IPv4 port forwarding (run in elevated console):
netsh interface portproxy delete v4tov4 listenaddress=<192.168.0.1> listenport=<8080>

:: To display help:
netsh interface portproxy