增加一个端口映射 netsh interface portproxy add v4tov4 listenport=2022 listenaddress=10.191.21.96 connectaddress=172.24.177.31 connectport=22 netsh interface portproxy add v4tov4 listenport=22 listenaddress=10.191.21.96 connectaddress=172.24.178.241 connectport=22 netsh interface portproxy show v4tov4 netsh interface portproxy delete v4tov4 listenaddress=10.191.21.96 listenport=22
(10.191.21.96为本地IP,172.24.177.31为虚拟机IP,2022为虚拟端口,22为实际端口)
标签:v4tov4,netsh,22,10.191,虚拟机,21.96,portproxy,端口映射 From: https://www.cnblogs.com/gzb891/p/16889581.html