CloudFlare Bouncer - not_entitled.max_rules

Hello,

I was hoping that to find someone who has dealt with this before. I have five domains under Cloudflare. I use a free account with them. When setting up the bouncer, I created the token as needed but I get the issue as seen in the screenshot. Anyone dealt with this before?

@Trenta Do you have existing firewall rules for the domains already ? For free account CF allows you to have atmost 5 rules. The bouncer creates one rule and this might be exceeding the quota. Thus causing the error.

Other than that, do the tokens have access as given here https://raw.githubusercontent.com/crowdsecurity/cs-cloudflare-bouncer/main/docs/assets/token_permissions.png ?

@Trenta I was able to reproduce this error by doing the following:

  1. Have existing 5 firewall rules on a zone. Free plan.
  2. Run the bouncer. The bouncer produces the above error when it tries to create for crowdsec stuff.

This is caused due exceeding firewall rule limit. To fix this you’ll need to delete an existing rule.

It turns out that it was failing due to my other domains I have under Cloudflare. The main one I was focusing on had no rules in place, but the other domains had five rules on in most of them. Removed them, ran the setup again, and boom. Thank you so much. Just a brain fart on my end. :slight_smile: