mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
netsh-interface-portproxy: add page (#10485)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
fe3154287e
commit
c12e5d7884
1 changed files with 20 additions and 0 deletions
20
pages/windows/netsh-interface-portproxy.md
Normal file
20
pages/windows/netsh-interface-portproxy.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue