Skip to content

A CrowdSec Bouncer that syncs the decisions made by CrowdSec with CloudFlare's firewall using cloudflare workers. Manages multi user, multi account, multi zone setup. Supports IP, Country and AS scoped decisions.

License

Notifications You must be signed in to change notification settings

crowdsecurity/cs-cloudflare-worker-bouncer

Repository files navigation

CrowdSec

💠 Hub 💬 Discourse

⚠️ Due to the heavy usage of KV and Workers quotas on Cloudflare free plan, the paid Cloudflare Worker Plan is recommended for this remediation component.

⚠️ Follow this guide to test on free Plan

⚠️ Make sure to properly set up The worker route fail mode

CrowdSec Cloudflare Worker

A remediation component for Cloudflare.

How does it work

This remediation component deploys Cloudflare Worker in front of a Cloudflare Zone/Website, which checks if incoming IP addresses are present in a KV store and takes necessary remedial actions. It also periodically updates the KV store with CrowdSec LAPI's decisions.

Documentation

Please follow the official documentation.

About

A CrowdSec Bouncer that syncs the decisions made by CrowdSec with CloudFlare's firewall using cloudflare workers. Manages multi user, multi account, multi zone setup. Supports IP, Country and AS scoped decisions.

Resources

License

Stars

Watchers

Forks

Packages