Open Source Cloudflare AlternativesCDNs & Web Application Firewalls like Cloudflare

The best open source alternative to Cloudflare is Anubis, which is free for personal use. If that doesn't suit you, our users have ranked more than 100 alternatives to Cloudflare and 19 of them are open source so hopefully you can find a suitable replacement. Other interesting open source alternatives to Cloudflare are Duck DNS, Haproxy, BunkerWeb and NetGoat.

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.

    60 Anubis alternatives

    Cost / License

    • Free Personal
    • Open Source (MIT)

    Application type

    Since

    • Since 2025 (updated Nov 2026)

    GitHub

    • GitHub stars: 24.2k

    Platforms

    • Self-Hosted
    • Docker
    • Go (Programming Language)
    Good alternative?
     
  2. Duck DNS icon
     53 likes

    Free dynamic DNS hosted on Amazon VPC.

    25 Duck DNS alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Since

    • Since 2014

    Platforms

    • Windows
    • Mac
    • Linux
    • Online
    Good alternative?
     
  3. Haproxy icon
     21 likes

    HAProxy is free, open source software that provides a high availability load balancer and proxy server for TCP and HTTP-based applications that spreads requests across multiple servers.

    38 Haproxy alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Since

    • Since 2014

    Platforms

    • Linux
    • BSD
    Good alternative?
     
  4. BunkerWeb icon
     8 likes

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

    69 BunkerWeb alternatives

    Cost / License

    Application type

    Since

    • Since 2023 (updated Nov 2026)

    GitHub

    • GitHub stars: 11.3k

    Platforms

    • Self-Hosted
    Good alternative?
     
    |
    1
  5. 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!.

    Cost / License

    • Freemium (Subscription)
    • Open Source (AGPL-3.0)

    Application type

    Since

    • Since 2025 (updated Nov 2026)

    GitHub

    • GitHub stars: 906

    Platforms

    • Self-Hosted
    Good alternative?
     
  6.  2 likes

    HaGeZi DNS offers free, non-commercial public DNS resolvers designed and operated by a private individual for the European community. It provides robust DNS-based blocking of ads, trackers, scam, phishing, fake, and malware domains - helping users achieve greater privacy and...

    Cost / License

    Since

    • Since 2025 (updated Nov 2026)

    GitHub

    • GitHub stars: 665

    Platforms

    • Online
    Good alternative?
     
  7. open-appsec (openappsec.io) in an open-source initiative that builds on machine learning to provide pre-emptive web app & API threat protection against OWASP-Top-10 and zero-day attacks.

    15 open-appsec alternatives

    Cost / License

    Application type

    Since

    • Since 2022 (updated Sep 2026)

    GitHub

    • GitHub stars: 1.7k

    Platforms

    • Linux
    Good alternative?
     
  8. 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.

    30 SafeLine alternatives

    Cost / License

    • Freemium (Subscription)
    • Open Source (GPL-3.0)

    Application type

    Since

    • Since 2024 (updated Nov 2026)

    GitHub

    • GitHub stars: 23.3k

    Platforms

    • Self-Hosted
    • Docker
    Good alternative?
     
  9. 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. 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 (updated Nov 2026)

    GitHub

    • GitHub stars: 4k

    Platforms

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

    Purge Cloudflare cache without opening a browser. Native apps for developers and agencies on iPhone, iPad, Android and Windows. Multi-account, selective or total purges, favorites. Three taps. Free. Private.

    Cost / License

    • Free
    • Open Source (MIT)

    Since

    • Since 2026 (updated Jul 2026)

    Platforms

    • Windows
    • Mac
    • Android
    • iPhone
    • iPad
    Good alternative?
     
  12. 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

    GitHub

    • GitHub stars: 52

    Platforms

    • Windows
    • Mac
    • Linux
    • Self-Hosted
    • Android
    • iPhone
    • iPad
    • Android Tablet
    • Docker
    • Google Chrome
    Good alternative?
     
12 of 19 Cloudflare alternatives