How to configure Windows Firewall to allow IP ranges [FULL GUIDE]

Matthew Adams
by Matthew Adams
Windows & Software Expert
Download PDF
Affiliate Disclosure

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.

Most users didn’t know how to open firewall ports on the Windows Firewall. Read how now and do it like a pro.

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. Note that users can also block IP ranges establishing connections by selecting the Block the connection option on the Action steps instead. Users can double-click the IP range rule within Inbound Rules to modify it.


Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!