Skip to content
THREATWIRE

Open Source Tools · Alternatives

Open-source alternatives to Cloudflare WAF

Cloudflare WAF is a managed web application firewall running on Cloudflare's network. Self-hosted options include the ModSecurity and Coraza engines (usually with the OWASP Core Rule Set), BunkerWeb as a hardened reverse proxy and CrowdSec for behaviour-based blocking.

Cloudflare WAF is a commercial product by Cloudflare (official site). Category: WAF and edge protection.

Comparison

ToolLicenceStarsLast commitBest for
CrowdSecMITOpen source15ktodayCollaborative behaviour-based IPS
BunkerWebAGPL-3.0-onlyOpen source11k5 days agoNginx-based web application firewall
ModSecurityApache-2.0Open source9.8k4 days agoWeb application firewall engine
CorazaApache-2.0Open source3.9ktodayModSecurity-compatible WAF library in Go

Open-source options

  • CrowdSec

    Collaborative behaviour-based IPS

    Security engine that parses logs to detect aggressive behaviour, blocks it with remediation components and shares signals in a community blocklist.

    Stars
    15k
    Forks
    745
    Last commit
    today
    Alternative toCloudflare WAF
  • BunkerWeb

    Nginx-based web application firewall

    WAF and hardened reverse proxy based on Nginx, with ModSecurity and the OWASP CRS, bot protection and a web UI, for Docker, Kubernetes or Linux.

    Stars
    11k
    Forks
    655
    Last commit
    5 days ago
    AGPL-3.0-onlyOpen sourceWAF and edge protection
    Alternative toCloudflare WAF
  • ModSecurity

    Web application firewall engine

    Cross-platform WAF engine (libmodsecurity) for Apache, Nginx and IIS, typically used with the OWASP Core Rule Set. Now an OWASP project.

    Stars
    9.8k
    Forks
    1.8k
    Last commit
    4 days ago
    Apache-2.0Open sourceWAF and edge protection
    Alternative toCloudflare WAF
  • Coraza

    ModSecurity-compatible WAF library in Go

    OWASP WAF library written in Go, compatible with ModSecurity SecLang rules and the OWASP Core Rule Set, embeddable in Go apps and proxies.

    Stars
    3.9k
    Forks
    370
    Last commit
    today
    Apache-2.0Open sourceWAF and edge protection
    Alternative toCloudflare WAF

Product names are trademarks of their owners. ThreatWire is not affiliated with Cloudflare. The comparison covers what each tool is designed to do, not a feature-by-feature equivalence.