Can not block IP range

Hello,

I want to block IP addresses from 195.154.128.0 to 195.154.255.255. All CIDR calculators return: 195.154.128.0/17. However I can not add 195.154.128.0/17 to the IP firewall. I get this error:

Only an IPv4 range (CIDR) value of /16 or /24 is allowed for Access Rules.

How can I block this IP range? Thanks.

You can find info about adjusting WAF rules for different IP ranges in this article (under step 6).

Ryan, thank you for your answer but the step 6 only explains how to whitelist/block an IP address. My problem is that I can not block the range 195.154.128.0/17 because of error.

It should allow for ranges as well as individual IPs. I believe the ranges need to be in multiples of 8 though. so /24, /16, etc.

A post was split to a new topic: Block an IP range