All alternatives

Open source alternatives to Cloudflare

Edge security and CDN platform providing WAF, DDoS protection, DNS and zero-trust access. These 5 projects cover the same ground. They are ordered by GitHub stars, with the licence and last commit shown so you can check whether a project is maintained before you move a team onto it.

199.9k stars combined5 projects5 committed in the last 30 dayscloudflare.com

The shortlist

Highest star count first. Not a review score.

CaddySelf-hosted

Application security · Go

79.9k

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Alternative to Cloudflare

Licence
Apache-2.0
Last commit
3 days ago
Repo
caddyserver/caddy

TraefikSelf-hosted

Application security · Go

65.9k

The Cloud Native Application Proxy

Alternative to Cloudflare

Licence
MIT
Last commit
3 days ago
Repo
traefik/traefik

NGINXSelf-hosted

Application security · C

34.2k

The official NGINX Open Source repository.

Alternative to Cloudflare

Licence
BSD-2-Clause
Last commit
7 days ago
Repo
nginx/nginx

CrowdSecSelf-hosted

Application security · Go

15.9k

Open-source IDS/IPS, WAF and bot detection for Linux, Windows, Docker and Kubernetes, with a crowdsourced blocklist of malicious IPs.

Alternative to Cloudflare

Licence
MIT
Last commit
3 days ago
Repo
crowdsecurity/crowdsec

Coraza WAFSelf-hosted

Application security · Go

4.1k

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library

Alternative to Cloudflare

Licence
Apache-2.0
Last commit
3 days ago
Repo
corazawaf/coraza

Before you switch

Three facts from this list, not a sales pitch.

Activity
5 of 5 projects had a commit in the last 30 days.
Licences
Apache-2.0 (2), MIT (2), BSD-2-Clause (1).
Largest project
Caddy with 79.9k stars, last commit 3 days ago.

Stars and commits read from GitHub on 2 December 2026. A star is a bookmark, not a guarantee; check the licence and run the install on a spare machine before you migrate.

Where to run your pick

Many of these projects ship as a Docker image or a single binary. A small VPS is enough to try one; move to a managed platform when other people depend on it.

Plain links today; paid placements are labelled. Sponsor this page.

Know a project we missed?

Send the repository URL; we check it against GitHub before adding it.

Suggest a project

Source for every listing: GitHub. Not affiliated with Cloudflare or the projects listed.