6 open-source alternatives ranked by real activity

Open-source Cloudflare Zero Trust alternatives

A curated, ranked list of the 6 best open-source alternatives to Cloudflare Zero Trust.

The best open-source alternative to Cloudflare Zero Trust is Tailscale. If that doesn't suit you, other good options are NetBird, OAuth2 Proxy, Octelium and Pomerium.

Commercial alternatives to Cloudflare Zero Trust include NordLayer, Tailscale, Twingate and Netskope. See all 13.

Cloudflare Zero Trust alternatives are mainly networking & VPN tools, but some are also auth & identity tools and security tools. 6 of them shipped code in the last 30 days, 6 can be self-hosted, and 4 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

Tailscale

Tailscale builds private WireGuard-based networks between your devices; this repository holds the open-source client daemon and CLI.

GitHub stars
39k
Last commit
2 days ago
Latest release
v1.104.6
Licence
BSD-3-Clause
Hosted version
Available
tailscale.comTailscale homepage screenshot

Tailscale makes private networks between devices using the WireGuard protocol, with sign-in handled by existing identity providers and two-factor authentication. The GitHub repository contains most of the company's open-source code, notably the tailscaled daemon and the tailscale command-line tool. It is published under the BSD-3-Clause license and written in Go.

The daemon runs on Linux, Windows and macOS, with partial support on FreeBSD and OpenBSD. The iOS and Android apps reuse this code, while the graphical wrappers for some non-open platforms are not open source, so the full product is a mix of open and proprietary parts. Packages for many distributions are served from the project's package site, and the code can be built from source with the latest Go release. The service itself is hosted by Tailscale.

Key features

  • WireGuard-based private device networking
  • tailscaled daemon and tailscale CLI
  • Sign-in through SSO and two-factor authentication
  • Clients for Linux, Windows, macOS, iOS and Android
  • Packages for Synology, QNAP and Debian-style distros
  • Client source code under BSD-3-Clause

Pricing: Personal is free forever for up to 6 users. Standard costs $8 and Premium $18 per user per month; Enterprise is custom and quoted through sales.

Read more about TailscaleWebsiteGitHub#1 Cloudflare Zero Trust alternative

NetBird

NetBird builds a secure WireGuard-based overlay network for devices and users, with SSO, MFA and granular access controls.

GitHub stars
31k
Last commit
yesterday
Latest release
v0.82.1
Self-hosted
Yes
Hosted version
Available
netbird.ioNetBird homepage screenshot

NetBird joins a configuration-free peer-to-peer private network with a central access control system on one platform. It creates a WireGuard-based overlay that connects machines over encrypted tunnels automatically, which avoids opening ports, writing complex firewall rules or running VPN gateways. It is written in Go and can be used for an organization or a home network. The repository metadata lists the license as Other.

Connectivity features include kernel WireGuard, peer-to-peer connections with relay fallback, routes to external networks, exit nodes, and private DNS with custom zones. For management and security there is an admin web UI, automatic peer discovery, SSO and MFA, identity provider integrations, groups and rules for access control, activity logging, traffic events and device posture checks. A public API, setup keys, a Terraform provider and a self-hosting quickstart script support automation. Clients cover Linux, macOS, Windows, Android and Android TV, and an agent network beta targets AI agents.

Key features

  • WireGuard-based peer-to-peer overlay network
  • Relay fallback when direct connections fail
  • SSO, MFA and identity provider integrations
  • Access control through groups and rules
  • Private DNS, exit nodes and network routes
  • Public API and Terraform provider

Pricing: The cloud Free plan covers up to 5 users. Team costs €6 and Business €12 per user per month, with a free trial; Enterprise is custom, and NetBird can also be self-hosted.

Read more about NetBirdWebsiteGitHub#2 Cloudflare Zero Trust alternative

OAuth2 Proxy

OAuth2 Proxy is a reverse proxy and middleware that protects web apps with OAuth2 and OpenID Connect sign-in from many identity providers.

GitHub stars
15k
Last commit
4 days ago
Latest release
v7.15.6
Licence
MIT
Self-hosted
Yes
oauth2-proxy.github.ioOAuth2 Proxy homepage screenshot

OAuth2 Proxy is an open-source tool that adds OAuth2 and OIDC authentication to web applications. It can run as a standalone reverse proxy that intercepts requests and redirects users to an identity provider, or as middleware plugged into an existing reverse proxy or load balancer so it handles authentication for several applications.

It works with a generic OIDC client and also has specific implementations for providers such as Google, Microsoft Entra ID, GitHub and login.gov. Provider-specific code lets it extract details such as preferred usernames and groups, which can then be passed to upstream applications as HTTP headers. This avoids building login logic into each internal app.

OAuth2 Proxy is written in Go and released under the MIT license. Compiled binaries are published on GitHub for all major architectures and some less common ones, and container images are based on distroless since version 7.6.0, with Alpine-based images still available. Nightly images are built from the main branch.

Key features

  • Standalone reverse proxy or middleware mode
  • OAuth2 and OIDC authentication
  • Provider support for Google, Entra ID and GitHub
  • User details forwarded as HTTP headers
  • Binaries for many architectures
  • Distroless container images

Pricing: Free and open source under the MIT license.

Read more about OAuth2 ProxyWebsiteGitHub#3 Cloudflare Zero Trust alternative

Octelium

Octelium is a self-hosted zero trust access platform that can act as a VPN, ZTNA system, API and AI gateway, tunnel service or PaaS on Kubernetes.

