0/1 Lessons

Course Introduction

• 2min

0 / 1 lessons complete

Introduction to Group Policy Management

• 1hr 24min

0 / 6 lessons complete

Manage Your Workstations

• 1hr 46min

0 / 7 lessons complete

Securing Your Domain

• 1hr 1min

0 / 5 lessons complete

Group Policy Troubleshooting

• 53min

0 / 5 lessons complete

Course Conclusion

• 1min

0 / 1 lessons complete


Q&A (0)

Notes (0)

Resources (0)

Saving Progress...


There are no resources for this lesson.

Notes can be saved and accessed anywhere in the course. They also double as bookmarks so you can quickly review important lesson material.

Create note

In this lecture, I am going to be showing you how to create Firewall Rules with Group Policy.

Now, you don’t have a need to just open firewall ports on your domain so in this lecture, we are just going to be opening the ports 1234 and we are going to deploy to the domain, we are going to test it in our computers, and we are going to see how it works and how you can do it inside of your domain.

Always remember to open just the ports you need.


  1. In IPDC01 open Server Manager > Tools > Group Policy Management.
  2. Create a New GPO, Under the specified OU Domain Computers. Name it Firewall - Test 1234.
Graphical user interface, applicationDescription automatically generated
  1. Now we go into our GPO and Edit it by right-clicking on it.

NOTE: Firewall Settings is a Computer Configuration. When you create the GPO you need to link it to OUs that contain computer accounts.

  1. Head over to Computer Configuration (Firewall settings are based on PC OU).
  2. Policies > Windows Settings > Security Settings > Windows Firewall with Advanced Security.
Graphical user interface, text, applicationDescription automatically generated
  1. Click into Windows Firewall. Now we can set Inbound/Outbound and Connection Security Rules. The rules are the same configuration for Inbound and Outbound.
  2. We can also adjust top-level firewall rules:
Graphical user interface, applicationDescription automatically generated
  1. Go to Inbound Rules > Right Click > New Rule
  2. Choose Port > Next > Select UDP/TCP and Type in the required port:
Graphical user interface, text, application, emailDescription automatically generated
  1. Under Action > Allow > Under Profile > Select profiles > Next > Name the rule Test 1234:
Graphical user interface, application, WordDescription automatically generated
  1. Now the setting is good.
  2. Let's check on our Computer, remember to run gpupdate /force, let's confirm that settings are good to go, we open RSOP.MSC on a member server, you may want to look for it as we did when creating the GPO, but you will notice it is not there.
Graphical user interface, text, applicationDescription automatically generated with medium confidence
  1. The firewall will be under Administrative Templates > Extra Registry Settings. See your GPO rules here:
Graphical user interface, textDescription automatically generated

That is how you apply a Firewall Policy to your domain computers with a Group Policy Object.

0 0 votes
Lesson Rating
Notify of
profile avatar
Inline Feedbacks
View all comments