Learn about firewalls, Windows Firewall on Windows Server 2012




Windows Firewall with Advanced Security is a firewall running on Windows Server 2012 and enabled by default. Firewall installations in Windows Server 2012 are managed in the Microsoft Management Console Windows Firewall.

This article will detail how to perform the most common tasks with Windows Firewall on Windows Server 2012, including: managing firewall settings and creating inbound and outbound firewall rules.

To set up firewall settings on this server, follow these steps:

Step 1: Click Server Manager from the taskbar> click on the Tools menu and select Windows Firewall with Advanced Security.

Mở Server Manager

Step 2: To see the current configuration, select Windows Firewall Properties from MMC. From here you can access the settings for adjusting firewall profiles for Domain, Private and Public and IPsec settings.

Chọn Windows Firewall Properties

Step 3: Applying custom rules is done through the following two steps:

Select Inbound Rules or Outbound Rules under Windows Firewall with Advanced Security in the list in the management pane on the left. (As you know outbound traffic is the traffic generated from the server to the Internet and inbound traffic is the opposite). The active rules will have a green icon in the checkbox, gray is disabled. You right-click on the rule to activate or deactivate it.

Enable or disable the Firewall rule

How to create a new Firewall rule?

To create a new rule for the Firewall, you must follow these steps:

From the right Actions pane, under Inbound Rules or Outbound Rules, select New Rule.

Select New Rule

Chọn Custom trong What type of rule would you like to create? > Next.

Select the type of rule

Select All programs (to apply all connections on the computer) or This program path (only for a specific program)> click Next.

Select the program to apply the rule to

Select the protocol type in Protocol Type> Next.

Select the protocol type

Select the IP address for both the address on the device and the remote control> click Next.

Enter the server's IP address and the remote control

Select the action to apply to the appropriate traffic> click Next.

Select the action that applies to traffic

Select the profile associated with the custom rule> Next.

Select the profile associated with the rule

Name the rulle and add a description> click Finish.

Name the rule

Rules can be found in the corresponding Rule tab, Inbound or Outbound depending on the type of rule you create. To disable or delete a rule, simply find the rule in MMC, right-click it and select Disable Rule or Delete.

Right-click on the rule to choose to delete or deactivate

Previous article: Remote management on Windows Server 2012 with Remote Management Service




Comments