IP Access Rules error

I tried to add these IPs from PayPal, but I get this error for each:
Only an IPv4 range (CIDR) value of /16 or /24 is allowed for IP Access Rules

  • 64.4.240.0/21
  • 64.4.248.0/22
  • 66.211.168.0/22
  • 173.0.80.0/20
  • 91.243.72.0/23

If you need to block or bypass these:

Then rather create a Firewall Rule and using the operator value to “is in”.

I just saw that posted in another thread with no explanation. Us newbies need all the help we can get…

1 Like

BTW, I would like to allow those IPs, not block them.

1 Like

Same issue for me.

How and where do you change the operator value to “is in”?

This IP:
64.4.240.0/21

Gives this error…
Only an IPv4 range (CIDR) value of /16 or /24 is allowed for IP Access Rules

Different person, same problem. I cannot figure out how to do what you suggested.

I see “Field” “Operator” and “Value”

I do not know what to put for “Field” or “Value”.

So someone is moving my posts and not answering them. Hurray for you.

Below operator is the value

I’m not likely someone from the cloudflare staff

@ab7fh1 would look like this one

  1. Copy this:
    (ip.src in {64.4.240.0/21 64.4.248.0/22 66.211.168.0/22 173.0.80.0/20 91.243.72.0/23})

  2. And click on blue link “Edit expression” and paste it into the textarea field.

  3. Give that one rule a name in the text field “Rule name”.

  4. Select action “Bypass” → “Security Level”.

  5. Click on save.

1 Like

Thank you. Got it.

2 Likes

I am happy to assist you :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.