Self-Hosted Cloudflare Alternatives

Cloudflare is not available as a self-hosted solution but there are plenty of alternatives for power users and businesses that want to host a solution on-premise. The best Self-Hosted alternative 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 17 of them are available as a self-hosted solution so hopefully you can find a suitable replacement. Other interesting Self-Hosted alternatives to Cloudflare are Sucuri, BunkerWeb, FastNetMon and NetGoat.

filter to find the best alternatives

Most Cloudflare alternatives are Web Application Firewalls, but you can also narrow the list to CDNs or Reverse Proxy Servers. Other popular filters are Open Source, Free, Self-Hosted and EU. You can also filter for EU-based alternatives if you prefer software from the European Union.
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.3k

    Platforms

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

    A web security portfolio offering a combination of on-premise installed security software in conjunction with a cloud hosted web application firewall and CDN.

    Cost / License

    • Freemium (Subscription)
    • Proprietary

    Application type

    Since

    • Since 2010

    Platforms

    • Self-Hosted
    • Wordpress
    • US flagUnited States
    Sucuri screenshot 1
    Good alternative?
     
  3. 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
  4. FastNetMon icon
     2 likes

    FastNetMon is a very fast DDoS analyzer with sflow/netflow/mirror support.

    Cost / License

    • Subscription
    • Proprietary

    Application type

    Since

    • Since 2016

    Platforms

    • Self-Hosted
    • Perl
    Good alternative?
     
  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. 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?
     
  7. 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?
     
  8. 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?
     
  9. Cachoid icon
     4 likes

    Cachoid instantly spins up and orchestrates well-optimized Varnish Cache containers that work specifically with WordPress, AWS S3, Drupal, Magento, Github.io, and other platforms. You get a performant website, fine-grained and real-time control of your caching from a...

    Cost / License

    • Paid
    • Proprietary

    Application type

    Since

    • Since 2016

    Platforms

    • Windows
    • Mac
    • Linux
    • Self-Hosted
    Good alternative?
     
  10. 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?
     
  11. Indusface Web Application Scanning helps detect web application vulnerabilities, malware, and logical flaws with daily or on-demand comprehensive scanning. Managed by certified security experts, Indusface application scanner helps organizations find greater business impact of...

    Cost / License

    • Subscription
    • Proprietary

    Since

    • Since 2017

    Platforms

    • Online
    • Self-Hosted
    Good alternative?
     
  12. 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

    GitHub

    • GitHub stars: 1

    Platforms

    • Self-Hosted
    Good alternative?
     
12 of 17 Cloudflare alternatives