Windows server 2008 R2端口转发

查询配置了转发的端口

netsh interface portproxy show v4tov4

配置转发(所有ip访问192.168.0.99的1001端口均指向1953端口)

netsh interface portproxy add v4tov4 listenport=1001 listenaddress=0.0.0.0 connectport=1953 connectaddress=192.168.0.99

删除

netsh interface portproxy delete v4tov4 listenport=1001 listenaddress=0.0.0.0

 

posted @ 2018-07-23 10:11  容忍的人其实并不是笨  阅读(4437)  评论(1编辑  收藏  举报