Managing the Windows Server 2012 Firewall
This article will detail how to perform the most common tasks with the windows firewall on Windows Server 2012. This includes managing the firewall settings and creating custom inbound and outbound firewall rules.
Managing Firewall Settings
The Windows Firewall with Advanced Security is a host-based firewall that runs on Windows Server 2012 and is turned on by default. Firewall settings within Windows Server 2012 are managed from within the Windows Firewall MMC (Microsoft Management Console). To review and set Firewall settings perform the following:
Open the Server Manager from the task bar.
Click the Tools menu and select Windows Firewall with Advanced Security.
- First review the current configuration settings by selecting Windows Firewall Properties from the MMC landing page. This allows access to modify the settings for each of the three firewall profiles, Domain, Private, and Public as well as IPSec settings.
Applying Custom Rules
Custom Rules allow the finest level of control over inbound and outbound traffic to your Windows Server 2012.
If you have not done so already load the Windows Firewall MMC by opening the Server Manager from the task bar, clicking the Tools menu, and selecting Windows Firewall with Advanced Security.
Select either Inbound Rules or Outbound Rules under Windows Firewall with Advanced Security on the left side of the management console.
Note: This will provide a listing on each of the currently configured firewall rules. Rules that are currently enabled are denoted by green checkbox icon, while disabled rules display a grey checkbox icon. Right-clicking a rule will allow you toggle enable/disable.
- From the right side of either the Inbound Rules or Outbound Rules **tab click **New Rule.
- Select Custom from the Rule Type radial button and click Next.
- Select the Program association for the Custom Firewall Rule as either All programs or the path to a program and click Next.
- From the Protocol type field select the protocol type and click Next.
Note: This walkthrough uses TCP on port 80 (HTTP) for example purposes.
- Select an IP address association for both local and remote addresses and click Next.
- Select an action to take on matching traffic and click Next.
- Select the profiles associated with the custom rule and click Next.
- Provide a name for your Firewall rule and an optional description and click Finish.
- Once created, the rule will be enabled. 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.
Continue the conversation in the Rackspace Community.
©2016 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License