跳到主要内容

Windows配置端口转发

创建端口转发

netsh interface portproxy add v4tov4  listenaddress=192.168.50.88 listenport=3306  connectaddress=192.168.50.16 connectport=3306

查看端口转发

netsh interface portproxy show all

删除端口转发

netsh interface portproxy delete v4tov4   listenaddress=192.168.50.88 listenport=3306