qmetrics.net

rathole

Rust reverse proxy for NAT traversal and exposure

Rathole exposes services behind NAT through a server with a public IP, similar in workflow to frp. It is written in Rust and targets stable, low-footprint forwarding.

Overview

Rathole is a reverse proxy for NAT traversal. A client on a private network connects outbound to a publicly reachable server; traffic to chosen ports on the server is forwarded to services on the client side, such as SSH on a home NAS.

Configuration splits into server and client files (or combined files with explicit --server or --client mode). Each service requires its own token on both sides. Optional Noise protocol encryption or TLS can protect traffic without mandating self-signed certificates.

The project emphasizes throughput and stability under many connections while keeping memory use low; release binaries can be very small for embedded routers. Services can be added or removed via configuration hot reload; an HTTP management API is planned but not finished.

You can install from release binaries, build from source, or use a published Docker image. Systemd unit examples exist for running it as a background service on Linux. Logging follows Rust conventions through the RUST_LOG environment variable.

Key features

  • Client–server NAT traversal forwarding
  • Per-service mandatory access tokens
  • Optional Noise or TLS transport encryption
  • Configuration hot reload
  • Small release binaries for embedded use
  • Docker image and release binaries
  • TCP_NODELAY default with opt-out tuning
  • Systemd service examples on Linux

Use cases

  • Exposing home NAS SSH to the internet
  • Publishing services behind carrier NAT
  • Low-resource port forwarding on routers
  • Secure tunneled access without manual TLS certs
  • Forwarding interactive TCP services remotely

Open-source alternative to

ngrok
“A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.” source

Tags

Compare rathole

Similar software

Clash Verge Rev

Cross-platform Tauri desktop GUI for Clash Meta proxying

Clash Verge Rev is a desktop GUI for the Clash Meta proxy kernel on Windows, macOS, and Linux. It offers profile management, system proxy modes, and keeps configuration on your device.

  • Rust and Tauri 2 desktop stack
  • Custom themes, tray icons, CSS injection
  • Config merge, scripts, syntax hints
TypeScriptLinux, macOS, WindowsDetails →
★ 162.4k⟳ todayGPL-3.0

v2rayN

Desktop GUI client for proxy cores

v2rayN is a graphical client for Windows, Linux, and macOS that works with Xray, sing-box, and related proxy stacks. Prebuilt packages ship for common CPU architectures.

  • GUI for Xray and sing-box
  • Windows Linux macOS builds
  • Multiple CPU architectures
C#Linux, macOS, WindowsDetails →
★ 122.1k⟳ todayGPL-3.0

frp

Self-deployed reverse proxy for NAT and firewall bypass

frp pairs a public-facing frps server with frpc clients to expose TCP, UDP, HTTP, and HTTPS services behind NAT or firewalls, including P2P connect mode.

  • TCP UDP HTTP HTTPS tunneling
  • frps and frpc server-client model
  • Custom domain HTTP publishing
GoDetails →
★ 111k⟳ 2 days agoApache-2.0
Open Source Alternative to:Cloudflare Tunnelngrok+1

Caddy

Extensible server platform with automatic TLS

Caddy is an extensible server platform that enables HTTPS by default. It is often used as an HTTPS and HTTP server with a modular Go-based architecture.

  • Automatic HTTPS by default
  • Caddyfile and JSON configuration
  • JSON API for dynamic config
GoLinux, macOS, Windows, CLIDetails →
★ 80k⟳ yesterdayApache-2.0
Open Source Alternative to:Internet Information Services

FlClash

Multi-platform Clash Meta proxy client without ads

FlClash is a proxy client built on the mihomo (Clash.Meta) core for Android, Windows, macOS, and Linux. It supports rule routing, TUN mode, and subscription-based profiles.

  • mihomo core with rule routing
  • TUN and system proxy modes
  • Subscription and file profiles
DartLinux, macOS, Windows, AndroidDetails →
★ 67.3k⟳ 8 days agoGPL-3.0

Traefik Labs

Dynamic HTTP reverse proxy and load balancer for microservices

Traefik routes HTTP traffic to microservices and balances load across backends. It watches orchestrators and registries to update routes without manual restarts.

  • Dynamic configuration from orchestrators
  • Multiple load balancing algorithms
  • Circuit breakers and retries
GoDockerDetails →
★ 66k⟳ 3 days agoMIT