How can i open multiple ports at once

VinnyG3
VinnyG3 used Ask the Experts™
on
I am trying to open multiple ports at once using gpo. I know how to open ports using gpo, but i do not know how to open many at one time. I would like to open 1024-2000 in one exception instead of one for each port. I am using Windows server 2003

Thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
There's no way to open a range of ports using GPO.  You have to add in each port.

Commented:
try this

   1.  Go to Computer Configuration -> Administrative Templates -> Network -> Network Connection -> Windows Firewall -> Domain Profile
   2. Double click on the entry Windows Firewall: Define port exceptions
   3. Select Enabled.  
   4. Click on the Show& button to bring up the port exception list dialog
   5. Select the Add& button
   6. Specify the required port using the following syntax/convention:
      <port>:<transport>:<scope>:<status>:<name>

      For example - to allow connections on port 139 from the ip addresses in the local subnet, configure the rule as follows:
      139:TCP:localsubnet:enabled:SMB

Author

Commented:
Thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial