Исходный код вики TCP Proxy (netsh portproxy)
Версия 4.2 от Alexandr Fokin на 2022/07/11 16:36
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | netsh portproxy | ||
2 | |||
3 | Настройка проброса сетевых портов (порт форвардинга) в Windows | ||
4 | https://winitpro.ru/index.php/2014/12/23/nastrojka-port-forvardinga-v-windows/ | ||
5 | |||
6 | |||
7 | {{code language="cmd"}} | ||
8 | |||
9 | rem PowerShell | Проверить свободен ли порт | ||
10 | Test-NetConnection -ComputerName localhost -Port 3340 | ||
11 | |||
12 | rem CMD | Создать правило перенаправления | ||
13 | netsh interface portproxy add v4tov4 listenport=<source port> listenaddress=<source ip/domain> connectport=<destination port> connectaddress=<destination ip/domain> | ||
14 | |||
15 | rem CMD | Удалить правило | ||
16 | netsh interface portproxy delete v4tov4 listenaddress=<source ip/domain> listenport=<source port> | ||
17 | |||
18 | {{/code}} | ||
19 | |||
20 | [[TCP>>Сети.Протоколы.TCP.WebHome]] протокол. |