SH SelfHostAlt
Sponsored Self-host any open-source app on Hostinger KVM VPS from $4.99/mo (1-Click Docker) →
Est. Team Savings: ~$1,440/year

Best Open-Source Alternatives to Cloudflare Tunnel / ngrok

Expose local services securely to the internet via your own VPS.

Open-Source Tool GitHub Stars Updated License Stack Docker Links
Pangolin ★ 24k 2026-11 AGPL-3.0 Docker Yes Inspect →
MyIP ★ 12.5k 2026-11 MIT Nodejs/Docker Yes Inspect →
NetAlertX ★ 7.5k 2026-11 GPL-3.0 Docker Yes Inspect →
Speed Test by OpenSpeedTest™ ★ 3.9k 2026-04 MIT Docker Yes Inspect →
Canary Tokens ★ 3.1k 2026-11 BSD-3-Clause Docker/Python Yes Inspect →
MySpeed ★ 3.1k 2026-11 MIT Docker/Nodejs Yes Inspect →
beelzebub ★ 2.3k 2026-11 MIT Docker/K8S/Go Yes Inspect →
PlugNPiN ★ 70 2026-11 GPL-3.0 Docker Yes Inspect →

Detailed Breakdown (8 Tools)

★ 24k Docker

Identity-aware tunneled reverse proxy with dashboard UI, access control, and WireGuard-based tunnels (alternative to Cloudflare Tunnel, Tailscale). ).

Replaces: Tailscale / Hamachi Cloudflare Tunnel / ngrok
AGPL-3.0 Docker
Details →
★ 12.5k Docker

All in one IP Toolbox. Easy to check what's your IPs, IP geolocation, check for DNS leaks, examine WebRTC connections, speed test, ping test, MTR test, check website availability and more. , Source Code.

Replaces: Cloudflare Tunnel / ngrok
MIT Nodejs/Docker
Details →
★ 7.5k Docker

Network intruder and presence detector. Scans for devices connected to your network and alerts you if new and unknown devices are found. .

Replaces: Cloudflare Tunnel / ngrok
GPL-3.0 Docker
Details →
★ 3.1k Docker

Generates lightweight, embedded honeypot triggers called canary tokens for detecting unauthorized access. .

Replaces: Cloudflare Tunnel / ngrok
BSD-3-Clause Docker/Python
Details →
★ 3.1k Docker

Speed test analysis software that shows your internet speed for up to 30 days. .

Replaces: Cloudflare Tunnel / ngrok
MIT Docker/Nodejs
Details →
★ 2.3k Docker

Honeypot framework designed to provide a highly secure environment for detecting and analyzing cyber attacks. .

Replaces: Cloudflare Tunnel / ngrok
MIT Docker/K8S/Go
Details →
★ 70 Docker

Automatically scrapes containers with specific labels and creates local DNS/CNAME entries in Pi-Hole/AdGuard Home and proxy hosts in Nginx Proxy Manager. .

GPL-3.0 Docker
Details →

Why Self-Host a Cloudflare Tunnel / ngrok Alternative in 2026?

SaaS vs. Self-Hosted Cost

Save ~$1,440/year

Instead of paying per-seat Cloudflare Tunnel / ngrok subscriptions every month, run any tool above on a single $5/mo ($60/yr) Linux VPS with unlimited users.

Docker Compose Coverage

8 of 8 Docker-Ready

Most Cloudflare Tunnel / ngrok replacements support 1-command Docker Compose deployment, automatic HTTPS via Caddy/Traefik, and easy backup snapshots.

100% Data Ownership

No Vendor Lock-In

Keep sensitive team data in your own EU/US region for GDPR compliance, with zero surprise pricing tier changes or feature paywalls.

Frequently Asked Questions

What is the best free open-source alternative to Cloudflare Tunnel / ngrok in 2026?

Top vetted self-hosted alternatives to Cloudflare Tunnel / ngrok include Pangolin, MyIP, NetAlertX, Speed Test by OpenSpeedTest™. Each can be deployed privately on your own VPS with full data ownership and zero per-seat subscription fees.

How much can a team save by self-hosting an alternative to Cloudflare Tunnel / ngrok?

Replacing Cloudflare Tunnel / ngrok with a self-hosted open-source tool running on a $5/month VPS ($60/year) typically saves small teams around $1,440 per year in recurring per-seat SaaS fees.

Can I deploy Cloudflare Tunnel / ngrok alternatives with Docker Compose?

8 of the 8 listed alternatives ship with official Docker support, allowing you to spin up a private instance in under 5 minutes.

What VPS system requirements do I need to self-host a Cloudflare Tunnel / ngrok replacement?

Most lightweight Cloudflare Tunnel / ngrok alternatives run smoothly on a 2 vCPU / 2–4 GB RAM Linux VPS (such as Hetzner CX22 or Hostinger KVM 2) starting around $4–$6/month.

Related Open-Source SaaS Alternatives

All 93 SaaS Hubs →