Firewall & network protection in Windows Security (2024)

Security, Safety and Privacy

Overview

  • Security, Safety and Privacy Overview​

Windows Security

  • Get Help with Windows Security​
  • Stay protected with Windows Security​
  • Before you sell or gift your Windows 10 device orXbox One
  • Remove malware from your Windows PC

Windows Safety

  • Get Help with Windows Safety​
  • View and delete browser history in MicrosoftEdge​
  • Delete and manage cookies
  • Safely remove your valuable content whenreinstalling Windows​
  • Find and lock a lost Windows device

Windows Privacy

  • Get Help with Windows Privacy​
  • Windows privacy settings that apps use​
  • View your data on the privacy dashboard​

Security Windows 10 Windows 11 More...Less

Firewall & network protection in Windows Security lets youview the status of Microsoft Defender Firewall and see what networks your device is connected to. You can turn Microsoft Defender Firewall on or off and access advanced Microsoft Defender Firewall options for the following network types:

Firewall & network protection in Windows Security (1)

If you want to change a setting, select the network type you want to change it on.

You can specify that a particular network your device connects to is "private" or "public". The key difference is whether other devices on the same network are allowed to see, and maybe connect to, your device.

Your home network might be an example of a private network - in theory the only devices on that network are your devices, and devices owned by your family. You're fine with those other devices being able to see yours, because you trust those devices.

The Wi-Fi at your local coffee shop, however, is a public network. Most of the other devices connected to it belong to strangers and you'd probably prefer they not be able to see or connect toyour device.

As a general rule you'll have stricter security controls on a public network than on a private network, simply because of the level of trust you may have for the other people and devices on that network.

Network settings

When you select one of the three network types, you'll get the settings page for it. Here Windows Security will tell you which, if any, networks of that type you're currently connected to. Usually, your computer will only be connected to one network at a time.

You'll also find a simple slider for turning the firewall on, or off, for that type of network.

Important:Turning the firewall off may increase the risk to your device or data. We recommend leaving it on unless you absolutely need to turn it off.

Under the Incoming connections section,you'll find a single checkbox for Blocks all incoming connections, including those in the list of allowed apps. Checking this box tells the Microsoft Defender Firewall to ignore the allowed apps list and block everything. Turning this on increases your security but may cause some apps to stop working.

Also on the Firewall & network protection page:

  • Allow an app through firewall - If the firewall is blocking an app you really need, you can add an exception for that app, or open a specific port. Learn more about that process (and why you might not want to) atRisks of allowing apps through Microsoft Defender Firewall.

  • Network and Internet troubleshooter - If you're having general network connectivity issues you can use this troubleshooter to try and automatically diagnose and fix them.

  • Firewall notification settings - Want more notifications when your firewall blocks something? Fewer? Here's where you can configure that.

  • Advanced settings - This will open the classic Windows Defender Firewall tool which lets you create inbound or outbound rules, connection security rules, and see monitoring logs for the firewall. Most people won't want to dig into it that deeply; adding, changing, or deleting rules incorrectly can cause your system to be more vulnerable or can cause some apps not to work.

  • Restore firewalls to default - If someone, or something, has made changes to your Windows Firewall settings that is causing things not to work properly you're just two clicks away from resetting the settings back to the way they were when you first got the computer. If your organization has applied any policies to configure the firewall those will be reapplied.

See also

Automatically diagnose and fix problems with Windows Firewall

Be safer over wireless connections

SUBSCRIBE RSS FEEDS

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Firewall & network protection in Windows Security (2)

Microsoft 365 subscription benefits

Firewall & network protection in Windows Security (3)

Microsoft 365 training

Firewall & network protection in Windows Security (4)

Microsoft security

Firewall & network protection in Windows Security (5)

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Firewall & network protection in Windows Security (6)

Ask the Microsoft Community

Firewall & network protection in Windows Security (7)

Microsoft Tech Community

Firewall & network protection in Windows Security (2024)
Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 5825

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.