{"id":120,"date":"2024-01-05T11:23:44","date_gmt":"2024-01-05T11:23:44","guid":{"rendered":"https:\/\/chennaihosting.co.in\/kb\/?p=120"},"modified":"2024-01-24T01:18:51","modified_gmt":"2024-01-24T01:18:51","slug":"how-to-add-ip-address-in-windows-firewall","status":"publish","type":"post","link":"https:\/\/chennaihosting.co.in\/kb\/how-to-add-ip-address-in-windows-firewall\/","title":{"rendered":"How to add IP address in windows firewall"},"content":{"rendered":"\n<p>In <a href=\"https:\/\/chennaihosting.co.in\/windows-web-hosting-chennai.html\" data-type=\"link\" data-id=\"https:\/\/chennaihosting.co.in\/windows-web-hosting-chennai.html\">Windows Server<\/a>, the Windows Firewall serves a similar purpose as it does in Windows client operating systems. However, in a server environment, the Windows Firewall is a critical component for securing the server against unauthorized access, network-based threats, and potential security vulnerabilities.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"491\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/img-1.png\" alt=\"\" class=\"wp-image-144\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/img-1.png 624w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/img-1-300x236.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#key-aspects-of-the-windows-firewall-in-windows-server-include\">Key aspects of the Windows Firewall in Windows Server include:<\/a><\/li><li><a href=\"#access-windows-defender-firewall-settings\">Access Windows Defender Firewall Settings:<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"key-aspects-of-the-windows-firewall-in-windows-server-include\">Key aspects of the Windows Firewall in Windows Server include:<\/h2>\n\n\n\n<p><strong>Protection against Unauthorized Access:<\/strong> The Windows Firewall acts as a barrier between the server and external networks, controlling incoming and outgoing traffic based on predefined rules. It helps prevent unauthorized access to the server by blocking potentially harmful traffic.<\/p>\n\n\n\n<p><strong>Inbound and Outbound Rules:<\/strong> Similar to the client operating system, administrators can configure inbound and outbound rules to allow or block specific types of traffic, ports, protocols, or IP addresses.<\/p>\n\n\n\n<p><strong>Profiles for Different Network Types: <\/strong>Windows Server allows administrators to set different profiles (such as domain, private, and public) with distinct firewall settings suitable for various network environments.<\/p>\n\n\n\n<p><strong>Customization and Configuration:<\/strong> Administrators can create custom rules to define which services or applications are permitted to communicate over the network. This customization allows for fine-tuning security settings based on specific server requirements.<\/p>\n\n\n\n<p><strong>Integration with Server Manager and PowerShell:<\/strong> Windows Firewall settings can be managed through Server Manager&#8217;s graphical interface or via PowerShell commands, providing flexibility and ease of administration for system administrators.<\/p>\n\n\n\n<p><strong>Logging and Monitoring:<\/strong> The Windows Firewall in Windows Server includes logging and monitoring capabilities, allowing administrators to track and analyze network traffic, security events, and firewall activities for auditing and troubleshooting purposes.<\/p>\n\n\n\n<p><strong>Group Policy Management:<\/strong> Windows Server leverages Group Policy for centralized management of Windows Firewall settings across multiple servers in an organization. This allows administrators to enforce consistent security policies throughout the network.<\/p>\n\n\n\n<p>Securing a server environment is paramount for maintaining the confidentiality, integrity, and availability of critical data and services. The Windows Firewall, when properly configured and managed, plays a crucial role in enhancing the security posture of Windows Server installations by controlling network traffic and minimizing potential security risks.<\/p>\n\n\n\n<p>To add an IP address to the Windows Firewall, you can use the Windows Defender Firewall settings. Here&#8217;s a step-by-step guide:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"access-windows-defender-firewall-settings\"><strong>Access Windows Defender Firewall Settings:<\/strong><\/h2>\n\n\n\n<p>Go to the Start menu and search for &#8220;Windows Defender Firewall.&#8221; Click on it to open the Firewall settings.<br><strong>Navigate to Advanced Settings:<\/strong><\/p>\n\n\n\n<p>On the left-hand side of the window, click on &#8220;Advanced settings.&#8221; This will open the Windows Defender Firewall with Advanced Security window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"559\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/1-1-1024x559.png\" alt=\"\" class=\"wp-image-126\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/1-1-1024x559.png 1024w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/1-1-300x164.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/1-1-768x419.png 768w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/1-1.png 1170w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br><strong>Select Inbound or Outbound Rules:<\/strong><\/p>\n\n\n\n<p>To add an IP address-based rule for inbound connections (incoming traffic), click on &#8220;Inbound Rules&#8221; in the left-hand pane.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"611\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/2-1024x611.png\" alt=\"\" class=\"wp-image-127\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/2-1024x611.png 1024w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/2-300x179.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/2-768x458.png 768w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/2.png 1408w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br>To add an IP address-based rule for outbound connections (outgoing traffic), click on &#8220;Outbound Rules&#8221; in the left-hand pane.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1398\" height=\"782\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/3-1024x573.png\" alt=\"\" class=\"wp-image-128\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/3-1024x573.png 1024w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/3-300x168.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/3-768x430.png 768w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/3.png 1398w\" sizes=\"auto, (max-width: 1398px) 100vw, 1398px\" \/><\/figure>\n\n\n\n<p><br><strong>Create a New Rule:<\/strong><\/p>\n\n\n\n<p>In the right-hand pane, click on &#8220;New Rule\u2026&#8221; This will open the New Inbound (or Outbound) Rule Wizard.<br>Choose Rule Type:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"636\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/4.png\" alt=\"\" class=\"wp-image-129\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/4.png 899w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/4-300x212.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/4-768x543.png 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/figure>\n\n\n\n<p>Select the rule type you want to create (Program, Port, Predefined, or Custom). For this case, select &#8220;Custom&#8221; and click &#8220;Next.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"550\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/5.png\" alt=\"\" class=\"wp-image-130\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/5.png 718w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/5-300x230.png 300w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/figure>\n\n\n\n<p><br><strong>Choose Rule Scope:<\/strong><\/p>\n\n\n\n<p>Under &#8220;Which remote IP addresses does this rule apply to?&#8221; select &#8220;These IP addresses.&#8221; Click on &#8220;Add&#8221; to specify the IP address or IP range.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"716\" height=\"553\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/6.png\" alt=\"\" class=\"wp-image-131\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/6.png 716w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/6-300x232.png 300w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/figure>\n\n\n\n<p><br><strong>Specify IP Address or IP Range:<\/strong><\/p>\n\n\n\n<p>In the &#8220;This IP address or subnet&#8221; field, enter the IP address or range you want to allow or block. You can use specific IP addresses (e.g., 192.168.1.1) or specify a range using subnet notation (e.g., 192.168.1.0\/24). Click &#8220;OK&#8221; after entering the address.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"895\" height=\"692\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/7.png\" alt=\"\" class=\"wp-image-134\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/7.png 895w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/7-300x232.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/7-768x594.png 768w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/figure>\n\n\n\n<p><br><strong>Choose Action:<\/strong><\/p>\n\n\n\n<p>Select whether you want to &#8220;Allow the connection&#8221; or &#8220;Block the connection&#8221; and click &#8220;Next.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"728\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/8.png\" alt=\"\" class=\"wp-image-135\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/8.png 891w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/8-300x245.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/8-768x628.png 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/figure>\n\n\n\n<p><br><strong>Apply Rule to Profiles:<\/strong><\/p>\n\n\n\n<p>Select when the rule should apply (Domain, Private, Public). You can leave all checkboxes checked if you want the rule to apply across all network types. Click &#8220;Next.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"892\" height=\"727\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/9.png\" alt=\"\" class=\"wp-image-136\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/9.png 892w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/9-300x245.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/9-768x626.png 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/figure>\n\n\n\n<p><br><strong>Name and Describe the Rule:<\/strong><\/p>\n\n\n\n<p>Provide a name and description for the rule to help you identify it later. Click &#8220;Finish&#8221; to create the rule.<br>After completing these steps, the Windows Firewall will now include the rule you&#8217;ve added, allowing or blocking the specified IP address or range based on your configuration.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"893\" height=\"729\" src=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/10.png\" alt=\"\" class=\"wp-image-137\" srcset=\"https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/10.png 893w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/10-300x245.png 300w, https:\/\/chennaihosting.co.in\/kb\/wp-content\/uploads\/2024\/01\/10-768x627.png 768w\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Remember, managing firewall rules requires administrative privileges, so ensure you have the necessary permissions to make these changes.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Windows Server, the Windows Firewall serves a similar purpose [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":146,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[10],"class_list":["post-120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-windows-firewall"],"_links":{"self":[{"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":10,"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/posts\/120\/revisions\/192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/media\/146"}],"wp:attachment":[{"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chennaihosting.co.in\/kb\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}