Managing Windows Firewall Using the Windows Firewall with Advanced Security Snap-in
The Windows Firewall with Advanced Security MMC snap-in exposes most of the functionality of Windows Firewall for advanced users and administrators of the local computer (main mode rules and some advanced global IPsec settings are configurable only by Netsh). To start this snap-in, do any of the following:
- From the Start menu, select Control Panel, System And Security, Windows Firewall, Advanced Settings.
- Type fire in the Start menu Search box, and then click Windows Firewall With Advanced Security in the Programs group.
- Type wf.msc in the Start menu Search box and press Enter.
- Type mmc in the Start menu Search box and press Enter to open a new MMC console, and then add the Windows Firewall with Advanced Security snap-in to the console in the usual way.
The first three methods listed here can be used only to manage Windows Firewall on the local computer. The last method can be used to manage Windows Firewall on either the local computer or a specified remote computer. You must have local administrator credentials on the computer on which you want to manage Windows Firewall when using this snap-in.
Note The Windows 7 version of the Windows Firewall with Advanced Security snap-in can be used to manage Windows Firewall on Windows 7, Windows Vista, Windows Server 2008, and Windows Server 2008 R2.
Using the Windows Firewall with Advanced Security snap-in, you can perform a wide variety of administrative tasks, including the following:
- Configuring default settings for each firewall profile
- Enabling and disabling firewall rules
- Creating and configuring firewall rules
- Configuring default IPsec settings
- Enabling and disabling connection security rules
- Creating and configuring connection security rules
- Exporting and importing firewall policy for the computer
- Restoring the default firewall settings for the computer
- Configuring firewall logging settings
- Monitoring the state of the firewall and its configuration
- Monitoring active firewall rules
- Monitoring active connection security rules
- Monitoring security associations for both main mode and quick mode
- Monitoring event logs associated with Windows Firewall
Many of these management tasks are described in more detail in the section titled "Common Management Tasks" later in this tutorial.
To make it easier to manage large numbers of rules on a computer, the Windows Firewall with Advanced Security snap-in lets you filter firewall and connection security rules by profile (domain, private or public) and/or by state (enabled or disabled). In addition, firewall rules (but not connection rules) can also be filtered by rule group. All inbound rules that match the following filtering criteria:
- Profile: domain
- State: enabled
- Group: Remote Assistance
To remove applied filters, select Clear All Filters from the shortcut menu.
In this tutorial:
- Configuring Windows Firewall and IPsec
- Understanding Windows Firewall with Advanced Security
- Improvements to Windows Firewall Introduced Previously in Windows Vista
- Additional Improvements to Windows Firewall in Windows 7
- Understanding the Windows Filtering Platform
- Windows Firewall and the Startup Process
- Understanding Windows Service Hardening
- Understanding Service SIDs
- Windows Firewall and WSH
- Windows Firewall and Service Triggers
- Understanding Multiple Active Firewall Profiles
- Understanding Rules
- Understanding Firewall Rules
- Inbound vs . Outbound Rules
- Allow vs . Block Rules
- Allow If Secure Rules
- Authenticated Bypass Rules
- Filtering Conditions FOR Firewall RULES
- Understanding Connection Security Rules
- Types of Connection Security Rules
- Supported IPsec Settings for Connection Security Rules
- Default IPsec Settings for Connection Security Rules
- Windows Firewall and Windows PE
- Understanding Default Rules
- Understanding WSH Rules
- Understanding Rules Processing
- Managing Windows Firewall with Advanced Security
- Tools for Managing Windows Firewall with Advanced Security
- Managing Windows Firewall Using Control Panel
- Managing Windows Firewall Using the Windows Firewall with Advanced Security Snap-in
- Managing Windows Firewall Using Group Policy
- Considerations When Managing Windows Firewall Using Group Policy
- Managing Windows Firewall Using the Netsh Command
- Common Management Tasks
- Enabling or Disabling Windows Firewall
- Configuring Firewall Profiles and IPsec Settings by Using Group Policy
- Creating and Configuring Firewall Rules
- Creating and Configuring Connection Security Rules
- Monitoring Windows Firewall
- Troubleshooting Windows Firewall
- Troubleshooting Windows Firewall Using Firewall Logs
- Troubleshooting Windows Firewall Using Event Logs
- Troubleshooting Windows Firewall Using Auditing
- Troubleshooting IPsec Issues Using Netsh Wfp
- Troubleshooting Windows Filtering Platform and IPsec Issues Using Netsh Trace