端口映射设置

  1. # 查看端口映射列表
  2. netsh interface portproxy show all
  3. # 删除端口映射
  4. netsh interface portproxy delete v4tov4 listenaddress=192.168.1.103 listenport=6099
  5. # 新增端口映射
  6. netsh interface portproxy add v4tov4 listenaddress=192.168.1.103 listenport=6099 connectaddress=192.168.0.101 connectport=9099

参数解释: