一、安装ipv6
netsh interface ipv6 install
二、portproxy相关命令
配置端口转发
netsh interface portproxy add v4tov4 listenaddress=192.168.0.1 listenport=8001 connectaddress=192.168.0.2 connectport=8001
删除端口转发
netsh interface portproxy delete v4tov4 listenaddress=192.168.0.1 listenport=8001
查看已配置的端口转发
netsh interface portproxy show v4tov4
来源:oschina
链接:https://my.oschina.net/u/2894328/blog/802110