# Ghostunnel: Open-source TLS proxy with mutual authentication

DevFeed: [Ghostunnel: Open-source TLS proxy with mutual authentication](<https://devfeed.tech/articles/ghostunnel-open-source-tls-proxy-with-mutual-authentication-116034.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/11/04/ghostunnel-open-source-tls-proxy/>)

Author: Anamarija Pogorelec

Published: 2026-11-04T06:30:14Z

Content type: article

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [let's encrypt](<https://devfeed.tech/topics/let-s-encrypt.md>)

Tags: [apache-2-0](<https://devfeed.tech/tags/apache-2-0.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [builds](<https://devfeed.tech/tags/builds.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [client](<https://devfeed.tech/tags/client.md>), [combined](<https://devfeed.tech/tags/combined.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [devsecops](<https://devfeed.tech/tags/devsecops.md>), [don-t-miss](<https://devfeed.tech/tags/don-t-miss.md>), [github](<https://devfeed.tech/tags/github.md>), [news](<https://devfeed.tech/tags/news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [server](<https://devfeed.tech/tags/server.md>), [service](<https://devfeed.tech/tags/service.md>), [socket](<https://devfeed.tech/tags/socket.md>), [software](<https://devfeed.tech/tags/software.md>), [ssl-tls](<https://devfeed.tech/tags/ssl-tls.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [tls](<https://devfeed.tech/tags/tls.md>), [traffic](<https://devfeed.tech/tags/traffic.md>), [unix](<https://devfeed.tech/tags/unix.md>)

## AI overview

Ghostunnel moves mutual TLS into a standalone proxy for applications that speak plaintext. In server mode it accepts TLS, checks client certificates, and forwards traffic over TCP or a UNIX socket; in client mode it wraps local plaintext connections in TLS and presents a client certificate. Server mode requires at least one access check, such as a certificate name, public key pin, or policy; checks can be combined with OR logic, and OPA policies can reload while the tunnel runs. Credentials can come from files, platform stores, SPIFFE, PKCS#11 hardware, or Let's Encrypt ACME in server mode, and certificates reload on SIGHUP or a timer. By default, listeners and targets are restricted to localhost or UNIX sockets unless unsafe flags are enabled; Linux uses Landlock sandboxing by default.

## Source excerpt

Ghostunnel is an open-source proxy that handles TLS for programs that cannot handle it themselves. It works in two directions. In server mode it sits in front of a backend, accepts TLS connections, checks the client's certificate, then passes traffic to the service behind it over TCP or a UNIX socket. In client mode it does the reverse, listening for plain local connections, wrapping them in TLS and presenting a client certificate to the remote ... More -> The post Ghostunnel: Open-source TLS proxy with mutual authentication appeared first on Help Net Security.