Windows SBS 2008 – how to diagnose port forwarding problems

port-forwardingwindows-sbs-2008

We have a Windows SBS 2008 machine. Several ports need to be forwarded from the router to the server (the machine hosts a FTP server, a Web server, and we need to be access it through Remote Desktop).

We recently changed routers (from SpeedTouch to Huawei EchoLife HG520s). With the previous router, port forwarding worked fine. Now, after setting up port forwarding on the new router, nothing works anymore. Can anybody help me with directions on how to diagnose/troubleshoot port forwarding problems on the router and in Windows SBS 2008? E.G.: after forwarding a port in the router interface to the internal IP of the server, how can I see in the SBS 2008 logs if the request is properly forwarded to it?

Best Answer

As long as you have a static IP on the server and not DHCP'd through your router...if it's a home router as some have suggested...it should work as long as you have the proper port going to your server's services.

  • Verify from within the network that you can connect to the services.
  • Verify that you have the correct external address (www.whatismyip.com).
  • Verify that the ports are "open" and not firewalled on the server.
  • Verify that the ports are "open" from the outside (nmap is your friend, otherwise you need another service to scan your external IP)
  • Restart the router to verify that the new settings "took". Shouldn't need to be done, but if it's an inexpensive router, you never know.
  • If you have any logging available for particular services, check the logs to see if there's any connection attempts or anything showing up on the server side.

You might want to consider with those services (FTP especially) just putting the server in a DMZ. You're really kind of opening it to all sorts of hack attempts with the services you mentioned all on one machine and I personally wouldn't want it on the same subnet as my personal machines. DMZ it and you might have an easier time than individual port forwarding.