« Enabling the higher quality audio in Sametime 8.0.1 Web Meetings | Main| Just admit it, Outlook sucks. »

Microsoft Windows Firewall, you get what you pay for...

Category

Windows firewall comes free with Windows 2003 Server and Windows XP, and lets face it, you get one you pay for.  One of my biggest gripes to customers that user Windows firewall is that it doesn't allow you specify a range of ports to be open, which is very tedious, especially if you have a few thousands ports that need opening like the UDP ports for Sametime Audio/Video support in meetings.

This simple CMD line won't create a port range, but it will open up every port  in a give range, and it does take a while to run.

1. Open up a DOS box, CMD prompt whatever you want to call it, Start, Run, CMD click OK
2. Type in the following with the correct parameters:
FOR /L %i IN (startnumber, 1,endnumber) DO netsh firewall add portopening UDP %i "STUDP"%i

Where startnumber is the first port in the range, and endnumber is the last port in the range. STUDP is the name you want to appear in the windows firewall for the service and it will be followed by the port number.  The Sametime default UDP ports are 49252 - 65535 so you would enter:
FOR /L %i IN (49252, 1,65535) DO netsh firewall add portopening UDP %i "STUDP"%i

3. Then press enter and go drink a few cups of coffee

4. Get a real firewall.

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::rolleyes:;-)