Windows Firewall is a crucial security feature built into Windows 11 that helps protect your computer from unauthorized access and malicious software. By filtering incoming and outgoing network traffic, it acts as a barrier between your PC and potential threats from the internet or local networks. In this guide, we’ll walk you through the process of configuring Windows Firewall to enhance your system’s security.
Accessing Windows Firewall Settings
Step 1: Open the Start menu and type “Windows Security” in the search bar. Click on the “Windows Security” app when it appears in the search results.
Step 2: In the Windows Security app, click on “Firewall & network protection” in the left sidebar.
Step 3: You’ll see an overview of your current firewall status for different network profiles (Domain, Private, and Public). Each profile can have different settings depending on the type of network you’re connected to.
Turning Windows Firewall On or Off
Step 1: In the Firewall & network protection screen, click on a network profile (Domain, Private, or Public).
Step 2: You’ll see a toggle switch for “Microsoft Defender Firewall.” To turn the firewall on, switch it to “On.” To turn it off, switch it to “Off.”
Step 3: If you’re turning the firewall off, you’ll see a warning message. Only turn off the firewall if you have another firewall program installed, as leaving your system unprotected can make it vulnerable to attacks.
Allowing Apps Through the Firewall
Step 1: From the main Firewall & network protection screen, click on “Allow an app through firewall.”
Step 2: Click on “Change settings” to make modifications. You may need to provide administrator permission.
Step 3: Scroll through the list of apps. To allow an app through the firewall, check the box next to its name and select which types of networks (Private and/or Public) it should be allowed on.
Step 4: If the app you want to allow isn’t listed, click “Allow another app” at the bottom of the window. Browse to the app’s executable file and add it to the list.
Step 5: Click “OK” to save your changes.
Creating Custom Firewall Rules
For more advanced configuration, you can create custom inbound or outbound rules using Windows Defender Firewall with Advanced Security.
Step 1: In the Windows Security app, under Firewall & network protection, click on “Advanced settings” at the bottom of the screen.
Step 2: In the new window, you’ll see options for Inbound Rules and Outbound Rules in the left pane. Select the type of rule you want to create.
Step 3: In the Actions pane on the right, click “New Rule” to open the New Inbound (or Outbound) Rule Wizard.
Step 4: Follow the wizard to specify the rule type (Program, Port, Predefined, or Custom), define the rule’s scope, and set the action (Allow or Block).
Step 5: Give your rule a name and description, then click “Finish” to create it.
Configuring Firewall Notifications
Step 1: Return to the main Firewall & network protection screen in Windows Security.
Step 2: Click on “Firewall notifications” at the bottom of the screen.
Step 3: Here you can choose whether to be notified when Windows Firewall blocks a new app. Toggle the switch to “On” if you want notifications, or “Off” if you don’t.
Resetting Firewall to Default Settings
If you’ve made changes and want to start over, you can reset the firewall to its default configuration:
Step 1: In the Firewall & network protection screen, click on “Restore firewalls to default” at the bottom.
Step 2: Click “Restore defaults” and confirm your choice. This will remove all custom rules and restore the original Windows Firewall settings.
By properly configuring Windows Firewall, you’ve taken an important step in securing your Windows 11 PC. Remember to keep your firewall enabled and regularly review your settings to ensure optimal protection against evolving network threats.