1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/netsh-interface-portproxy.md
Vedant Yadav 9538a12740
add-appxpackage: add Hindi translation; pages.*: remove locale from Microsoft links (#11286)
* add-appxpackage: add Hindi translation

* pages.*: remove locale from Microsoft links

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-26 23:59:28 +05:30

20 lines
694 B
Markdown

# netsh interface portproxy
> Configure and display the status of various network components.
> More information: <https://learn.microsoft.com/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`