Open Source Cloudflare Alternatives
1 alternative · Data checked
·
By Alston Antony, founder & editor · Tunnels, VPNs and networking
Octelium is the top-ranked open source alternative to Cloudflare, best for teams wanting a self-hosted ZTNA, VPN and tunnel platform replacing Cloudflare Access and Tunnel. We list 1 open source option, ranked by fit, project health and license.
Best overall
Best for: Teams wanting a self-hosted ZTNA, VPN and tunnel platform replacing Cloudflare Access and Tunnel
Why people leave Cloudflare
Cloudflare is a US network and security company founded in 2006. Its Zero Trust products cover remote access VPN replacement, site-to-site connectivity, zero trust network access, single sign-on with identity providers, and access control policies for internal apps and networks. Traffic routes through Cloudflare's network. IT and security teams use it to reach private resources without opening inbound ports. It is sold as a hosted service.
- Traffic runs through one vendor. Your private access traffic passes through Cloudflare's network. Self-hosted tunnels and VPNs let you keep that path under your control.
- Dependence on a single provider. DNS, access and networking tied to one company raise lock-in. An outage or policy change affects everything at once.
- Per-user pricing at scale. Zero trust access is typically billed by user. Costs rise as your team grows, while self-hosted options have no seat fees.
- Closed platform. You cannot inspect or modify the proxy and policy engine. Open source tools let you audit and adapt them.
Quick comparison
| # | Alternative | License | Stars | Health | Platforms | Fit | Parity | Migration | Imports from Cloudflare |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Octelium | Copyleft | 4.2k | Thriving | – | Self-hosted equivalent | 58% | Hard | No |
Fit = how much of Cloudflare's job the tool replaces. Parity = share of Cloudflare's core features the tool covers fully. Migration = effort to move your data and team over. Health and stars from November 24, 2026. How we rank.
Open source Cloudflare alternatives
- 1
Octelium
Self-hosted zero trust platform for VPN, tunnels and API gateway use
4.2k Thriving 78 Copyleft Self-hosted equivalentOctelium combines ZTNA, VPN and tunnels, so it maps to Cloudflare Access and Tunnel at 58.3% parity. It has 4,197 stars, the smallest community of the three. Migration is rated hard, and it has no CDN, edge network or DNS hosting.
Strengths
- One platform for VPN, ZTNA, tunnels, API gateway and AI gateway
- Access over WireGuard or QUIC, plus clientless access
- Per-request, identity-based policy control
- Active development with 25 releases in the last year
Trade-offs
- No authoritative DNS hosting
- No global CDN or edge network
- No DNS filtering
- More complex to deploy than a single tunnel client
- Best for
- Teams wanting a self-hosted ZTNA, VPN and tunnel platform replacing Cloudflare Access and Tunnel
- Fit
- Self-hosted equivalent · 58% feature parity
- Health
- 78/100 (Thriving) · breakdown
- License
- Copyleft (OSI) (AGPL-3.0)
- Hosting
- Self-hosted
- Migration
- Hard
- Last commit
- Nov 2026
Feature parity with Cloudflare · 58%
- Yes Remote access VPN
- Yes Zero trust network access
- Yes SSO and identity providers
- Yes Access control policies
- Yes Expose services via tunnel
- No Mesh overlay network
- No DNS management
- No DNS filtering
- Partly Desktop and mobile clients
Feature parity: Cloudflare vs the top 1
| Feature | Cloudflare | Octelium |
|---|---|---|
| Remote access VPN | Yes | Yes |
| Site-to-site connectivity | Yes | – |
| Zero trust network access | Yes | Yes |
| SSO and identity providers | Yes | Yes |
| Access control policies | Yes | Yes |
| Expose services via tunnel | Yes | Yes |
| Mesh overlay network | Partly | No |
| DNS management | Yes | No |
| DNS filtering | Yes | No |
| Desktop and mobile clients | Yes | Partly |
yes · partly · no · – not checked.
Cost to switch
What Cloudflare costs your team in a year, against running an open source alternative yourself.
Enter Cloudflare's price per seat to compare.
Server prices are typical monthly VPS prices for the RAM the tool needs (2 GB when unknown). Your time to run and update it is not included.
2026 edition. Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.