Изменения документа TCP Proxy (netsh portproxy)

Редактировал(а) Alexandr Fokin 2023/06/17 13:29

<
От версии < 2.2 >
отредактировано Alexandr Fokin
на 2021/07/19 21:29
К версии < 4.1 >
отредактировано Alexandr Fokin
на 2021/11/12 19:24
>
Изменить комментарий: К данной версии нет комментариев

Комментарий

Подробности

Свойства страницы
Содержимое
... ... @@ -11,6 +11,9 @@
11 11   Test-NetConnection -ComputerName localhost -Port 3340
12 12  
13 13   rem CMD | Создать правило перенаправления
14 - netsh interface portproxy add v4tov4 listenport=<source port> listenaddress=<source addresse> connectport=<destination port> connectaddress=<destination address>
14 + netsh interface portproxy add v4tov4 listenport=<source port> listenaddress=<source ip/domain> connectport=<destination port> connectaddress=<destination ip/domain>
15 15  
16 + rem CMD | Удалить правило
17 + netsh interface portproxy delete v4tov4 listenaddress=<source ip/domain> listenport=<source port>
18 +
16 16  {{/code}}
XWiki.XWikiComments[0]
Комментарий
... ... @@ -1,2 +1,2 @@
1 +Windows Port Forwarding
1 1  https://qna.habr.com/q/1352
2 -https://qna.habr.com/q/1352