windows端口映射

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

posted @ 2019-07-17 18:29  KinwingHU  阅读(549)  评论(0编辑  收藏  举报