---
title: "Open Source, Self-Hosted Cloudflare Access Alternative - Octelium"
description: "A free and open source, self-hosted alternative to Cloudflare Access. Clientless BeyondCorp access, layer-7 aware policy-as-code, and dynamic secretless access."
canonical: "https://octelium.com/solutions/cloudflare-access-alternative-open-source"
---

Cloudflare Access alternative

# The open source, self-hosted alternative to Cloudflare Access

Octelium is a free and open source, self-hosted zero trust access platform. It runs entirely on infrastructure you operate, and provides clientless access to internal applications, client-based access over WireGuard and QUIC, layer-7 aware access control on a per-request basis, and dynamic secretless access.

[Install in minutes](https://octelium.com/docs/octelium/latest/overview/quick-install.md)[Live Demo](https://demo.octelium.com)[GitHub repo](https://github.com/octelium/octelium)

- Free and open source
- Designed for self-hosting

The platform

## A unified secure access platform

Secure humans, workloads and AI agents with one model for identity, authorization, connectivity, credentials and visibility.

1. [Unified access platform](https://octelium.com/docs/octelium/latest/overview/how-octelium-works.md)

   [One architecture for client-based zero-config VPN-like access over WireGuard and QUIC tunnels and clientless access over browsers for humans and OAuth2 access for workloads.](https://octelium.com/docs/octelium/latest/overview/how-octelium-works.md)

   [Read more](https://octelium.com/docs/octelium/latest/overview/how-octelium-works.md)
2. [L7-aware access control](https://octelium.com/docs/octelium/latest/management/core/policy.md)

   [Identity-based, application-layer aware ABAC access control with policy-as-code via CEL and OPA, applied on a per-request basis.](https://octelium.com/docs/octelium/latest/management/core/policy.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/policy.md)
3. [Secretless access](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)

   [Dynamic secretless access where teams and AI agents access protected infrastructure without ever holding a credential.](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)
4. [Unified identity management](https://octelium.com/docs/octelium/latest/management/core/user.md)

   [Teams, workloads and AI agents share the same model for identity management, access control, and auditing.](https://octelium.com/docs/octelium/latest/management/core/user.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/user.md)
5. [Real-time visibility and auditing](https://octelium.com/docs/octelium/latest/management/core/visibility.md)

   [OpenTelemetry-native, real-time, application-layer-aware visibility and structured logging.](https://octelium.com/docs/octelium/latest/management/core/visibility.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/visibility.md)
6. [GitOps-friendly management](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)

   [Octelium is administered like Kubernetes. Define your resources in YAML files, store them in a Git repository.](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)

   [Read more](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)

Client-based and clientless

## One architecture for client-based and clientless access

Each protected resource is represented as a Service behind an identity-aware proxy that enforces application-layer access control, credential isolation and auditing. Services support both client-based and clientless access.

- [Clientless BeyondCorp access for humans via browsers and for workloads over standard OAuth2 and bearer authentication, with no client or SDK.](https://octelium.com/docs/octelium/latest/management/core/service/clientless.md)
- [Client-based access uses WireGuard or QUIC with a single stable route, private dual-stack addressing and automatic private DNS, providing a zero-configuration remote access experience.](https://octelium.com/docs/octelium/latest/user/cli/connect.md)
- [Secure remote access to internal resources behind NAT in any environment, whether on-premises, in the cloud, laptops or IoT. No need for an inbound port and no firewall rule has to be added anywhere.](https://octelium.com/docs/octelium/latest/management/core/service/overview.md)

[Read how Octelium works](https://octelium.com/docs/octelium/latest/overview/how-octelium-works.md)

Access control

## Layer-7 aware access control with policy-as-code

Authorize every request from authenticated identity, request context and application-layer attributes with policy-as-code using CEL or Open Policy Agent.

- [Attribute-based access control over identity, groups, device posture, session type, geolocation and time, combined with application-layer attributes in the same expression.](https://octelium.com/docs/octelium/latest/management/core/policy.md)
- [Apply application-layer access control to protocol-specific attributes including HTTP requests, SSH users, Kubernetes operations, database users and queries, MCP methods and tools, and LLM operations and models.](https://octelium.com/docs/octelium/latest/management/guide/cel.md)
- [Policies are ordinary Cluster resources kept in Git alongside everything else, and they can be attached to a Service, a Namespace, a User or a Group.](https://octelium.com/docs/octelium/latest/overview/management.md)

[Read about access control and Policies](https://octelium.com/docs/octelium/latest/management/core/policy.md)

Secretless access

## Keep upstream credentials out of users and workloads

Store application credentials in the Cluster and inject them only after access is authorized. Users, workloads and AI agents reach protected resources without receiving the upstream API key, password, private key, certificate or other credential.

- [Covers HTTP API keys and access tokens, mTLS client certificates, SSH passwords and private keys, PostgreSQL and MySQL passwords, and kubeconfigs.](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)
- [Protected public resources are covered as well as private ones, so a SaaS API or a hosted database can be reached by a team without the API key or password leaving the Cluster.](https://octelium.com/docs/octelium/latest/management/guide/service/http/zero-trust-saas-api.md)
- [The upstream, account and credential can be selected dynamically per request from identity and context, so different Users reach the same upstream with different privileges.](https://octelium.com/docs/octelium/latest/management/core/service/dynamic-config.md)

[Read about secretless access](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)

Identity

## One identity model for humans, workloads and AI agents

Human and workload Users share the same Groups, Policies, access controls and audit model while authenticating through mechanisms appropriate to each identity type.

- [Workloads authenticate with authentication tokens, with the OAuth2 client credentials flow, or secretlessly with federated OIDC assertions from GitHub Actions, GitLab, cloud providers and Kubernetes clusters.](https://octelium.com/docs/octelium/latest/management/core/identity-providers.md)
- [The MCP mode understands JSON-RPC messages, so tool calls and their arguments are authorized individually, protocol versions can be pinned and browser origins validated.](https://octelium.com/docs/octelium/latest/management/core/service/mcp.md)
- [The LLM mode is a protocol-aware gateway for OpenAI and Anthropic APIs. It authorizes the operation, model, declared tools and token limits of each inference request, and records token usage.](https://octelium.com/docs/octelium/latest/management/core/service/llm.md)
- [Cordium, built on Octelium, provides isolated sandboxes for agents and developers, where processes reach authorized Services through the Workspace identity with no secrets inside the sandbox.](https://octelium.com/docs/cordium/latest/overview/intro.md)

[Read about the MCP gateway](https://octelium.com/docs/octelium/latest/management/core/service/mcp.md)

Visibility and auditing

## Identity-aware visibility at the application layer

Emit structured, application-layer access logs in real time and export them through OpenTelemetry OTLP to the observability, analytics and SIEM systems your organization already operates.

- [Application-layer detail includes HTTP requests and responses, gRPC methods, DNS questions, database queries, Kubernetes operations, SSH session recordings, and MCP and LLM operations.](https://octelium.com/docs/octelium/latest/management/core/visibility.md)
- Export structured AccessLogs in real time over OpenTelemetry OTLP to the observability and SIEM systems you already operate.

[Read about visibility and auditing](https://octelium.com/docs/octelium/latest/management/core/visibility.md)

Deployment and scale

## Self-hosted, Kubernetes-native and fully programmable

Run the Cluster on Kubernetes infrastructure you control, scale the data plane horizontally, manage resources declaratively, automate the platform through APIs and SDKs, and optionally deploy containerized Service upstreams with the Cluster itself.

- [Deploy, scale and serve containerized applications directly as Service upstreams.](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)
- [Manage Cluster resources declaratively with YAML and GitOps workflows, including reproducible configuration through octeliumctl apply.](https://octelium.com/docs/octelium/latest/overview/management.md)
- [Manage and automate the Cluster through its gRPC APIs and Go, TypeScript, Rust and Python SDKs instead of relying on host-level configuration or SSH access.](https://octelium.com/docs/octelium/latest/management/guide/sdk.md)

[Read the management guide](https://octelium.com/docs/octelium/latest/overview/management.md)

Comparison

## Octelium and Cloudflare Access, capability by capability

Both products are compared from the same structured capability dataset and evaluated using the same evidentiary standard. Emerging or experimental capabilities are marked as partial regardless of vendor.

### Capability comparison

Dataset reviewed August 2026

This is a curated subset of the full capability matrix, including areas where either product differs and areas where their capabilities are equivalent. Open the complete matrix for every row, source and filter.

### Octelium

Unified Access Platform

fossself-hosted

A unified secure access platform with secretless access, CEL/OPA-style ABAC, OpenTelemetry-native real-time visibility, and both client-based and clientless access.

33 full0 partial0 none

Best for

self-hosted ZTNAsecretless L7 accessKubernetes-native gatewayAI/API/MCP gateway patterns

Tradeoffs

requires Kubernetesno direct peer-to-peer data path

### Cloudflare Access / Tunnel

Edge SASE / ZTNA

proprietarysaas

Extremely strong global edge/SASE product; less comparable to Octelium where deep self-hosted L7 protocol semantics, secretless app credentials, and data sovereignty are primary requirements.

11 full11 partial11 none

Best for

global edgeSASE integrationAccess policiesWARP private network access

Tradeoffs

SaaS-onlyCloudflare edge terminationnot deep DB/K8s semantic gateway

| Capability                                                                                                                                                                                                                                       | OcteliumBaseUnified Access Platform                                                                                                                                                                                                                      | Cloudflare Access / TunnelEdge SASE / ZTNA                                                                                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Architecture                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| Architecture                                                                                                                                                                                                                                     | Kubernetes-native identity-aware proxy/gateway architecture in which policy evaluation is separated from enforcement, with client-based WireGuard/QUIC access, clientless BeyondCorp access, declarative resources, and self-hosted control/data planes. | SaaS edge proxy/SASE architecture. cloudflared connectors and/or WARP clients connect private resources and users to Cloudflare's global network. Access policies apply at Cloudflare-controlled edge/control plane. |
| Authentication                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| Native FIDO2 / PasskeyNative means implemented by the platform itself, not merely delegated to an external IdP.                                                                                                                                  | NativeFIDO2/Passkey/WebAuthn with attestation and hardware-resistant authenticator checks                                                                                                                                                                | NoGenerally delegated to IdP.                                                                                                                                                                                        |
| Workload Identity                                                                                                                                                                                                                                | OIDC assertions / workload identity                                                                                                                                                                                                                      | Service tokens / mTLS / Access apps                                                                                                                                                                                  |
| Anonymous / Public Access                                                                                                                                                                                                                        | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| SCIM ProvisioningAutomated user/group lifecycle provisioning via SCIM, beyond just login-time IdP federation.                                                                                                                                    | SCIM 2.0 compliant                                                                                                                                                                                                                                       | SCIM via Access / IdP                                                                                                                                                                                                |
| Authorization & Policy                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| Policy Model                                                                                                                                                                                                                                     | Layer-7 aware ABAC with policy-as-code via CEL and OPA                                                                                                                                                                                                   | Access rules, geolocation and Gateway policies.                                                                                                                                                                      |
| Policy-as-Code                                                                                                                                                                                                                                   | CEL + OPA                                                                                                                                                                                                                                                | Terraform/API; not a CEL/OPA product-native policy runtime                                                                                                                                                           |
| Per-Request AuthzFor L7 products, this means each HTTP/gRPC/API/K8s request can be evaluated. For overlays, session/connection policy is not counted as per-request. This modeling choice structurally favors L7 gateways over network overlays. | Yes                                                                                                                                                                                                                                                      | For Access-protected HTTP/MCP/web flows; not equivalent for all private network flows                                                                                                                                |
| L7-Aware Policies                                                                                                                                                                                                                                | HTTP, gRPC, K8s, DB, SSH, mTLS-related context                                                                                                                                                                                                           | Strong HTTP/web policy; not DB/K8s query/verb semantics                                                                                                                                                              |
| Zero Standing Privilege / JITIndicates strong architectural support for minimizing standing privilege; not an absolute claim that privileged access cannot exist.                                                                                | StrongDesigned to minimize static privilege through identity/policy-scoped access.                                                                                                                                                                       | Partial                                                                                                                                                                                                              |
| Access Requests / ApprovalsFirst-class request-and-approve / break-glass workflows (reviewers, time-bound grants), as opposed to static policy alone.                                                                                            | Access requests + approvalsFirst-class access request and approval workflow, in addition to policy/identity-scoped access that can be time-bound.                                                                                                        | Policy + approvals via integrations; not a native PAM request workflow                                                                                                                                               |
| Device Posture                                                                                                                                                                                                                                   | TPM/FIDO2/device attributes                                                                                                                                                                                                                              | Yes                                                                                                                                                                                                                  |
| L7 Protocol Awareness & Secretless Access                                                                                                                                                                                                        |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| SSH                                                                                                                                                                                                                                              | Secretless / embedded SSH patterns                                                                                                                                                                                                                       | Browser/CLI access patterns                                                                                                                                                                                          |
| PostgreSQL                                                                                                                                                                                                                                       | Secretless + query-aware policy/logging                                                                                                                                                                                                                  | Private network/proxy connectivity; not query-aware secretless DB gateway                                                                                                                                            |
| Kubernetes                                                                                                                                                                                                                                       | Secretless + verb/resource/namespace policy                                                                                                                                                                                                              | Can protect access paths; not native K8s verb/resource authz gateway                                                                                                                                                 |
| RDP                                                                                                                                                                                                                                              | with clientless secretless browser access                                                                                                                                                                                                                | Browser-based RDP and client modes                                                                                                                                                                                   |
| DNS                                                                                                                                                                                                                                              | Native private DNS mode                                                                                                                                                                                                                                  | Gateway DNS filtering / private networking DNS patterns                                                                                                                                                              |
| Transport & Networking                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| WireGuard Data PlaneWhether the product's own client/data plane is built on WireGuard, versus a proprietary or TLS-based transport.                                                                                                              | Kernel / userspaceWireGuard via kernel module, TUN, or unprivileged userspace (wireguard-go) implementations.                                                                                                                                            | WARPWARP uses a WireGuard-derived transport (BoringTun) alongside MASQUE/HTTP3; not a standard WireGuard mesh.                                                                                                       |
| Visibility, Auditing & Observability                                                                                                                                                                                                             |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| OpenTelemetry-Native                                                                                                                                                                                                                             | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| L7-Aware Access Logs                                                                                                                                                                                                                             | HTTP/gRPC/K8s/DB/SSH identity-aware logs                                                                                                                                                                                                                 | HTTP/access/gateway logs; not DB query logs                                                                                                                                                                          |
| SSH Session Recording                                                                                                                                                                                                                            | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| Access Methods                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| Client-Based VPN / Overlay                                                                                                                                                                                                                       | WireGuard / QUIC                                                                                                                                                                                                                                         | WARP client                                                                                                                                                                                                          |
| Clientless Browser Access                                                                                                                                                                                                                        | Yes                                                                                                                                                                                                                                                      | Yes                                                                                                                                                                                                                  |
| Workload OAuth2 / Bearer                                                                                                                                                                                                                         | Yes                                                                                                                                                                                                                                                      | Service tokens / Access service auth                                                                                                                                                                                 |
| Private DNS                                                                                                                                                                                                                                      | Yes                                                                                                                                                                                                                                                      | Private DNS/Gateway patterns, not MagicDNS-style product focus                                                                                                                                                       |
| Dynamic Configuration                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| Dynamic Credential Selection                                                                                                                                                                                                                     | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| SaaS / Public Cloud API Access                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| Secretless SaaS API Access                                                                                                                                                                                                                       | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| AI / MCP / Agent Compatibility                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| AI / LLM Gateway                                                                                                                                                                                                                                 | Native LLM Service modeProtocol-aware OpenAI/Anthropic gateway: validated operations, per-request authorization on model, tools and token limits, CEL-based model selection, and token usage in access logs.                                             | Workers/AI products exist; Access/Tunnel is not primarily an LLM gateway                                                                                                                                             |
| MCP Gateway / MCP Access                                                                                                                                                                                                                         | Native MCP Service modeProtocol-aware MCP gateway: JSON-RPC method and tool-level authorization, protocol version pinning, origin validation, and managed-container MCP upstreams.                                                                       | Cloudflare Access can protect MCP servers                                                                                                                                                                            |
| Deploy Containers / PaaS                                                                                                                                                                                                                         | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| Scalability & Cloud-Nativeness                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| High Availability                                                                                                                                                                                                                                | K8s-native HA model                                                                                                                                                                                                                                      | Global edge                                                                                                                                                                                                          |
| Openness & Self-Hosting                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                      |
| Fully Self-Hosted                                                                                                                                                                                                                                | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| Server Code Open Source                                                                                                                                                                                                                          | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| No Mandatory Proprietary Cloud                                                                                                                                                                                                                   | Yes                                                                                                                                                                                                                                                      | No                                                                                                                                                                                                                   |
| Data Sovereignty                                                                                                                                                                                                                                 | Yes                                                                                                                                                                                                                                                      | NoTraffic/control plane depend on Cloudflare's network for core workflows.                                                                                                                                           |

On every Octelium Cluster

The same platform capabilities ship with every deployment, whichever way you use it.

- [OIDC & SAML 2.0 SSO](https://octelium.com/docs/octelium/latest/management/core/identity-providers.md)
- [Native FIDO2, TPM 2.0 & TOTP](https://octelium.com/docs/octelium/latest/management/core/authenticator.md)
- [OpenTelemetry auditing](https://octelium.com/docs/octelium/latest/management/core/visibility.md)
- [GitOps management](https://octelium.com/docs/octelium/latest/overview/management.md)
- [Policy-as-code with CEL & OPA](https://octelium.com/docs/octelium/latest/management/core/policy.md)
- [Managed containers](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)
- [Clientless BeyondCorp access](https://octelium.com/docs/octelium/latest/management/core/service/clientless.md)
- [Anonymous public access](https://octelium.com/docs/octelium/latest/management/core/service/anonymous-access.md)
- [gRPC API & SDKs](https://octelium.com/docs/octelium/latest/management/guide/sdk.md)

Questions

## Frequently asked

- Is Octelium free and open source?

  Yes. Octelium is free and open source and is designed for single-tenant self-hosting. There is no proprietary cloud-based control plane and it is not a limited edition of a separate paid product. An enterprise package is available for organizations that need capabilities such as a web console, SCIM provisioning and secret encryption at rest, and it is free for personal, homelab and evaluation use.

- Where does my traffic actually terminate?

  Inside your own Cluster, on infrastructure you operate, in the regions you choose. Clientless access is served by an internet-facing proxy that is part of your Cluster, and client-based access runs over WireGuard or QUIC tunnels directly to it. There is no third party in the data path and no external control plane deciding whether a request is allowed.

- Do I need to open inbound ports for private resources?

  No. A resource behind NAT can be served through a connected Octelium client or container running next to it, so nothing has to be exposed and no firewall rule has to be added. Public clientless access is published from the Cluster itself rather than from the network the upstream sits on.

- How does clientless access work for workloads?

  Workloads reach publicly published Services over HTTPS using the standard OAuth2 client credentials flow or bearer authentication, in any programming language, with no client and no special SDK. Human Users reach the same Services in a browser after authenticating with your identity provider.

- Can I publish public websites and APIs with it?

  Yes. A Service can be made publicly and anonymously accessible, which turns the Cluster into a hosting platform for upstreams served from anywhere, including containerized applications that the Cluster deploys and scales itself. Anonymous Services can still apply authorization rules over the request path, method, headers and body.

- Do I need Kubernetes experience to run Octelium?

  No. Octelium runs on Kubernetes, but Kubernetes expertise is not required for a basic deployment. The quick installer provisions a complete single-node Cluster, including Kubernetes, on a fresh Linux VM or server. Larger production deployments can run on managed or on-premises multi-node Kubernetes.

Keep reading

## Related solutions

### [Open source BeyondCorp](https://octelium.com/solutions/open-source-beyondcorp.md)

[Clientless, identity-aware access to protected applications for people in a browser and workloads using standard bearer authentication.](https://octelium.com/solutions/open-source-beyondcorp.md)

[Read more](https://octelium.com/solutions/open-source-beyondcorp.md)

### [ngrok alternative](https://octelium.com/solutions/ngrok-open-source-self-hosted-alternative.md)

[Publish local and private Services on your own domain and infrastructure, with optional identity-aware access control in front of them.](https://octelium.com/solutions/ngrok-open-source-self-hosted-alternative.md)

[Read more](https://octelium.com/solutions/ngrok-open-source-self-hosted-alternative.md)

### [Open source API gateway](https://octelium.com/solutions/open-source-api-gateway.md)

[Identity-aware API access with per-request Policy, upstream credential isolation, rate limiting, validation and request processing.](https://octelium.com/solutions/open-source-api-gateway.md)

[Read more](https://octelium.com/solutions/open-source-api-gateway.md)

Get started

## Run Octelium on your own infrastructure

Install a self-hosted Cluster and start applying identity-aware access control to your Services.

[Quick install guide](https://octelium.com/docs/octelium/latest/overview/quick-install.md)[GitHub repo](https://github.com/octelium/octelium)[Enterprise package](https://octelium.com/enterprise.md)
