---
title: "Open Source ZTNA | Self-Hosted Zero Trust Network Access - Octelium"
description: "Open source, self-hosted Zero Trust Network Access (ZTNA) with per-request L7 policy, clientless access, secretless credentials and OpenTelemetry auditing."
canonical: "https://octelium.com/solutions/open-source-ztna"
---

Open-source Zero Trust Network Access

# The open source, self-hosted ZTNA platform

Octelium is a free and open source, self-hosted zero trust access platform. It provides identity-based, layer-7 aware access control on a per-request basis, dynamic secretless access, and a unified architecture for both client-based and clientless access, for humans, workloads and AI agents alike.

[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)

ZTNA architecture

## Protect resources individually, not entire networks

Every application, API, SSH server, database, Kubernetes cluster or other protected resource is represented as a Service behind an identity-aware proxy. A tunnel or network location grants no access by itself; the same identity, Policy and audit model applies to both private client-based and public clientless access.

- [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)
- [Use clientless BeyondCorp access for browser applications and for workloads over standard bearer or OAuth2 authentication, without requiring the Octelium client or an application SDK.](https://octelium.com/docs/octelium/latest/management/core/service/clientless.md)

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

Identity-aware access control

## Authorize every request with identity and application context

Octelium evaluates who is making the request, the state and context around that identity, and what the application request is attempting to do. Policies are explicit, deny by default and are evaluated independently for each protected request.

- [Use attribute-based access control (ABAC) with CEL or Open Policy Agent across User and Group identity, Session state, Device posture, authentication strength, geolocation, time and arbitrary attributes supplied by external systems.](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)
- [Zero standing privileges. No permanent admins or superuser Users. All access is explicitly allowed by a Policy that can be tied by time and context.](https://octelium.com/docs/octelium/latest/overview/zero-trust.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.

- [Keep HTTP API keys and access tokens, SSH credentials, database passwords, kubeconfigs and mTLS client certificates in the Cluster instead of distributing them to Users.](https://octelium.com/docs/octelium/latest/management/core/service/secretless.md)
- [Select the upstream account, identity and credential dynamically from identity and request context, allowing different Users to reach the same Service with different upstream privileges.](https://octelium.com/docs/octelium/latest/management/core/service/dynamic-config.md)
- Revoke access through Policy rather than rotating a shared upstream credential everywhere it has been distributed.

[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.

- [Authenticate people through OpenID Connect or SAML 2.0 identity providers, with native WebAuthn/passkeys, FIDO2, TOTP and TPM-backed authentication available for additional enforcement.](https://octelium.com/docs/octelium/latest/management/core/identity-providers.md)
- [Authenticate workloads with individual access tokens, OAuth2 client credentials or federated OIDC assertions from platforms such as GitHub Actions, cloud providers and Kubernetes.](https://octelium.com/docs/octelium/latest/management/core/identity-providers.md)
- [Require additional authentication based on identity and Session context, independently of the authentication already performed by the external identity provider.](https://octelium.com/docs/octelium/latest/management/core/authenticator.md)
- [Extend the same identity-aware model to MCP and LLM Services, where Policy can evaluate protocol-specific tool and inference context in addition to the agent's authenticated workload identity.](https://octelium.com/docs/octelium/latest/management/core/service/mcp.md)

[Read about identity and Users](https://octelium.com/docs/octelium/latest/management/core/user.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.

- [Record protocol-specific activity including HTTP requests and responses, database queries, Kubernetes operations, SSH sessions, DNS questions, MCP methods and tools, and LLM operations, models and token usage.](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)

Self-hosted platform

## Run and automate ZTNA on infrastructure you control

Full self-hosted on your own infrastructure with no vendor lock-in. Manage the Cluster declaratively or automate it through APIs and SDKs rather than depending on a mandatory hosted control plane.

- [Manage Services, Policies, Users, Groups, Secrets and the rest of the Cluster with YAML and GitOps-friendly workflows.](https://octelium.com/docs/octelium/latest/overview/management.md)
- [Program the Cluster through its gRPC APIs and Go, TypeScript, Rust and Python SDKs for integration with your own identity, security and infrastructure automation.](https://octelium.com/docs/octelium/latest/overview/management.md)
- [Scale Gateway data-plane nodes with Kubernetes and optionally deploy and scale containerized applications as protected Service upstreams.](https://octelium.com/docs/octelium/latest/management/core/service/managed-containers.md)

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

NIST SP 800-207

## How Octelium maps to the seven zero trust tenets

NIST defines zero trust as a set of architectural principles rather than a product certification. The mapping below shows the Octelium mechanism that corresponds to each of the seven basic tenets in NIST SP 800-207.

1. 01

   ### 1. Treat data and services as resources

   Octelium represents protected applications, APIs, SSH servers, databases, Kubernetes clusters, DNS and other reachable resources as Services. Policy is attached to the resource boundary instead of assuming that an entire network segment shares one trust level.

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

2. 02

   ### 2. Secure communication regardless of network location

   Client-based access uses encrypted WireGuard or QUIC tunnels and clientless access uses HTTPS. Being on an internal network, connected to a tunnel or otherwise close to the resource does not by itself grant access.

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

3. 03

   ### 3. Grant access to individual resources

   Access is evaluated for the target Service rather than granted broadly to a network. Octelium authorizes requests individually, so authentication to one Service or establishment of a tunnel does not authorize access to another Service.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/policy.md)

4. 04

   ### 4. Make access decisions from dynamic policy

   Policies can combine User and Group identity, Session state, Device information, authentication strength, Service and Namespace attributes, geolocation, time, application-layer request data and attributes supplied by external systems.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/policy.md)

5. 05

   ### 5. Include device state and security posture

   When a Session is associated with a Device, current Device information can participate in Policy decisions. Device-management, endpoint-security and other posture signals can also be incorporated into the attributes used for authorization.

   [Read more](https://octelium.com/docs/octelium/latest/overview/zero-trust.md)

6. 06

   ### 6. Authenticate and authorize dynamically before access

   Session tokens are not treated as sufficient stateless proof of authorization. Current User, Group, Session, Device and Policy state is resolved during authorization, so disabling a User, deleting a Session or changing Policy can affect subsequent requests without waiting for a long-lived access credential to expire.

   [Read more](https://octelium.com/docs/octelium/latest/management/core/session.md)

7. 07

   ### 7. Collect telemetry and use it as security context

   Allowed and denied requests produce structured AccessLogs with identity, resource, authorization outcome, matching Policy information and protocol-specific details. Logs can be exported in real time through OpenTelemetry, while external security and operational systems can feed attributes back into Policy decisions.

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

This is an architectural mapping to NIST SP 800-207, not a NIST certification, validation or endorsement of Octelium.

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 designed for self-hosting and does not require a proprietary hosted control plane. The core platform is free and open source. An optional enterprise package adds capabilities for organizations with additional operational, identity-management and security requirements, including the web console, SCIM provisioning and Secret encryption at rest.

- How is Octelium ZTNA different from a traditional VPN?

  A traditional remote-access VPN primarily establishes network reachability. Octelium can use WireGuard or QUIC as the transport for private client-based access, but establishing the tunnel grants access to nothing by itself. Every protected resource is a Service, and each request is still evaluated against identity-aware Policies at the application layer.

- Does Octelium support clientless ZTNA?

  Yes. A Service can be exposed for clientless access over HTTPS. Human Users can access browser applications through their identity provider, while workloads can authenticate with standard bearer or OAuth2 credentials. Client-based and clientless access use the same Service, identity, Policy and auditing model.

- Do I have to replace my identity provider?

  No. Octelium supports OpenID Connect and SAML 2.0 identity providers, as well as GitHub OAuth2. Native FIDO2/WebAuthn passkeys, TOTP and TPM-backed authenticators can provide additional authentication that can be enforced independently for sensitive access.

- How granular is ZTNA access control?

  Policies can evaluate identity and context together with protocol-specific request data. Examples include HTTP methods, paths and JSON fields; Kubernetes verbs, resources and namespaces; SSH users; database users and queries; MCP methods, tools and arguments; and LLM operations, models, tools and token limits.

- Which resources can Octelium protect with ZTNA?

  Octelium Services can protect web applications and HTTP APIs, gRPC, SSH, Kubernetes, PostgreSQL and MySQL, RDP, DNS, generic TCP and UDP resources, as well as MCP servers and LLM providers. The same identity, Policy and auditing model applies across these Service modes.

- How are workloads and AI agents handled?

  Non-human identities such as workloads and AI agents are first-class Octelium Users and use the same Groups, Policies and AccessLogs as human Users. They can authenticate with individual access tokens, OAuth2 client credentials or federated OIDC assertions from platforms such as GitHub Actions, cloud providers and Kubernetes. AI agents can use the same workload identity when accessing ordinary infrastructure, MCP Services and LLM Services.

- 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

### [Business VPN](https://octelium.com/solutions/open-source-business-vpn.md)

[Modern remote access with SSO, device context, identity-aware Policy, credential isolation and application-layer auditing.](https://octelium.com/solutions/open-source-business-vpn.md)

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

### [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)

### [Zero trust Kubernetes access](https://octelium.com/solutions/zero-trust-kubernetes.md)

[Authorize Kubernetes access by identity, verb, resource and namespace while keeping the upstream kubeconfig in the Cluster.](https://octelium.com/solutions/zero-trust-kubernetes.md)

[Read more](https://octelium.com/solutions/zero-trust-kubernetes.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)
