XP用户得先添加netsh interface ipv6 install
添加一个IPV4到IPV4的端口映射
netsh interface portproxy add v4tov4 listenaddress=192.168.193.1 listenport=22 connectaddress=xxx.xxx.xxx.xxx connectport=22
指定监听ip和端口可以删除
netsh interface portproxy delete v4tov4 listenaddress=192.168.0.171 listenport=5443
可以查看存在的转发
netsh interface portproxy show all
评论区