PortalOpen-source localhost tunnel with self-hostable trustless relays
Selfhosted GatewaySelf-hosted Docker tunnel to expose local services
Portal vs Selfhosted Gateway
How Portal and Selfhosted Gateway compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to Cloudflare Tunnel.
At a glance
- Selfhosted Gateway has had no code changes for over 18 months; Portal is actively maintained.
- Selfhosted Gateway has more GitHub stars (1.7k vs 304, about 6× as many).
- Portal was updated more recently (last commit 3 days ago, Selfhosted Gateway 1 year ago).
- Portal uses MIT (permissive); Selfhosted Gateway uses AGPL-3.0 (copyleft).
- Selfhosted Gateway can be self-hosted.
- Selfhosted Gateway is the older project (repository started 2022; Portal in 2025).
Side by side
| Portal | Selfhosted Gateway | |
|---|---|---|
| GitHub stars | ★ 304 -1 in 9 days | ★ 1,742 |
| Forks | 32 | 87 |
| Last commit | 3 days ago | 1 year ago |
| Latest version | v2.8.0 | – |
| Repository started | October 2025 | September 2022 |
| License | MIT · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | Linux, macOS, Windows, Docker, CLI | Docker, Linux |
| Main language | Go | Shell |
| Alternative to | Cloudflare Tunnel, ngrok | 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.
Portal
Portal publishes local apps and APIs through public or self-hosted relays without accounts, using local cryptographic identity, optional client-side TLS, multi-relay failover, and IVNP overlay routing.
Key features
- Public or self-hosted relays
- Client-side tenant TLS
- No accounts or API keys
- Multi-relay failover pools
- MITM self-probe on relays
- IVNP overlay routing option
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