qmetrics.net
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

Side by side

PortalSelfhosted Gateway
GitHub stars★ 304 -1 in 9 days★ 1,742
Forks3287
Last commit3 days ago1 year ago
Latest versionv2.8.0–
Repository startedOctober 2025September 2022
LicenseMIT · permissiveAGPL-3.0 · copyleft
Self-hostedDesktop/CLI appYes
PlatformsLinux, macOS, Windows, Docker, CLIDocker, Linux
Main languageGoShell
Alternative toCloudflare Tunnel, ngrokCloudflare 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

More comparisons

Report a mistake on this page