Jump to content
Forum²

Recommended Posts

Posted
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?
Posted

Never tried before, but perhaps you can try with scripting by passing subnets as variables.

 

Regarding the copy & paste, it's quite easy:

 

http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2007/11/13/firewall-management-in-server-core-part-2.aspx

 

Look at section "Import and Export"

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Posted

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?

Posted
You can't open it as normal file... you can just import in another machine.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Posted
Mhh you could try to open the file with Notepad++ but actually I don't think you can edit it as you like...

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...