System Grab Bag

View all TLDR pages from Windows (or from all pages)

netsh interface portproxy

Configure and display the status of various network components. More information: https://learn.microsoft.com/en-us/windows-server/networking/technologies/netsh/netsh-interface-portproxy.
  • Display the current port forwarding setup:
    netsh interface portproxy show all
  • 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}}
  • Remove IPv4 port forwarding (run in elevated console):
    netsh interface portproxy delete v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}}
  • Display help:
    netsh interface portproxy

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.