Welcome to Elvin's blog

windows端口转发

windows端口转发

#windows端口转发 CMD
#例如172.16.11.23:1522 转发到 192.168.18.15:22
netsh interface portproxy add v4tov4  listenaddress=172.16.11.23 listenport=1522 connectaddress=192.168.18.15  connectport=22
#删除转发
netsh interface  portproxy delete v4tov4 listenaddress=172.16.11.23 listenport=1522
#查询转发
netsh interface  portproxy show  v4tov4
netsh interface portproxy show all

 

posted @ 2017-11-02 22:24  blog-elvin-vip  阅读(241)  评论(0编辑  收藏  举报