端口转发命令

netsh interface portproxy add v4tov4  listenaddress=172.16.8.1 listenport=3306connectaddress=192.168.1.58 connectport=3306

查看端口转发:

netsh interface portproxy show v4tov4

关闭端口转发:

netsh interface portproxy delete v4tov4 listenaddress=192.168.1.8  listenport=33891

留下评论