Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP SP2 Firewall exceptions from IP Address

Status
Not open for further replies.
Not sure about GPO, but you should be able to create a startup/login script to use netsh to accomplish what you want:

netsh firewall set portopening
[ protocol = ] TCP|UDP|ALL
[ port = ] 1-65535
[ [ name = ] name
[ mode = ] ENABLE|DISABLE
[ scope = ] ALL|SUBNET|CUSTOM
[ addresses = ] addresses
[ profile = ] CURRENT|DOMAIN|STANDARD|ALL
[ interface = ] name ]
 
Wow! This is too much. What netsh does is create a registry entry for each item you enter that means that for the particular set of IPs (about 10 - they are not in the same IP range), for each port and for each protocol it will create an entry which means that

10 * 65535 * 2 = 1,310,700 entries just for those exceptions.


Gladys Rodriguez
GlobalStrata Solutions
Computer Repair, Website Design and Computer Consultant
Small Business Resources
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top