Windows端口转发

windows cmd:netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=80 connectaddress=xx.xx.xx.xx  connectport=8080

删除:netsh interface portproxy del v4tov4 listenaddress=127.0.0.1 listenport=80

show:netsh interface portproxy show v4tov4

意思是:访问本地80端口,就可以访问到某某IP的8080端口

 

posted on 2019-08-16 23:53  jiersixi  阅读(507)  评论(0编辑  收藏  举报

导航