添加映射
listenaddress
本机监听ip地址connectaddress
远程连接地址
netsh interface portproxy add v4tov4 listenaddress=192.168.20.5 listenport=4899 connectaddress= 192.168.10.100 connectport= 7899
重启后可能会失效,需要重启iphelper
net stop iphlpsvc
net start iphlpsvc
查看当前映射
netsh interface portproxy show v4tov4
删除映射
netsh interface portproxy delete v4tov4 listenaddress=192.168.20.5 listenport=4899