Wednesday, September 3, 2014

How to Forward Port to another IP/Machine on Windows

Let say you want to forward listened port 4422 (at you current machine with IP to port 80 on a machine with IP address, here is the command:

netsh interface portproxy add v4tov4 listenport=4422 listenaddress= connectport=80 connectaddress=

If you want to list all the port forwarding setting on your machine:

netsh interface portproxy show all

I think by now you could already figured out how to delete the port forwarding!

Take note that this setting will be saved even after you restart the machine. If you want to disable the port forwarding, you need to delete it.

Happy Forwarding!

:: aerobraintech ::