Windows System CMD port mapping, add a firewall

Add port mapping, 10. 10.10 11111 mapped .10 to 10. 10.10 .11 port 80 
the netsh interface the portproxy for v4tov4 of listenport the Add = 11111 ListenAddress = 10.10 . 10.10 ConnectPort = 80 connectaddress = 10.10 . 10.11 

remove port mapping 
the netsh interface the portproxy del listenport = v4tov4 11111 ListenAddress = 10.10 . 10.10 

View port mapping already exists 
netsh interface that the portproxy Show v4tov4

Guess you like

Origin www.cnblogs.com/hdl217/p/12035025.html