Selfhosted GatewaySelf-hosted Docker tunnel to expose local services
frp vs Selfhosted Gateway
How frp and Selfhosted Gateway compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to Cloudflare Tunnel and Tailscale Funnel.
At a glance
- Selfhosted Gateway has had no code changes for over 18 months; frp is actively maintained.
- frp has more GitHub stars (111k vs 1.7k, about 64× as many).
- frp was updated more recently (last commit 2 days ago, Selfhosted Gateway 1 year ago).
- frp uses Apache-2.0 (permissive); Selfhosted Gateway uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
- frp is the older project (repository started 2015; Selfhosted Gateway in 2022).
Side by side
| frp | Selfhosted Gateway | |
|---|---|---|
| GitHub stars | ★ 111,005 +213 in 9 days | ★ 1,742 |
| Forks | 15,346 | 87 |
| Last commit | 2 days ago | 1 year ago |
| Latest version | v0.72.0 | – |
| Repository started | December 2015 | September 2022 |
| License | Apache-2.0 · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | – | Docker, Linux |
| Main language | Go | Shell |
| Alternative to | Cloudflare Tunnel, ngrok, Tailscale Funnel | Cloudflare Tunnel, Tailscale Funnel |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
frp
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.
Key features
- TCP UDP HTTP HTTPS tunneling
- frps and frpc server-client model
- Custom domain HTTP publishing
- STCP and xtcp access modes
- Token and OIDC authentication
- Server and client dashboards
Selfhosted Gateway
Self-hosted Gateway links local Docker Compose apps to the public internet through WireGuard, Caddy, and nginx on a VPS you control.
Key features
- Docker Compose link snippets
- WireGuard RPoVPN tunnels
- Automatic HTTPS via Caddy
- nginx gateway reverse proxy
- Proxy protocol client IPs
- Optional basic authentication