orion-belt-dev/orion-belt
Tentang
Self-hosted access gateway for SSH, RDP, VNC and Kubernetes. Agents dial out, so targets open no ports. Session recording, just-in-time approvals, ReBAC.
Sistem dan infrastrukturYang dapat Anda lakukan
- Gateway: SSH and SCP proxy with recording, ReBAC, MFA and an optional SSH CA.
- RDP and VNC: osh rdp / osh vnc open a local port relayed through the agent; see RDP_VNC.md.
- Kubernetes: approved grants become time-limited RoleBindings, used through osh kube; see KUBERNETES.md.
- Agents: connect out over reverse SSH; targets need no inbound ports. Reload, drain and update them from the gateway (AGENT_MANAGEMENT.md).
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- Mengumpulkan riwayat
- dalam 15 hari
- Mengumpulkan riwayat
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliOrion Belt
Agents dial out. Sessions are recorded. Access expires on its own.
Orion Belt is a self-hosted access gateway for SSH, RDP, VNC and Kubernetes, with privileged access management (PAM) workflows. Agents on your servers connect out to the gateway over reverse SSH, so targets need no inbound ports. The gateway adds session recording and live watch, just-in-time access with approvals, MFA and WebAuthn, relationship-based access control (ReBAC), and an optional SSH certificate authority.
Version 1.6.0 is the current release. Orion Belt is free and open source under the GNU AGPL v3.0. See orion-belt.dev for details.
Orion Belt in Action
A three-minute tour of the web console, without sound. An engineer asks for the payments database with a reason and an admin approves it for 30 minutes. Then a browser shell, a live and a recorded session, file transfer, a new host with remote desktop, a Kubernetes cluster, bulk grants, the audit log and compliance reports. The people and machines are made up.
Try Orion Belt in 10 minutes
The quickstart brings up a gateway and a connected agent, opens a shell through it, and records the session. It needs only Docker.
git clone https://github.com/orion-belt-dev/orion-belt.git
cd orion-belt
./scripts/docker-quickstart.sh
The script generates its own secrets, starts the gateway, creates your admin
user, registers a demo machine (lab-1), and prints a link that signs you in to
the console. Then, in the console:
- Open Machines, select lab-1, open the web terminal, and run a few commands.
- Open Sessions and select Playback to replay what you just did.
From a terminal instead: ./bin/osh -c client.yaml root@lab-1
Stop everything with ./scripts/docker-quickstart.sh --down.
For the full walkthrough, including an agent on a real machine, see Try Orion Belt in 10 minutes.
Why Orion Belt
- Self-hosted, with no SaaS dependency and no phone-home.
- SSH, SCP, RDP, VNC and just-in-time Kubernetes access through the same agent tunnel.
- Agents connect out over reverse SSH, so target hosts need no inbound firewall rules.
- SSH and web terminal sessions are recorded and can be watched live.
- Just-in-time access with approvals from the console, the API, or chat (ChatOps), optionally tied to a change ticket.
- MFA with TOTP and WebAuthn. After 1.6.0, single sign-on for the console through OpenID Connect.
- ReBAC authorization, optionally backed by OpenFGA.
- Events to your SIEM: Splunk HEC or any endpoint that takes JSON (after 1.6.0).
- Linux packages for deb, rpm, apk and pacman distributions, clients for macOS, Windows and the BSDs.
How it compares
Most people who look at Orion Belt are also looking at Teleport or Warpgate. Both are good tools. This is how they differ in the ways that usually decide it:
| Orion Belt | Teleport Community Edition | Warpgate | |
|---|---|---|---|
| License | AGPL-3.0, source and binaries | Source AGPL-3.0; binaries free only for organisations under 100 employees and under $10M revenue (since v16) | Apache-2.0 |
| Reaching targets | Agents dial out to the gateway; targets open no ports | Agents can join through a reverse tunnel to the proxy | The bastion connects to each target, so it must reach them on the network |
| Protocols | SSH, SCP, RDP, VNC, Kubernetes | SSH, Kubernetes, databases, web apps, Windows desktops | SSH, HTTPS, Kubernetes, MySQL, PostgreSQL, RDP, VNC |
| Session recording | SSH and web terminal, live and replay; RDP and VNC audited but not recorded | Yes | Yes, live and replay |
| Access requests | Built in: console, CLI, API and chat, with risk-based auto-approve and change tickets | Role requests from the CLI, reviewed by an admin with tctl; full just-in-time access is Enterprise |
Admin-issued tickets, user ticket requests, and optional approval of each connection |
| Single sign-on | OIDC for the console (after 1.6.0) | GitHub only; OIDC and SAML are Enterprise | OIDC |
| What you run | One Go binary and PostgreSQL | One binary with several services and a storage backend | One Rust binary with SQLite |
Where Orion Belt falls short today, so you can decide before installing it:
- No database proxying. MySQL and PostgreSQL access through the gateway is planned (#34); Teleport and Warpgate both have it.
- RDP and VNC are audited, not recorded. The stream is encrypted end to end, so recording needs the gateway to terminate the protocol (#32).
- One gateway. There is no high-availability mode yet (#19).
- No SAML or LDAP. OIDC covers Okta, Entra ID, Keycloak and Google; SAML and directory sync are open issues (#12, #13).
- A small project. A handful of contributors, not a company with a support desk. The security policy says how reports are handled.
Facts about other projects come from their own documentation: Teleport's feature matrix and license FAQ, and Warpgate's README and docs. If something here is out of date, please open an issue.
Features
- Gateway: SSH and SCP proxy with recording, ReBAC, MFA and an optional SSH CA.
- RDP and VNC:
osh rdp/osh vncopen a local port relayed through the agent; see RDP_VNC.md. - Kubernetes: approved grants become time-limited RoleBindings, used through
osh kube; see KUBERNETES.md. - Agents: connect out over reverse SSH; targets need no inbound ports. Reload, drain and update them from the gateway (AGENT_MANAGEMENT.md).
- Clients:
osh,ocpandoadmin, or standard OpenSSH (user+machine@gateway). - Just-in-time access: request, approve, and receive a time-limited grant from the console, the API, or Slack, Discord, Teams and Rocket.Chat. Admins can require a change ticket on every request.
- Web console: terminal, file browser, session playback and live watch, and management of users, machines and permissions.
- Single sign-on (after 1.6.0): OpenID Connect for the console, with PKCE, logins matched to existing users and an optional second-factor check; see SETUP.md.
- Capability definitions (after 1.6.0): named, versioned descriptions of what access is for ("restart payment service"), mapped to machines, logins and commands; see CAPABILITIES.md.
- Usage dashboard: access volume, approval latency and most-used targets over a rolling window.
- Compliance and risk: SOC2, ISO 27001 and PCI reports (CSV/PDF/JSON), explain-access, risk-based auto-approve/escalate, anomaly flags; see COMPLIANCE_REPORTS.md and RISK.md.
- Plugins: audit logging, email, webhook and Slack notifications, ChatOps approvals, and after 1.6.0 SIEM forwarding and Jira tickets, configured from the console; see PLUGIN_DEVELOPMENT.md.
- Operations: Prometheus metrics, JSON logs, an OpenAPI specification, and GPG-signed deb/rpm plus RSA-signed apk repositories.
Architecture
flowchart TB
subgraph People
direction LR
CLI["osh · ocp · oadmin"]
SSH["OpenSSH, Ansible<br/>user+host@gateway"]
WEB["Web console<br/>terminal · files · approvals"]
end
subgraph GW["Gateway: one Go binary"]
direction LR
PROXY["SSH proxy :2222"]
API["HTTP API and console :8080"]
POLICY["ReBAC · MFA · risk policy"]
REC["Recorder"]
PLUG["Plugins"]
end
subgraph Side[" "]
direction LR
PG[("PostgreSQL")]
FILES[("Recordings<br/>AES-GCM at rest")]
IDP["OIDC provider"]
OUT["Slack · Teams · email<br/>Splunk · Jira"]
end
subgraph Targets["Your network: no inbound ports"]
direction LR
HOST["Agent on a Linux host<br/>SSH · RDP · VNC"]
K8S["Agent in a cluster<br/>Kubernetes API"]
end
CLI --> PROXY
SSH --> PROXY
WEB --> API
API -. sign-in .-> IDP
PROXY --- POLICY
API --- POLICY
POLICY --> PG
PROXY --> REC
REC --> FILES
PLUG --> OUT
HOST -->|"reverse SSH, dialled out"| PROXY
K8S -->|"reverse SSH, dialled out"| PROXY
Targets accept no inbound connections. Every session, whether SSH, a desktop or kubectl, rides an agent's outbound connection and passes the same grant check. An agent on a Linux host can also relay RDP to a Windows machine next to it. Details: ARCHITECTURE.md.
Install
The Docker quickstart above is the fastest way to try it. For a real install, signed packages live at pkgs.orion-belt.dev, and the installer adds the apt, dnf, zypper, apk or pacman repository for your system, or falls back to a verified release package:
curl -fsSL https://pkgs.orion-belt.dev/install.sh | sh -s -- server # gateway (Linux)
curl -fsSL https://pkgs.orion-belt.dev/install.sh | sh -s -- agent # agent (Linux)
curl -fsSL https://pkgs.orion-belt.dev/install.sh | sh # clients: osh, ocp, oadmin
irm https://pkgs.orion-belt.dev/install.ps1 | iex # clients on Windows
scoop install https://pkgs.orion-belt.dev/scoop/orion-belt.json
The gateway needs PostgreSQL. Set at least database.connection_string and server.public_url in /etc/orion-belt/server.yaml, start orion-belt-server, then run orion-belt-server -c /etc/orion-belt/server.yaml setup as the orionbelt user to create the first admin. The console is at <public_url>/ui.
Agents are easiest to add from the console: Add agent generates an install script for the target's OS. Plain OpenSSH works as a client with no install at all: ssh -p 2222 '[email protected]'.
Per-system steps for the gateway, agents and clients, plus building from source: INSTALL.md. Production Compose and TLS: SETUP.md and REVERSE_PROXY.md.
Docs
| Doc | |
|---|---|
| Try in 10 minutes | Lab path to a first recorded session |
| INSTALL.md | Packages for each system, from source |
| SETUP.md | Production first run, single sign-on |
| SSH_CA.md | Optional certificate authority |
| RDP_VNC.md | RDP and VNC through the agent tunnel |
| KUBERNETES.md | Just-in-time Kubernetes access |
| AGENT_MANAGEMENT.md | Reload, drain and update agents |
| CAPABILITIES.md | Named, versioned capability definitions |
| COMPLIANCE_REPORTS.md | SOC2 / ISO 27001 / PCI reports |
| PLUGIN_DEVELOPMENT.md | Built-in plugins (SIEM, Jira, ChatOps) and writing your own |
| GO_SDK.md | Reusable Go SDK for API integrations |
| MULTI_LANGUAGE_SDK.md | Python and TypeScript SDKs |
| openssh-clients.md | Vanilla ssh via the gateway |
| DEPLOYMENT_HARDENING.md | Hardening checklist |
| REVERSE_PROXY.md | TLS with nginx or Caddy, trusted proxies |
| OBSERVABILITY.md | Metrics and logging |
| BENCHMARKS.md | Session and throughput benchmarks, performance gate |
| OpenAPI | HTTP/WS API |
| ROADMAP.md | Open work: database gateway, secrets vault, HA, SAML and more |
Security
- All connections use SSH. Recordings can be encrypted at rest with AES-GCM.
- ReBAC, optionally backed by OpenFGA, controls access to each machine and remote account.
- MFA supports TOTP and WebAuthn, and SSH logins accept FIDO
sk-*keys. After 1.6.0 the console can also sign in through an OpenID Connect provider, matched to users that already exist. - Plugin credentials stay tied to the host they were entered for: pointing a plugin at a new host means entering them again.
- Temporary access expires automatically. The audit log records access and configuration changes.
- There is no open signup. Accounts are created by an admin or operator; only the very first account on a new install can be created without signing in.
- Plain users see only their own sessions, requests, grants and account details.
License
GNU Affero General Public License v3.0 only (AGPL-3.0-only).
You may use, modify and run Orion Belt for free, including commercially and inside your company. If you distribute it, or let people use a modified version over a network (for example as a hosted service), you must make the complete source of your version available to them under the same license.
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md, which also lists the project's contributors.
If you run Orion Belt in a lab or a small team and are willing to share feedback, join Discord, start a discussion, or open an issue.
Jelajahi proyek terkait
Memuat…
