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