How to Open Windows Firewall in Windows 11 (5 Easy Methods Step by Step)


What is Windows Firewall in Windows 11?

On Windows 11, the firewall is managed through Windows Security and Windows Defender Firewall:

  • Windows Security = basic on/off, network status, quick controls.
  • Windows Defender Firewall with Advanced Security (wf.msc) = detailed inbound/outbound rules, ports, etc.

Below are different ways to open it.


Method 1 โ€“ Open Firewall from Windows Search (Fastest for most users)

  1. Click the Start button
    • Click the Windows icon on the taskbar.
    • Or press the Windows key on your keyboard.
  2. Type firewall into the search box.
    • You will see several results like:
      • Windows Defender Firewall with Advanced Security
      • Windows Security
  3. Open basic firewall settings (Windows Security)
    • Click Windows Security.
    • In Windows Security, click Firewall & network protection on the left or in the main tiles.
    • Here you can see:
      • Domain network
      • Private network
      • Public network
    • Each shows if the firewall is On or Off.
  4. Open advanced firewall console
    • From the search results, click Windows Defender Firewall with Advanced Security.
    • This opens the classic MMC console where you see:
      • Inbound Rules
      • Outbound Rules
      • Connection Security Rules
      • Monitoring

Use this when you need more control (open ports, block apps, custom rules).


Method 2 โ€“ Open Firewall via Windows Security App

  1. Open Settings
    • Press Windows + I, or
    • Click Start > Settings (gear icon).
  2. Go to Privacy & security
    • In the left sidebar, click Privacy & security.
  3. Open Windows Security
    • Under Security, click Windows Security.
    • Then click the Open Windows Security button.
  4. Open Firewall section
    • In Windows Security window, click Firewall & network protection.
    • Now you can:
      • See which network is Active (Domain/Private/Public).
      • Check if the firewall is On for each profile.
      • Click a profile to view or change its firewall state (if you have permission).

Method 3 โ€“ Open Windows Defender Firewall from Control Panel

This uses the classic Control Panel view.

  1. Open Control Panel
    • Press Windows + R to open Run.
    • Type: control
    • Press Enter.
  2. View by Category (optional but easier)
    • In the top right, set View by: to Category if itโ€™s not already.
  3. Go to System and Security
    • Click System and Security.
  4. Open Windows Defender Firewall
    • Click Windows Defender Firewall.
    • Here you can:
      • Turn Windows Defender Firewall on or off (left side).
      • Allow an app through firewall.
      • See notifications settings.
  5. Open advanced settings
    • On the left side, click Advanced settings.
    • This opens Windows Defender Firewall with Advanced Security (same as wf.msc).

Method 4 โ€“ Open Advanced Firewall via Run (wf.msc)

If you just want the advanced console quickly:

  1. Open Run dialog
    • Press Windows + R.
  2. Type the firewall console command
    • Type: wf.msc
  3. Press Enter
    • The Windows Defender Firewall with Advanced Security window opens.
    • From here you can:
      • Create new Inbound Rules (for apps, ports, predefined rules).
      • Create new Outbound Rules.
      • Export/import firewall policies (right-click the top โ€œWindows Defender Firewall with Advanced Securityโ€ฆโ€ node).

This is the main place admins work when they need detailed control.


Method 5 โ€“ Open Firewall from Command Prompt or PowerShell

Sometimes you might be in a terminal already.

5.1 Open basic Windows Security firewall page

  1. Open Command Prompt or PowerShell
    • Right-click the Start button and choose:
      • Windows Terminal or
      • Windows PowerShell or
      • Command Prompt (if available).
  2. Run this command for the Windows Security firewall page: start ms-settings:windowsdefender
  3. In Windows Security, click Firewall & network protection.

5.2 Open advanced firewall console from terminal

Run this command in Command Prompt or PowerShell:

wf.msc

This will open Windows Defender Firewall with Advanced Security.


What You See Inside the Firewall Windows

A. Windows Security โ€“ Firewall & network protection

Here you can:

  • See current network profiles:
    • Domain network โ€“ usually corporate network with AD/Entra join.
    • Private network โ€“ trusted home network.
    • Public network โ€“ public Wi-Fi, hotels, etc.
  • Check if firewall is On or Off for each profile.
  • Click Allow an app through firewall (opens the classic UI).
  • See Advanced settings link to open wf.msc.

Note: On company-managed devices (Intune, Group Policy, etc.), some options may be greyed out.

B. Windows Defender Firewall with Advanced Security (wf.msc)

On the left panel youโ€™ll see:

  • Inbound Rules
    • Traffic coming into your PC.
    • Rules decide which apps/ports are allowed or blocked from the outside.
  • Outbound Rules
    • Traffic going out from your PC to the network/internet.
  • Connection Security Rules
    • Advanced rules for IPsec, secure tunnels, etc.
  • Monitoring
    • View active rules and security associations.

From the right panel (Actions), you can:

  • New Ruleโ€ฆ โ€“ create custom rules by program, port, predefined templates, or custom.
  • Enable/Disable a selected rule.
  • Export Policy โ€“ save your firewall configuration.
  • Import Policy โ€“ load a saved configuration.

Quick Troubleshooting Tips

If you canโ€™t find or open the firewall:

  1. Search spelling
    • Make sure you typed firewall, Windows Security, or wf.msc correctly.
  2. Check user permissions
    • Some advanced options require Administrator rights.
    • Try right-clicking Windows Terminal or Command Prompt and choose Run as administrator.
  3. Managed devices (work/school)
    • If your device is joined to a company (Intune, Group Policy, etc.),
      • Firewall settings might be locked by your IT admin.
      • You may see messages like โ€œSome settings are managed by your organization.โ€
  4. Firewall service disabled
    • Rare, but if someone disabled the โ€œWindows Defender Firewallโ€ service, the app may not work correctly.
    • In that case, ask an admin to check services.

Short Summary

  • Use Search and type firewall to quickly open Windows Security or Windows Defender Firewall with Advanced Security.
  • Use Settings > Privacy & security > Windows Security > Open Windows Security > Firewall & network protection for basic management.
  • Use Control Panel > System and Security > Windows Defender Firewall > Advanced settings or Run > wf.msc for advanced rules.
  • You can also launch the firewall from Command Prompt/PowerShell using wf.msc or start ms-settings:windowsdefender.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top