How to Configure Windows Firewall to Allow IP Ranges [Full Guide]

Give a try to these quick method right away

Reading time icon 2 min. read


Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

The Windows Defender Firewall can block network traffic for IP (Internet Protocol) addresses. However, some users might need to unblock a range of IP addresses on their home networks.

Users can do that by setting up a rule that permits an IP address range through the Windows Defender Firewall. This is how users can set up a firewall rule that permits an IP range.

How do I Set up an IP Range Firewall Rule?

  1. First, open the search utility in Windows by pressing the Windows key + S keyboard shortcut.
  2. Input the keyword ‘Windows Defender Firewall’ in the search box.
  3. Then click Windows Defender Firewall with Advanced Security to open the window shown directly below.Windows Defender Firewall Advanced Security windows firewall allow ip range
  4. Select Inbound Rules and click New Rules to open the window in the snapshot directly below.The New Inbound Rule Wizard windows firewall allow ip range
  5. Select the Custom option, and click Next.
  6. Click the Next buttons for the Program and Protocol and Ports steps.
  7. Select the These IP addresses radio button shown directly below.These IP addresses option windows firewall allow ip range
  8. Then press the Add button, which will open the window in the snapshot directly below.IP Address window windows firewall allow ip range
  9. Select the This IP address range option.
  10. Then enter the IP address range in the From and To text boxes.
  11. Click the OK button.
  12. Press the Next button to proceed to Action.Allow the connection option windows firewall allow ip range
  13. Select the Allow the connection option there if it’s not already selected, and click the Next button.
  14. Click Next on the Profile step.
  15. Then enter a title for the rule.
  16. Users can also add some extra details for the rule in the second text box.Name step windows firewall allow ip range
  17. Select the Finish option.

Now, the Windows Defender Firewall will allow the IP range specified within the rule to establish connections.

If you want to learn more, we have a great guide on how to remove duplicate Windows Firewall rules, so be sure to check it out.

Users can also block IP ranges establishing connections by selecting the Block the connection option on the Action steps instead. Users may double-click the IP range rule within Inbound Rules to modify it.

More about the topics: firewall, Windows 10 Guides