{"id":30983,"date":"2026-05-09T07:23:01","date_gmt":"2026-05-09T07:23:01","guid":{"rendered":"https:\/\/endusersupports.com\/?p=30983"},"modified":"2026-06-06T11:28:59","modified_gmt":"2026-06-06T11:28:59","slug":"how-to-deploy-firewall-rule-from-intune","status":"publish","type":"post","link":"https:\/\/endusersupports.com\/index.php\/2026\/05\/09\/how-to-deploy-firewall-rule-from-intune\/","title":{"rendered":"How to deploy Windows Firewall rule in Defender for Endpoint."},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"30983\" class=\"elementor elementor-30983\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a4ac0ac elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a4ac0ac\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5778074\" data-id=\"5778074\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e822e25 elementor-widget elementor-widget-text-editor\" data-id=\"e822e25\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #ffffff;\"><b>How to deploy Firewall rule from Intune<\/b><\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ed9d70d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ed9d70d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f289338\" data-id=\"f289338\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8e6c214 elementor-widget elementor-widget-text-editor\" data-id=\"8e6c214\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div><strong>Windows Firewall Rules<\/strong><\/div><div>\u00a0 \u00a0 Windows Firewall enables administrators to create detailed, granular firewall rules. These rules can specify ports, protocols, applications, and network locations to control which traffic is allowed or blocked. This level of customization helps ensure only authorized network communications occur on the device.<\/div><div>\u00a0<\/div><div><h5>Types of Windows Firewall Rules<\/h5><h6>1. <strong>Inbound Rules<\/strong><\/h6><ul><li>Control traffic entering a device<\/li><li>Typically used to block unsolicited access<\/li><li>Common for servers, but equally important on client systems<\/li><\/ul><h6>2. <strong>Outbound Rules<\/strong><\/h6><ul><li>Govern what traffic leaves the device<\/li><li>Useful for preventing unauthorized data exfiltration or unwanted applications communicating externally<\/li><\/ul><h6>3. <strong>Connection Security Rules<\/strong><\/h6><ul><li>Specify authentication or encryption (IPsec) requirements for secure communication<\/li><\/ul><h5>Elements of a Firewall Rule<\/h5><div><p>The main <strong>elements of a Windows Firewall Rule in Intune<\/strong> are:<\/p><ol><li><p><strong>Name<\/strong><\/p><ul><li>Identifies the firewall rule.<\/li><li>Example: <code>Allow RDP Access<\/code><\/li><\/ul><\/li><li><p><strong>Description<\/strong><\/p><ul><li>Optional explanation of the rule purpose.<\/li><\/ul><\/li><li><p><strong>Enabled\/Disabled<\/strong><\/p><ul><li>Determines whether the rule is active.<\/li><\/ul><\/li><li><p><strong>Direction<\/strong><\/p><ul><li>Defines traffic flow:<ul><li><strong>Inbound<\/strong> \u2192 incoming traffic<\/li><li><strong>Outbound<\/strong> \u2192 outgoing traffic<\/li><\/ul><\/li><\/ul><\/li><li><p><strong>Action<\/strong><\/p><ul><li>What the firewall should do:<ul><li><strong>Allow<\/strong><\/li><li><strong>Block<\/strong><\/li><\/ul><\/li><\/ul><\/li><li><p><strong>Protocol<\/strong><\/p><ul><li>Type of network protocol:<ul><li>TCP<\/li><li>UDP<\/li><li>ICMP<\/li><li>Any<\/li><\/ul><\/li><\/ul><\/li><li><p><strong>Local Port<\/strong><\/p><ul><li>Port on the local device.<\/li><li>Example: <code>3389<\/code> for RDP.<\/li><\/ul><\/li><li><p><strong>Remote Port<\/strong><\/p><ul><li>Port used by the remote system.<\/li><\/ul><\/li><li><p><strong>Local Address<\/strong><\/p><ul><li>IP address\/range on the local device.<\/li><\/ul><\/li><li><p><strong>Remote Address<\/strong><\/p><\/li><\/ol><ul><li>Source or destination IP allowed\/blocked.<\/li><\/ul><ol><li><strong>Application\/File Path<\/strong><\/li><\/ol><ul><li>Specific app the rule applies to.<\/li><li>Example:<div class=\"___77lcry0 f10pi13n\"><div class=\"___1hewfwb f10pi13n f7oukh6 f5p0z4x\" tabindex=\"0\" role=\"group\" aria-label=\"Code Preview\"><div class=\"fui-FluentProvider codeBlock-233fui-FluentProviderrg ___1jk74h0 fzk5nv6 f6n0el9 f7x6x6c f1a9mlr7 flj889f f13g0yyb ffzn0d2\" dir=\"ltr\" data-testid=\"ComponentFluentProviderId\"><div class=\"scriptor-component-code-block scriptor-codeblock-virtualized ___sakztz0 fonrc96 fbwmw8f fk8brrf fssjx5q f11d9hfk f1rkeeuc fukujjm f1uhbleq f1j8h10f f1dcxf0u fhswmqe f1gsf85u fh8rik3 f1jl54mw f1w257bn f1c6ju7g fwfsotv f1ndaetk fg8ocxh fvbf5p7\" tabindex=\"-1\"><div class=\"___aefhmb0 fssjx5q f1f4vkoj f11d9hfk fj2zk3l\"><div class=\"___1tleqzz f1h33yo7 fhrnfzf fssjx5q filiwix fdk4ulh f1cijgmw f1oelzdq fh0cete f5ulmyt fxafo0l f1mi0rw1 fo6fvpx fr36ves f1hbqlph f1rks486\"><div class=\"___149cboo fssjx5q f11d9hfk fj2zk3l fmyxm6j f1ldmben f1rkeeuc\"><div class=\"___svqwvq0 fssjx5q f11d9hfk fj2zk3l f1ldmben fzdgvog f19k5jia fzv833z f1r8x5cv f1687457 fe71wc6 f1wco4xj f103jgab f12fk6ok f4j985t fv86erk f1b4dd42 f1qwtq3x f13gvrpj f132if0v f1vblqk2 fkxsc7s f18j3zqo f1386a7m f1w3nze9 f14pe09c f4skf1h f1lq0dgc f1jgwha3 fbf5vau fc8703c\"><div class=\"___ysqij10 fonrc96 f1d3un5n fdk4ulh f1cijgmw fzb3wgo fssjx5q f11d9hfk fee5icb fr1uqzy\" tabindex=\"0\" role=\"textbox\" aria-multiline=\"true\" aria-label=\"Editor container\"><div class=\"___sv9ola0 fj2zk3l f1f4vkoj scriptor-instance-1\" data-fluid-id=\"E\"><div class=\"scriptor-canvas scriptor-styled-scrollbar focus-container\" contenteditable=\"false\" translate=\"no\"><div class=\"scriptor-pageContainer\" tabindex=\"0\" role=\"document\" contenteditable=\"false\" spellcheck=\"false\" data-gramm_editor=\"false\" aria-label=\"Code editor\"><div class=\"scriptor-pageFrame scriptor-firstPage scriptor-webView scriptor-content-visibility-auto\" data-dbg-pageindex=\"0\"><div class=\"scriptor-code-editor scriptor-code-wrap-on scriptor-pageBody scriptor-webViewPage\"><div class=\"scriptor-paragraph\" data-line-number=\"1\"><span class=\"scriptor-textRun scriptor-inline\">C:\\Program Files\\App\\App.exe<\/span><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><strong>Network Profiles<\/strong><\/li><\/ul><ul><li>Determines where the rule applies:<ul><li>Domain<\/li><li>Private<\/li><li>Public<\/li><\/ul><\/li><\/ul><ol><li><strong>Interface Types<\/strong><\/li><\/ol><ul><li>Network adapter type:<ul><li>LAN<\/li><li>Wireless<\/li><li>Remote Access<\/li><li>All<\/li><\/ul><\/li><\/ul><ol><li><strong>Edge Traversal<\/strong><\/li><\/ol><ul><li>Controls whether traffic can pass through NAT\/firewall edge devices.<\/li><\/ul><ol><li><strong>User\/Device Scope<\/strong><\/li><\/ol><ul><li>Limits rule to specific users or devices.<\/li><\/ul><ol><li><strong>Security Settings<\/strong><\/li><\/ol><ul><li>Can require authentication or encryption.<\/li><\/ul><h6>Steps to deploy Firewall Rules<\/h6><\/div><ol><li>Login to Intune console and click on Endpoint Security then click on <strong>Create Policy.<\/strong><\/li><\/ol><p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-31090\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-1.png\" alt=\"\" width=\"1340\" height=\"633\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-1.png 1340w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-1-300x142.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-1-1024x484.png 1024w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-1-768x363.png 768w\" sizes=\"(max-width: 1340px) 100vw, 1340px\" \/><\/p><p>Select the Platform as <strong>Windows\u00a0<\/strong>and Profile &#8220;<strong>Windows Firewall Rules&#8221;<\/strong><\/p><p><img decoding=\"async\" class=\"aligncenter size-full wp-image-31091\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-2.png\" alt=\"\" width=\"919\" height=\"608\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-2.png 919w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-2-300x198.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-2-768x508.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/p><p>Fill the Firewall rule and description.<\/p><p><img decoding=\"async\" class=\"aligncenter size-full wp-image-31092\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-3.png\" alt=\"\" width=\"934\" height=\"648\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-3.png 934w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-3-300x208.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-3-768x533.png 768w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/p><p>Click on <strong>Add<\/strong><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31093\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-4.png\" alt=\"\" width=\"1098\" height=\"657\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-4.png 1098w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-4-300x180.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-4-1024x613.png 1024w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-4-768x460.png 768w\" sizes=\"(max-width: 1098px) 100vw, 1098px\" \/><\/p><p>Fill the Rule Name and click on additional settings<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31094\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-5.png\" alt=\"\" width=\"1121\" height=\"640\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-5.png 1121w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-5-300x171.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-5-1024x585.png 1024w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-5-768x438.png 768w\" sizes=\"(max-width: 1121px) 100vw, 1121px\" \/><\/p><p>Fill all the required details and click on <strong>Save<\/strong><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31095\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-6.png\" alt=\"\" width=\"1316\" height=\"650\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-6.png 1316w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-6-300x148.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-6-1024x506.png 1024w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-6-768x379.png 768w\" sizes=\"(max-width: 1316px) 100vw, 1316px\" \/><\/p><p>Add Scope Tag is needed then click on Next<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31096\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-7.png\" alt=\"\" width=\"904\" height=\"646\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-7.png 904w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-7-300x214.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-7-768x549.png 768w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/p><p>Select the group name where want to apply the policy.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31097\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-8.png\" alt=\"\" width=\"1171\" height=\"645\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-8.png 1171w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-8-300x165.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-8-1024x564.png 1024w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-8-768x423.png 768w\" sizes=\"(max-width: 1171px) 100vw, 1171px\" \/><\/p><p>Now validate all the settings and click on create.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-31098\" src=\"http:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-9.png\" alt=\"\" width=\"931\" height=\"648\" srcset=\"https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-9.png 931w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-9-300x209.png 300w, https:\/\/endusersupports.com\/wp-content\/uploads\/2026\/06\/How-to-block-or-allow-traffic-9-768x535.png 768w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/p><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>How to deploy Firewall rule from Intune Windows Firewall Rules\u00a0 \u00a0 Windows Firewall enables administrators to create detailed, granular firewall rules. These rules can specify ports, protocols, applications, and network locations to control which traffic is allowed or blocked. This level of customization helps ensure only authorized network communications occur on the device.\u00a0 Types of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":31039,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19],"tags":[],"class_list":["post-30983","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-defender-for-endpoint"],"views":14,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/posts\/30983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/comments?post=30983"}],"version-history":[{"count":5,"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/posts\/30983\/revisions"}],"predecessor-version":[{"id":31101,"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/posts\/30983\/revisions\/31101"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/media\/31039"}],"wp:attachment":[{"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/media?parent=30983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/categories?post=30983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/endusersupports.com\/index.php\/wp-json\/wp\/v2\/tags?post=30983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}