basforge

Search titles, text and the “If it doesn’t work” cases.

    RU

    Test your server’s protection by action

    Test protection by doing: ban your own address and see that the site doesn’t open. A config can look right and still not work.

    A 2-minute ban

    From your phone on mobile data — it has a different address, which ifconfig.me shows:

    docker exec crowdsec cscli decisions add --ip <phone IP> --duration 2m --reason test

    The short duration is insurance: if you banned the wrong address, the ban lifts itself in 2 minutes.

    What each kind of site should do — a site behind Cloudflare, a direct domain, SSH — is covered in CrowdSec with Traefik behind Cloudflare. The config looks equally right when the middleware hangs on the wrong router (Middleware on a missing router) and when the firewall lacks a forward hook (Docker ports bypass the input chain). Only a ban shows the difference.