Raghav
asked on
Exporting Windows Firewall rules to other clients
Hi Experts,
I have created a set of firewall rules on one of the machine. I want to copy / export these rules to other machines whenever needed. I do not use AD as yet.
One way is to export and import the firewall policies to another system. But i want this process automated or with less manual intervention. Are there any powershell scripts to do that?
I could use LocalGPO ( Part of SCM v.3) but it wont work on windows 2012. Another tool that i can use is LGPO.exe from MS.
Can you please recommend a best way to do this? or any other method / tool that you know?
Your comments are appreciated.
Best Regards
Raghav.
I have created a set of firewall rules on one of the machine. I want to copy / export these rules to other machines whenever needed. I do not use AD as yet.
One way is to export and import the firewall policies to another system. But i want this process automated or with less manual intervention. Are there any powershell scripts to do that?
I could use LocalGPO ( Part of SCM v.3) but it wont work on windows 2012. Another tool that i can use is LGPO.exe from MS.
Can you please recommend a best way to do this? or any other method / tool that you know?
Your comments are appreciated.
Best Regards
Raghav.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You could create a scheduled task on the exporting system that stores the rules to a network share. Or maybe you just export manually when there is an update to the rules.
Another scheduled task on the receiving computer could then import them. Of course you should put some logic around it so it will import only when something has changed.
Another scheduled task on the receiving computer could then import them. Of course you should put some logic around it so it will import only when something has changed.
ASKER
Hi Michael,
With little scripting this finally worked for me. Thanks.
--Raghav.
With little scripting this finally worked for me. Thanks.
--Raghav.
ASKER
Is there any way i can automate this process of exporting the rules from one system and importing them to another?
EDIT to My Question -
I just found a way to change some parameters which checks OS Version in the LocalGPO provided by SCM. Still i would like other recommendations from the experts.
--Raghav.