Port Forwarding in Windows

Tags: March 18, 2014 6:04 PM

I'm pretty shocked Windows comes with built-in quiet powerful command line tools for port forwarding. The name is netsh. Let say we want to redirect all incoming traffic to IP port 80 to IP port 8080.

prompt> netsh interface portproxy add v4tov4 listenport=80 listenaddress= connectport=8080 connectaddress=

Share on Facebook Twitter