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

by Matthew Adams
Matthew Adams
Matthew Adams
Windows & Software Expert
Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things... read more
Affiliate Disclosure

To fix Windows PC system issues, you will need a dedicated tool

  • Download Fortect and install it on your PC
  • Start the tool's scanning process to look for corrupt files that are the source of your problem
  • Right-click on Start Repair so the tool can start the fixing algorithm
Download Now Fortect has been downloaded by 0 readers this month, rated 4.4 on TrustPilot

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. 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.

This article covers:Topics: