Fast Way To Add Multiple Subnets To Server 2008 Firewall Rules?

goatberg

Member
Joined
Oct 17, 2011
Messages
5
Location
Indiana
I am configuring a firewall in windows server 2008. I need to add multiple subnets to an inbound rule but it is making me add the subnets one at a time. Is there any way to add multiple subnets at the same time? I tried separating them with commas and adding them via the GUI but it would not take it (it said specify a valid address). Also if you have already input a long list on subnets in one firewall rule is it possible to copy it over to another firewall rule?
 
Thanks for the reply. I looked at that webpage you directed me to. It says to run the following command to export the firewall rules:

netsh advfirewall export C:\firewallconfiguration.wfw

I tried to open this .wfw file in notepad but it looks messy. If I export to a .txt it look equally as messy. Do you know what application I should use to open this .wfw file?
 
OK thanks.

For some reason I was thinking I could open it and then paste in all the subnets I had and then reimport it back into the original server.
 
Back
Top