Port BuddyCLI to expose local HTTP, TCP and UDP ports publicly
RatholeRust reverse proxy for NAT traversal
Port Buddy vs Rathole
How Port Buddy and Rathole compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- Rathole has more GitHub stars (14.5k vs 538, about 27× as many).
- Port Buddy was updated more recently (last commit 16 days ago, Rathole 3 months ago).
- Both use the Apache-2.0 license.
- Rathole can be self-hosted; Port Buddy is not listed as self-hostable.
- Rathole is the older project (repository started 2021; Port Buddy in 2025).
Side by side
| Port Buddy | Rathole | |
|---|---|---|
| GitHub stars | ★ 538 | ★ 14,513 |
| Forks | 48 | 857 |
| Last commit | 16 days ago | 3 months ago |
| Latest version | 1.0.18 | v0.5.0 |
| Repository started | November 2025 | December 2021 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | macOS, Linux, Windows, Docker, CLI | Linux, Docker |
| Main language | Java | Rust |
| Alternative to | ngrok | ngrok |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Port Buddy
Port Buddy is a command-line tool that gives local services public URLs for HTTP, HTTPS, raw TCP, and UDP, with TLS, static subdomains, WebSockets, and optional Docker use.
Key features
- HTTP and HTTPS tunnels
- Raw TCP port forwarding
- Native UDP tunneling
- Static and custom domains
- WebSocket and SSE support
- Background daemon mode
Rathole
Rathole exposes services on NAT-bound devices through a public server, using paired client and server configuration files.
Key features
- Client-server NAT traversal
- Mandatory per-service tokens
- Noise Protocol and TLS options
- Hot-reload configuration
- Small static binaries
- Docker image available