1客给、打開命令窗口(管理員模式)
2晶丘、查看端口映射信息
netsh interface portproxy show v4tov4
3有序、設(shè)置端口映射
netsh interface portproxy add v4tov4 listenaddress=192.168.0.131 listenport=3306 connectaddress=192.168.0.128 connectport=3306
4、刪除端口映射
netsh interface portproxy delete v4tov4 listenaddress=192.168.0.131 listenport=3306