添加端口映射
netsh interface portproxy add v4tov4 listenport=1234 connectaddress=10.18.51.10 connectport=3389 listenaddress=* protocol=tcp
查看端口映射
netsh interface portproxy show all
删除端口映射
netsh interface portproxy delete v4tov4 listenport=1234 listenaddress=* protocol=tcp
解决用户通过外网无法访问内网服务器问题
来源:https://www.cnblogs.com/tx720/p/12148695.html