25 Jan

How to setup port forwarding in Windows

To start:

netsh interface portproxy add v4tov4 listenport=8080 listenaddress=0.0.0.0 connectport=80 connectaddress=127.0.0.1

And to remove:

netsh interface portproxy delete v4tov4 listenport=8080 listenaddress=0.0.0.0

You can also use:

netsh interface portproxy reset

or

netsh interface portproxy delete

to drop the forwarding. If you face some issue setting this up please refer to this.



Leave a Reply

Your email address will not be published. Required fields are marked *