Open Source Self-Hosted Cloudflare Alternatives

Cloudflare is not available as a self-hosted solution but there are some alternatives for power users and business that want to host a solution on-premise. The best open source Self-Hosted alternative is Anubis. It's not free, so if you're looking for a free alternative, you could try Anubis or BunkerWeb. If that doesn't suit you, our users have ranked more than 100 alternatives to Cloudflare and ten of them are open source and available as a self-hosted solution so hopefully you can find a suitable replacement. Other interesting open source Self-Hosted alternatives to Cloudflare are SafeLine, coraza, deCDN and CDNCA.

Copy a direct link to this comment to your clipboard
Alternatives
Cloudflare alternatives page was last updated

Alternatives list

  1. Anubis icon
     22 likes

    Applies sha256 proof-of-work challenges to incoming HTTP requests, targeting AI crawlers, bots that ignore robots.txt, and automated scrapers, protecting server resources and preventing unwanted search engine indexing for privacy-focused sites.

    59 Anubis alternatives

    Cost / License

    • Free Personal
    • Open Source (MIT)

    Application type

    Since

    • Since 2025

    Platforms

    • Self-Hosted
    • Docker
    • Go (Programming Language)
    Good alternative?
     
  2. BunkerWeb icon
     8 likes

    BunkerWeb is a next-generation and open-source Web Application Firewall (WAF).

    68 BunkerWeb alternatives

    Cost / License

    Application type

    Since

    • Since 2023

    Platforms

    • Self-Hosted
    Good alternative?
     
    |
    1
  3. NetGoat icon
     3 likes

    A Cloudflare alternative for local and cloud use, can be used ontop of cloudflare for cloudflares paid features, but for free!.

    9 NetGoat alternatives

    Cost / License

    Application type

    Since

    • Since 2025

    Platforms

    • Self-Hosted
    Good alternative?
     
  4. SafeLine icon
     2 likes

    SafeLine is a docker-based, easy to use, self-hosted free web application firewall (WAF) that protects web apps by filtering and monitoring HTTP traffic between a web application and the Internet.

    29 SafeLine alternatives

    Cost / License

    Application type

    Since

    • Since 2024

    Platforms

    • Self-Hosted
    • Docker
    Good alternative?
     
  5. coraza icon
     2 likes

    Coraza is an open source, enterprise-grade, high performance Web Application Firewall (WAF) ready to protect your beloved applications. It is written in Go, supports ModSecurity SecLang rulesets and is 100% compatible with the OWASP Core Rule Set v4.

    Cost / License

    Application type

    Since

    • Since 2025

    Platforms

    • Self-Hosted
    • Go (Programming Language)
    Good alternative?
     
  6. deCDN icon
     1 like

    Decentralized CDN where nodes cache and serve content-addressed blobs over iroh QUIC, and clients pay per-MB via off-chain USDC shared payment pools.

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Since

    • New

    Platforms

    • Windows
    • Mac
    • Linux
    • Self-Hosted
    • Android
    • iPhone
    • iPad
    • Android Tablet
    • Docker
    • Google Chrome
    Good alternative?
     
  7. CDNCA icon
     Like

    CDNCA Community Edition is an AGPL-3.0 self-hosted CDN management system. It provides a web console and node software for managing edge nodes, websites and origins, cache rules, refresh and preheat tasks, DNS and certificates, WAF/CC policies, traffic statistics and logs.

    Cost / License

    Since

    • New

    Platforms

    • Self-Hosted
    Good alternative?
     
  8. Agentuity icon
     Like

    The full-stack cloud platform for AI agents. Build with intelligent routing, persistent state, and seamless handoffs. Deploy with built-in APIs, React frontends, databases, sandboxes, and monitoring — on our cloud, your VPC, or on-prem.

    Cost / License

    Since

    • Since 2026

    Platforms

    • Windows
    • Mac
    • Linux
    • Online
    • Self-Hosted
    • Docker
    Good alternative?
     
  9. Corvus AWPG (Active Web Protection Gateway) is a self-hosted gateway that sits in front of your web services. It is as easy to run as Nginx Proxy Manager, with domains, forwarding and free Let's Encrypt certificates set up from a web console in a few clicks, and it also...

    7 Corvus AWPG alternatives

    Cost / License

    Application type

    Since

    • New

    Platforms

    • Self-Hosted
    • Docker
    Good alternative?
     
  10. Dinemic icon
     1 like

    Self hosted platform to expose your web applications without depending on a single provider, region or datacenter. Orchestrate load balancers, authoritative DNS and TLS, all with focus on high availability, to connect apps to the Internet.

    Cost / License

    Application type

    Since

    • Since 2026

    Platforms

    • Self-Hosted
    Good alternative?
     
10 of 10 Cloudflare alternatives