Microsoft security specialists for growing businesses. We secure Microsoft 365, Intune, Purview and Azure to NIST standards, with published prices and month-to-month service.
755 Commerce Dr
Decatur, GA 30030
Copyright © 2026 Cloud2Networks. All rights reserved.
Windows Firewall is one of those controls everyone assumes is on and nobody looks at. In the tenants I review, the most common situation is a firewall that is technically enabled but riddled with local allow rules added by installers, technicians and old software. A proper Intune firewall policy fixes that by making the firewall state and rule set something you manage centrally, not something each laptop decides for itself.
This article covers the two parts of an Intune firewall policy, the settings I configure for most small and mid-sized businesses, the rules worth adding, and the rules that should never exist.
Why the firewall still matters on cloud-first devices
It is tempting to think the firewall matters less once everyone works from home and your apps live in Microsoft 365. The opposite is true. Laptops now sit on hotel Wi-Fi, home networks with smart TVs, and coffee shop networks full of strangers. The firewall is what stops another device on that network from reaching file shares, remote desktop or a vulnerable service on your laptop.
Inside the office, the firewall limits lateral movement. If one machine is compromised, a tight inbound policy makes it much harder for an attacker to jump from laptop to laptop using remote management protocols.
The two parts of an Intune firewall policy
In the Intune admin center, firewall policy lives under
Endpoint security > Firewall. For Windows there are two profile types that do different jobs:The key point is to keep exactly one Windows Firewall settings profile per device, and also not to configure the same settings in a security baseline or an old device configuration profile. Duplicate settings are the most common reason firewall policies show errors.
The settings profile I start with
Create a policy under
Endpoint security > Firewall > Create Policy, platform Windows, profile Windows Firewall. For each of the domain, private and public network types:For the public profile I go further and set the local rule merge options to ignore local rules:
This means that on public networks only the rules you push from Intune apply. Whatever an installer added locally is ignored. Once you are confident in your managed rule set, you can extend the same approach to the private and domain profiles.
Turn on firewall logging for dropped packets at least on a pilot group. It is the fastest way to find out what a rule change broke.
Rules you need
For a typical cloud-managed Windows fleet, the list of inbound rules you actually need is short. Most outbound traffic is already allowed by default. Rules worth considering:
Write rules around the program path wherever possible. A program-based rule allows that app to listen and nothing else. A port-based rule allows anything that binds to that port. Intune also lets you define reusable groups of remote IP addresses, which keeps rules readable when several apps need the same management subnet.
Rules you do not need
When I audit firewall rule sets, these are the ones that come out:
If you are not sure whether a rule is used, set the firewall to log dropped packets on a pilot group, remove the rule there, and watch for a week.
A rollout plan that avoids surprises
Avoid shielded mode in general policy. It blocks all inbound traffic, including rules you allowed, and is better kept as an incident response action.
Firewall policy is one layer of a hardened Windows build. Our endpoint security baseline service covers it alongside Defender, ASR and account protection, and an Intune health check will find conflicting firewall profiles and leftover local rules. If you are still deploying Intune, start with our Intune deployment service.
Microsoft’s reference on conflicts and rule merging is here: Firewall policy for endpoint security in Intune.
Frequently asked questions
Should I block outbound connections in my Intune firewall policy?
Not as a default for most small and mid-sized businesses. Default-deny outbound needs a complete, maintained list of every app’s network needs. Blocking inbound by default and controlling outbound through Defender network protection is a better balance.
How many firewall rules can one Intune profile hold?
Each Windows Firewall Rules profile supports up to 150 rules. Rules from multiple profiles merge on the device as long as they do not conflict, so you can split rules into logical groups.
What happens to firewall rules that users or installers added locally?
By default they still apply. If you set the policy to ignore local firewall rules for a network profile, only the rules you deploy from Intune are enforced on that profile.
Want to know how many open inbound rules are sitting on your laptops right now? Book a free Microsoft 365 security assessment and we will review your device firewall posture as part of it.