win7 端口转发

添加

netsh interface portproxy add v4tov4 listenport=转发端口 listenaddress=本机IP connectport=目标端口 connectaddress=目标IP

netsh interface portproxy add v4tov4 listenport=80 listenaddress=192.168.1.155 connectport=80 connectaddress=192.168.216.124

刪除:
netsh interface portproxy delete v4tov4 listenport=80 listenaddress=192.168.1.155

posted @ 2016-11-02 10:01  黄山奇  阅读(935)  评论(0编辑  收藏  举报