# rathole

> A secure, stable and high-performance reverse proxy for NAT traversal, written in Rust

Source: https://talira.ai/catalog/rathole-88cq3zm6
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Infrastructure
- Categories: [networking / tunnels](https://talira.ai/categories/networking/tunnels)
- Platforms: linux, macos, windows, docker, cli[^3]
- Licence: Apache-2.0[^4]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Self-hostable: yes[^2]
- Backed by: [rathole-org](https://talira.ai/orgs/rathole-org.md)
- Creator: rapiz1

rathole is a reverse proxy for NAT traversal: like [frp](https://talira.ai/catalog/frp-mc2bc2p9.md) and [ngrok](https://talira.ai/catalog/ngrok-sskdrarr.md), it exposes a service on a device behind NAT (a NAS's SSH or web UI at home, say) to the internet through a server you run with a public IP. Each service is set up on both sides with a mandatory per-service token, and the link can be encrypted with the Noise Protocol (no certificates needed) or TLS. It's written in Rust for high throughput and low memory use, the binary can be trimmed to about 500 KiB for routers and other embedded devices, and services can be added or removed by hot-reloading the config. Its configuration is close to frp's. It ships as binaries for Linux (including MIPS and ARM), macOS and Windows, a Docker image, a crate and a Homebrew formula, under Apache-2.0.

## Links

- GitHub: https://github.com/rathole-org/rathole

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/rathole>[^1]

## Problems it solves

- expose my home NAS's SSH to the internet when I'm behind CGNAT
- self-hosted alternative to ngrok using my own VPS
- lighter, faster replacement for frp
- reverse tunnel small enough to run on my router
- make a web service on my home server reachable from outside without opening ports
- encrypted tunnel from a device behind NAT to a public server without managing certificates

## Features

- exposes services behind NAT through a server with a public IP
- mandatory per-service tokens
- optional Noise Protocol encryption, or TLS
- TCP and UDP services
- hot reload of services from the configuration file
- binary as small as about 500 KiB for embedded devices
- higher throughput and lower memory use than frp in the project's benchmarks
- binaries for Linux (x86_64, ARM, MIPS), macOS and Windows, plus a Docker image

## Limitations

- the HTTP API is still a work in progress[^2][^3]
- the latest release is v0.5.0 from October 2023[^2][^3]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.55 out of 1.
Signals: maintenance 0.45, adoption 0.83, momentum 0.72, community 0.58, backing 0.50, extensibility 0.20.

- last commit 3 months ago
- latest release v0.5.0 3.2 years ago
- 14.5k GitHub stars
- 28 contributors
- backed by rathole-org
- created by rapiz1

## Alternatives

- [sish](https://talira.ai/catalog/sish-6cr9yw5z.md): HTTP(S), WS(S) and TCP tunnels to localhost using only SSH
- [frp](https://talira.ai/catalog/frp-mc2bc2p9.md): A fast reverse proxy to expose a local server behind a NAT or firewall to the internet
- [bore](https://talira.ai/catalog/bore-8ax91t18.md): Minimal TCP tunnel that exposes local ports through a remote server
- [ngrok](https://talira.ai/catalog/ngrok-sskdrarr.md): Start on localhost, ship to prod.
- [Cloudflare Tunnel (cloudflared)](https://talira.ai/catalog/cloudflare-tunnel-cloudflared-6qgka9xt.md): Cloudflare Tunnel client
- [Pangolin](https://talira.ai/catalog/pangolin-bfe07h6b.md): Secure access to your apps, infrastructure and AI, built on WireGuard

## Sources

[^1]: https://formulae.brew.sh/api/formula/rathole.json (checked 23 Nov 2026)
[^2]: https://github.com/rathole-org/rathole/blob/main/README.md (checked 23 Nov 2026)
[^3]: https://github.com/rathole-org/rathole/releases/latest (checked 23 Nov 2026)
[^4]: https://github.com/rathole-org/rathole/blob/main/LICENSE (checked 23 Nov 2026)
