I’m already using the firewall bouncer and I’d like to add the cloudflare bouncer.
The thing is that I don’t really understand how to configure it.
The doc here explains a bit: Cloudflare Bouncer | CrowdSec
I installed the apt packet. Now I’m blocked at this step:
crowdsec-cloudflare-bouncer -g <CLOUDFLARE_TOKEN1>,<CLOUDFLARE_TOKEN2> -o /etc/crowdsec/bouncers/crowdsec-cloudflare-bouncer.yaml # auto-generate cloudflare config for provided space separated tokens
I have a CloudFlare token because I’m using the API to manage my WAF myself.
But why do I need 2 tokens? What permission must be set to the token?
I tried with my current token (so only one) and then executed the next command:
From what I understand it’s supposed to create new WAF rules.
But it does nothing in my CloudFlare WAF and keeps executing, never stops.
Can someone help me understand please ?