With previous versions of Windows Servers, I could right click on the public interface under NAT, select "Properties" from the popup menu, go to the "Services and Ports" tab, and then specify how I wanted certain ports to be forwarded to another machine on the LAN. With Windows 2008 R2, however, the settings in on this tab do not seem to work. In fact, other than forwarding to local loop back address of 127.0.0.1, turning on anything here will only break things. Outgoing internet connection sharing works, but incoming port forwarding settings through this GUI are completely useless.
Do not select anything here |
netsh interface portproxy add v4tov4 listenport=<public port> listenaddress=<public address> connectport=<private port> connectaddress=<private address>
This "netsh" command actually does many other things. There is just no GUI for it. For example, you can run the following command to see what port forwarding settings are in place:
netsh interface portproxy show v4tov4
When deleting a particular port from the forwarding list, you need to specify both the port number and the address on the command line:
netsh interface portproxy delete v4tov4 listenport=<public port> listenaddress=<public address>
We came to Windows from DOS, now apparently we are moving backwards.
No comments:
Post a Comment