Port forwarding in Windows

The other day I was looking for an easy way to setup port forwarding on my Windows Server 2008 development server.

Firewall image

I came across the built-in “netsh interface portproxy” Windows command which allows you to do this without the need to install any additional software.

So how do I do it?

netsh interface portproxy add v4tov4 listenport=<LOCAL PORT> connectport=<REMOTE PORT> connectaddress=<REMOTE ADDRESS>

Command window image

More information available here

Shane Bartholomeusz