admin管理员组

文章数量:1122855

netsh windows7 自带端口映射(转发)使用教程

netsh interface portproxy add v4tov4 listenaddress=10.10.10.234 listenport=64822 connectaddress=172.168.128.68 connectport=22

1. 查看

netsh interface portproxy show all

2. 添加端口映射转发

netsh interface portproxy add v4tov4 listenaddress=10.10.10.234 listenport=64822 connectaddress=172.168.128.68 connectport=22
10.10.10.234:64822 连接到 172.168.128.68:22

3. 删除端口映射转发

netsh interface portproxy delete v4tov4 listenaddress=10.10.10.234 listenport=64822 

参考:
1.windows命令行下用netsh实现端口转发(端口映射)

本文标签: 自带端口映射教程netsh