ghostunnel/ghostunnel
A simple TLS proxy with mutual authentication for securing non-TLS services. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 25.5
- age_days: 3983
- days_rel: 11
- days_push: 11
- n_releases_24m: 11
Adoption not part of the score
2192 stars · 288 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Ghostunnel is a simple TLS proxy written in Go that adds mutual TLS authentication in front of (or behind) non-TLS backend services, in client or server mode over TCP or UNIX sockets. It supports flexible certificate sources (PEM, PKCS#12, ACME, PKCS#11 HSMs, OS keychains, SPIFFE), certificate hotswapping, OPA-based access control, and Landlock sandboxing.
Use cases
- add TLS to a non-TLS backend service
- terminate mutual TLS in front of an internal service
- add client certificates to a legacy client
- replace stunnel with a modern Go TLS proxy
- enforce per-client access control based on certificate fields
- use short-lived certificates with hot reload
- load private keys from an HSM or macOS Keychain
When to choose
- you need mTLS termination for services that don't speak TLS
- you want a single static binary with no runtime dependencies
- you need certificate rotation without restarts or flexible key sources (ACME, HSM, SPIFFE)
- you want fine-grained client authorization via cert fields or OPA policies
When to avoid
- you need an HTTP reverse proxy with routing, load balancing, or header manipulation (use a full proxy like Envoy or nginx)
- you need a VPN or encrypted overlay network rather than per-connection TLS tunneling
- you need application-layer protocol awareness beyond PROXY protocol and ALPN
Facets
cli-tool · maturity active
proxy security cryptography networking auth authorization security networking self-hosted windows bsd cross-platform cli tls-proxy mutual-tls stunnel-alternative mtls certificate-rotation spiffe pkcs11 landlock opa devops linux macos docker
10 sources
- readme: https://github.com/ghostunnel/ghostunnel · fetched 2026-08-28 · 1b4413a7ce5f
- homepage: https://ghostunnel.dev/ · fetched 2026-08-29 · 579d070ab413
- site_page: https://ghostunnel.dev/docs · fetched 2026-08-29 · 75c515282386
- site_page: https://ghostunnel.dev/docs/getting-started/quickstart · fetched 2026-08-29 · efc84f00ab3c
- site_page: https://ghostunnel.dev/docs/security · fetched 2026-08-29 · 856627dc6ace
- site_page: https://ghostunnel.dev/docs/security/access-flags · fetched 2026-08-29 · 96df635d904f
- site_page: https://ghostunnel.dev/docs/certificates/reloading · fetched 2026-08-29 · a97d1cd3e6c4
- site_page: https://ghostunnel.dev/docs/certificates · fetched 2026-08-29 · 9666f79dd77f
- site_page: https://ghostunnel.dev/docs/security/general · fetched 2026-08-29 · d2cb27511974
- site_page: https://ghostunnel.dev/releases · fetched 2026-08-29 · 12420ed4c4fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ghostunnel/ghostunnel | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="ghostunnel/ghostunnel")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem