Inbound vs . Outbound Rules
Inbound rules filter traffic passing from the network to the local computer based on the filtering conditions specified in the rule. Conversely, outbound rules filter traffic passing from the local computer to the network based on the filtering conditions specified in the rule. Both inbound and outbound rules can be configured to allow or block traffic as needed.
Windows Firewall with Advanced Security includes a number of predefined inbound and outbound rules for filtering traffic typically associated with different Windows features. These rules are organized into rule groups, which identify a collection of rules designed to enable a particular Windows experience or feature. For example, the Remote Assistance rule group is a set of firewall rules designed to enable users of the local computer to use Remote Assistance to help other users on the network or to receive help from them. The Remote Assistance rule group includes the following rules:
- Remote Assistance (DCOM-In) Inbound rule to allow offering Remote Assistance using Distributed Component Object Model (DCOM)
- Remote Assistance (PNRP-In) and Remote Assistance (PNRP-Out) Inbound and outbound rules to allow use of the PNRP
- Remote Assistance (RA Server TCP-In) and Remote Assistance (RA Server TCP-Out) Inbound and outbound rules to allow offering Remote Assistance to other users
- Remote Assistance (SSDP TCP-In) and Remote Assistance (SSDP TCP-Out) Inbound and outbound rules to allow use of Universal Plug and Play (UPnP) over TCP port 2869
- Remote Assistance (SSDP UDP-In) and Remote Assistance (SSDP UDP-Out) Inbound and outbound rules to allow use of UPnP over UDP port 1900
- Remote Assistance (TCP-In) and Remote Assistance (TCP-Out) Inbound and outbound rules to allow Remote Assistance traffic
In addition, some of these rules exist in separate form for different firewall profiles. For example, there are two separate Remote Assistance (TCP-In) rules, one for the domain and private firewall profiles and the other for the public firewall profile. Firewall rules can also be either enabled or disabled. Rules that are enabled actively filter traffic; rules that are disabled exist but are not used for filtering traffic unless they are enabled. For example, by default the Remote Assistance (TCP-In) rule for the domain and private firewall profiles is enabled, while the Remote Assistance (TCP-In) rule for the public firewall profile is disabled. This means that by default, Remote Assistance can be used in domain-based scenarios and on work/home networks, but not at a coffee shop when connecting to the public Internet using a wireless hotspot connection.
The inbound rules for Remote Assistance as displayed in the Windows Firewall with Advanced Security MMC snap-in. Rules that are enabled are indicated by a green check mark before them; rules that are disabled are indicated by a red X before them. Filtering conditions for all rules can be viewed by scrolling horizontally in the central pane of the snap-in. Alternatively, you can display the filtering conditions of a specific rule by doubleclicking the rule. Additional predefined rules may also be displayed if certain Windows features are turned on or off. For example, installing the Telnet Server feature adds a new predefined inbound rule named Telnet Server.
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