Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

Port forwarding on Windows 2008 R2 / 2012

Written by: on 31 May 2016 08:44 PM 31 May 2016 08:44 PM

Port forwarding can be useful to map incoming ports to other open ports on your machine. Know how to port forwarding on Windows 2008 R2 / 2012.

Port forwarding can be useful to map incoming ports to other open ports on your machine. The following example you have an SSL connection initiated on port '12345', but handled by a service listening on port 443. To do this, the following command is entered on the command line:

netsh interface portproxy add v4tov4 listenport=12345 listenaddress=192.168.1.1 connectport=443 connectaddress=192.168.1.1

Port 12345 is mapped to port 443 on the same machine. To have the traffic transferred to another machine, change the ip address for the connect address to the desired ip address.

(2 vote(s))
Helpful
Not helpful