Windows设置端口映射

更新于 2024-08-05

netsh interface portproxy add v4tov4 listenport=16080 connectaddress=127.0.0.1 connectport=16080 listenaddress=10.10.2.18 protocol=tcp
netsh interface portproxy add v4tov4 listenport=16080 connectaddress=10.10.2.18 connectport=16080 listenaddress=127.0.0.1 protocol=tcp