mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 12:02:08 +02:00

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
700 B
700 B
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