当前位置:首页 > windows使用netsh interface转发端口

windows使用netsh interface转发端口

点击次数:1227  更新日期:2022-01-13

将本机的端口8131转发至192.168.1.199:6543

netsh interface portproxy add v4tov4 listenaddress=* listenport=8131 connectaddress=192.168.1.199 connectport=6543


删掉8131端口的映射

netsh interface portproxy delete v4tov4 listenaddress=* listenport=8131 


显示已转发的端口

netsh interface portproxy show all