Windows itself supports port mapping on the command line, provided that IPV6 has been installed. It doesn’t matter whether IPV6 is enabled or not. I can configure port mapping on Windows 7 and Server2008. Xp, 2003 installed ipv6 protocol is also possible.
Operating under the CMD
Add a port mapping. Map port 8080 of 10.10.10.10 to port 80 of 10.10.10.11. Netsh interface portproxy add v4tov4 ListenPort =8080 ListenAddress =10.10.10.10 Connectport = 80 connectaddress = 10.10.10.11
Example Delete netsh interface portproxy del v4tov4 listenport=8080 ListenAddress =10.10.10.10
Run the netsh interface portproxy show v4tov4 command to view the existing port mapping
Can through the command netstat ano | find “8080” check to see if the port has been listening in
Telnet 10.10.10.10 8080 Tests whether the port is connected