添加映射表:
netsh interface portproxy add v4tov4 listenport=(监听端口) connectaddress=(虚机IP) connectport=(虚机端口)
 
删除映射表:
netsh interface portproxy delete v4tov4 listenport=(监听端口)
 
查看映射表:
netsh interface portproxy show  v4tov4
 
netsh interface portproxy add v4tov4 listenaddress=124.204.34.118 listenport=80 connectaddress=10.0.0.201 connectport=80
 
netsh interface portproxy delete v4tov4 listenaddress=(监听地址) listenport=(监听端口)
posted on 2017-08-15 16:22  网络终结者  阅读(692)  评论(0编辑  收藏  举报