Skip to main content

Integrating CrowdSec Blocklists Directly Into Your Firewall

Use CrowdSec's Blocklist within your firewall without the need to install the CrowdSec agent.

Difficulty1/5
CrowdSec Service Setup Time5 minutes
Firewall Configuration Time5~10 minutes
Involved ResourcesCrowdSec BLaaS Integration, CrowdSec Blocklists, User's Firewall

Steps to follow

For this use case, you will need to:

Test that it works and evaluate performance

  1. Check that the end point is providing the blocklist you subscribed to at the format you chose by running a curl command:
curl -u <user>:<password> <url of the endpoint>
  1. Check that the blocklist is being fetched by your firewall by observing the logs or metrics of your firewall. Depending on your firewall capabilities you can chose a metered action in your rule OR observe volume of ingress reaching your services before and after using the blocklist.
    Note that

Next step - Scale and Automate

You can use CrowdSec Service API (SAPI) to automate both:

You can also look into creating and Sharing your own blocklists via SAPI.
Check out our swagger for SAPI ↗️

(usecase coming soon)