Level 1
0 / 100 XP

Configuring Windows Firewall with Group Policy

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.

Steps:

  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 generate…