Port Forwarding in Windows

Tags: March 18, 2014 6:04 PM
0 comments

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 1.2.3.4 port 80 to IP 1.2.3.4 port 8080.

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

Share on Facebook Twitter