GitHub stars
4.2k
Last commit
today
Latest release
v0.50.0
Licence
AGPL-3.0
Self-hosted
Yes
octelium.comOctelium homepage screenshot

Octelium is a self-hosted, open-source platform that unifies zero trust secure access under one system. It is flexible enough to act as a zero-config remote access VPN, a Zero Trust Network Access and BeyondCorp-style platform, an alternative to ngrok and Cloudflare Tunnel, an API gateway, an AI and LLM gateway, and an infrastructure for building MCP gateways and AI agent access.

Repository topics list attribute-based access control, policy as code, WireGuard, QUIC, SSO, multi-factor authentication, OpenTelemetry and SSH access. The README includes use cases, a feature overview, a guide to try it in a Codespace, CLI installation and instructions to install your first cluster. It is written in Go and runs on Kubernetes. It is compared to ngrok, Cloudflare Tunnel and Apigee for different roles.

Octelium is licensed under AGPL-3.0 and you operate the cluster yourself. It suits platform and security teams, homelab users and developers who want to replace several access, tunnel and gateway tools with one self-hosted system.

Key features

  • Zero-config remote access VPN
  • ZTNA and BeyondCorp-style access
  • API, AI and MCP gateway capabilities
  • Tunnel service as ngrok alternative
  • Attribute-based policy as code
  • Runs on Kubernetes clusters

Pricing: Free and open source under AGPL-3.0.

Read more about OcteliumWebsiteGitHub#4 Cloudflare Zero Trust alternative

Pomerium

An identity and context-aware access proxy written in Go that secures internal apps and services without a corporate VPN.

GitHub stars
5.1k
Last commit
yesterday
Latest release
v0.34.1
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
pomerium.comPomerium homepage screenshot

Pomerium is an identity and context-aware reverse proxy that makes secure, clientless connections to internal web apps and other services. The goal is to protect internal resources without asking users to connect through a corporate VPN.

According to the project, clientless access makes it easier to adopt, running tunnel-free and close to your apps and services makes it faster, and verifying each action before it executes makes it safer. Context-aware policies can draw on data from several sources, so access decisions can reflect your organization's own needs. Repository topics point to zero-trust, BeyondCorp-style, identity-aware proxy and IAM use cases.

Pomerium is written in Go and licensed under Apache-2.0. Teams that want a hosted control plane and a management GUI can look at Pomerium Zero, while the open-source proxy can be run on your own infrastructure. Documentation and tutorials are available on pomerium.com.

Key features

  • Identity-aware reverse proxy
  • Clientless access to internal apps
  • Per-request verification of every action
  • Context-aware access policies
  • Tunnel-free deployment near your services
  • Hosted control plane via Pomerium Zero

Pricing: Free Personal plan. Business costs $7 per user per month billed annually, with a free trial; Enterprise for fully self-hosted deployments is quoted.

Read more about PomeriumWebsiteGitHub#5 Cloudflare Zero Trust alternative

OpenZiti

An open source zero-trust networking platform that makes services invisible to unauthorized users using cryptographic identity and end-to-end encryption.

GitHub stars
4.5k
Last commit
2 days ago
Latest release
v2.0.8
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available

OpenZiti is an open-source zero-trust networking platform. Every connection, whether from a user, service, device or workload, is authenticated with cryptographic identity, authorized by policy and encrypted end-to-end. Its stated goal is to make network services invisible to unauthorized users.

It works with existing applications through lightweight tunnelers that need no code changes, and with new applications through embedded SDKs for what it calls the strongest zero-trust model. A Python SDK is published on PyPI, where it can turn a web server into a zero-trust embedded application with a few lines of code.

The README lists use cases that include replacing VPNs, keeping APIs dark with no listening ports, giving IoT devices unique identities, linking workloads across clouds and Kubernetes clusters, and reaching self-hosted services such as Nextcloud or Home Assistant without open router ports. It was created and sponsored by NetFoundry, is Apache 2.0 licensed, and has a managed solution.

Key features

  • Every connection is authenticated, authorized and encrypted
  • Tunnelers secure existing apps without code changes
  • Embedded SDKs for new applications
  • Each service individually authorized instead of VPN access
  • Dark services with no listening ports
  • Python SDK distributed through PyPI
  • One overlay across clouds, on-prem and edge
Read more about OpenZitiWebsiteGitHub#6 Cloudflare Zero Trust alternative

Commercial Cloudflare Zero Trust alternatives

Hosted, closed-source products that compete with Cloudflare Zero Trust. Showing 12 of 13.

See every Cloudflare Zero Trust alternative on its tool page

Cloudflare Zero Trust alternatives: questions

What is the best open-source alternative to Cloudflare Zero Trust?
Tailscale is the top-ranked open-source alternative to Cloudflare Zero Trust on Enlisted: Tailscale builds private WireGuard-based networks between your devices; this repository holds the open-source client daemon and CLI. Other strong options are NetBird, OAuth2 Proxy, Octelium and Pomerium.
What are the best commercial alternatives to Cloudflare Zero Trust?
NordLayer, Tailscale, Twingate, Netskope and Zscaler are among the hosted, closed-source alternatives to Cloudflare Zero Trust listed on Enlisted, which lists 13 in total. Compare their pricing and features on each tool page.
Are these Cloudflare Zero Trust alternatives free?
All 6 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 4 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Cloudflare Zero Trust alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 6 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all