1、打开命令窗口(管理员模式)
2、查看端口映射信息
netsh interface portproxy show v4tov4
3、设置端口映射
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