Windows Firewall
Yaser Rahmati | یاسر رحمتی
Last updated
Yaser Rahmati | یاسر رحمتی
Last updated
The Windows Firewall with Advanced Security is a firewall that runs on the Windows Server 2012 and is turned on by default. The Firewall settings within Windows Server 2012 are managed from within the Windows Firewall Microsoft Management Console. To set Firewall settings perform the following steps :
Click on the Server Manager from the taskbar → Click the Tools menu and select Windows Firewall with Advanced Security.
To see the current configuration settings by selecting Windows Firewall Properties from the MMC. This allows access to modify the settings for each of the three firewall profiles, which are – Domain, Private and Public and IPsec settings.
Applying custom rules, which will include the following two steps :
Select either Inbound Rules or Outbound Rules under Windows Firewall with Advanced Security on the left side of the management console. (As you Know outbound traffic is the traffic generated from a server towards the internet and inbound traffic is vice versa). The rules that are currently enabled are denoted by a green checkbox icon, while disabled rules display a grey checkbox icon.
Right-clicking a rule will allow you toggle enable/disable.
To create a new Firewall Rule, you have to adhere to the following steps:
From the right side of either the Inbound Rules or Outbound Rules – click “New Rule”.
Custom from the Rule Type radial button → click Next.
Select the Program association for the Custom Firewall Rule as either All programs or the path to a program → click Next.
Protocol type field select the protocol type → click Next.
Select an IP address association for both local and remote addresses → click Next.
Select an action to take on matching traffic → click Next.
Select the profiles associated with the custom rule → click Next.
Put a name for your Firewall rule and an optional description → Finish.
The firewall rule can be found on the corresponding Rule tab, either inbound or outbound depending on the type created. To disable or delete the rule find the rule in the MMC, right-click it and select either Disable Rule or Delete.