1、查看本电脑映射
netsh interface portproxy show all
2、将本地6032端口,映射到设备192.168.1.6上的6031 端口
netsh interface portproxy add v4tov4 listenport=6032 connectport=6031 connectaddress=192.168.1.6
3、删除映射
netsh interface portproxy delete v4tov4 listenport=6032 listenaddress=1192.168.1.6
4、重新加载映射
netsh interface portproxy reset
1、查看本电脑映射
netsh interface portproxy show all
2、将本地6032端口,映射到设备192.168.1.6上的6031 端口
netsh interface portproxy add v4tov4 listenport=6032 connectport=6031 connectaddress=192.168.1.6
3、删除映射
netsh interface portproxy delete v4tov4 listenport=6032 listenaddress=1192.168.1.6
4、重新加载映射
netsh interface portproxy reset