添加映射

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
最后修改:2023 年 06 月 22 日
如果觉得我的文章对你有用,请随意赞赏