rathole
Tunnels, VPNs and networking
Rust reverse proxy that exposes services behind NAT through a server with a public IP
14k 852 3 months ago Dormant Apache-2.0
Self-hosted SSH-based tunnel service with SSO and stable subdomains for teams
Listed by Alston Antony, founder & editor
Health
ActiveStars
3,651
Last commit
yesterday
Nov 2026
Repository age
3 years
since Mar 2023
Latest version
v1.8.0
Nov 2026
Contributors
–
1 active in 90 days
Releases
5
last 12 months
Language
Go
pgrok is a self-hosted, multi-tenant platform that exposes local HTTP services and raw TCP connections through SSH reverse tunnels. You run it on your own server and domain, and users sign in through an OIDC-compatible SSO provider such as Google, Okta, GitLab or Keycloak. After sign-in they get a token and a stable HTTP subdomain.
The server, pgrokd, ships as a single binary, a Docker image or through Docker Compose. It needs a domain with wildcard DNS, a public server, an OIDC client and a PostgreSQL server, version 12 or higher. A Caddy reverse proxy in front handles HTTP. The pgrok CLI creates tunnels, picks subdomains and can route requests to different local services by path. A standard SSH client also works.
It is written in Go under the MIT license. It suits teams that want a replacement for paid tunneling services where stable subdomains and SSO cost extra, and an alternative to ngrok.
SSO sign-in gives each person a token and a stable subdomain.
Skip if: You are a solo developer who just needs a quick throwaway tunnel.
You control the domain, data and server, and pay for no hosted tunnel plan.
Skip if: You do not want to run PostgreSQL, DNS and a reverse proxy.
The dashboard provides copy-and-paste commands with the token filled in.
Skip if: You need heavy traffic inspection and replay features.
Hosted tunneling services charge extra for stable subdomains and SSO. pgrok lets a team run its own tunnel server, so everyone gets a fixed URL after signing in with company credentials.
brew install pgrok From the project's own install instructions. Check the docs for production settings.
Yes. It is MIT licensed and designed to run on your own infrastructure.
A domain, a server with a public IP, an OIDC-capable SSO provider and a PostgreSQL server, v12 or higher.
Use Homebrew with brew install pgrok, or download an archive from the Releases page.
No. It handles HTTP services and raw TCP connections.
Tunnels, VPNs and networking
Rust reverse proxy that exposes services behind NAT through a server with a public IP
14k 852 3 months ago Dormant Apache-2.0
Tunnels, VPNs and networking
Self-hosted authoritative and recursive DNS server with ad blocking and encrypted DNS
10k 832 yesterday Thriving GPL-3.0
Tunnels, VPNs and networking
Single Rust binary that tunnels TCP, UDP and SOCKS5 over WebSocket or HTTP/2
7.2k 589 35 days ago Active BSD-3-Clause
Tunnels, VPNs and networking
IPv4-over-DNS tunnel for getting online where only DNS queries get through
8k 604 yesterday Active ISC
Tunnels, VPNs and networking
Kubernetes controller that syncs Services and Ingresses to DNS providers like Route 53
9.2k 3k today Thriving Apache-2.0
Tunnels, VPNs and networking
Self-hosted web UI for managing ZeroTier networks with multi-user and organization support
1.3k 129 5 days ago Thriving GPL-3.0