windows端口转发
2021-05-02 03:27
标签:add let ace nec connect div 转发 端口 blog windows端口转发 windows端口转发 标签:add let ace nec connect div 转发 端口 blog 原文地址:http://www.cnblogs.com/elvi/p/7718349.html#windows端口转发 CMD
#例如172.16.11.23:1522 转发到 192.168.18.15:22
netsh interface portproxy add v4tov4 listenaddress=172.16.11.23 listenport=1522 connectaddress=192.168.18.15 connectport=22
#删除转发
netsh interface portproxy delete v4tov4 listenaddress=172.16.11.23 listenport=1522
#查询转发
netsh interface portproxy show v4tov4
netsh interface portproxy show all