Cloudflare Tunnel logo

17 self-hosted Cloudflare Tunnel alternatives

Cloudflare Tunnel creates outbound-only tunnels from on‑premises or cloud hosts to Cloudflare’s edge, allowing private web apps and services to be published without opening inbound ports. Integrates with Cloudflare Zero Trust for access policies and edge routing.

Alternatives to Cloudflare Tunnel

Caddy is a fast, extensible Go web server and reverse proxy with automatic HTTPS (ACME), HTTP/1.1, HTTP/2, and HTTP/3 support, and a JSON config API.

Caddy screenshot

74.4k stars4.8k forksApache-2.0last commit Actively maintained

Open-source identity-based remote access platform combining WireGuard VPN and tunneled reverse proxy access with granular zero-trust controls.

Pangolin screenshot

21.9k stars745 forkslast commit Actively maintained

iodine is a DNS tunneling tool that forwards IPv4 traffic through DNS queries and replies, providing a TUN interface to route IP traffic when only DNS is allowed.

iodine screenshot

7.9k stars596 forksISClast commit Slowing down

Cosmos Cloud is a security-focused self-hosting platform that provides an app store, reverse proxy with automatic HTTPS, SSO/MFA, container management, backups, and monitoring.

Cosmos Cloud screenshot

6.1k stars237 forkslast commit Actively maintained

A general-purpose HTTP reverse proxy and forwarding tool for homelabs, offering web UI, ACME/TLS, stream proxy, plugins and realtime monitoring.

Zoraxy screenshot

5.3k stars315 forksAGPL-3.0last commit Actively maintained

sish is an open-source Serveo/ngrok alternative that exposes local HTTP(S), WebSockets, and TCP services to the internet using SSH reverse tunnels.

sish screenshot

4.7k stars332 forksMITlast commit Actively maintained

LinuxServer.io SWAG is a Docker image bundling Nginx reverse proxy, ACME certificate automation (Let’s Encrypt/ZeroSSL), optional PHP, and fail2ban intrusion prevention.

SWAG screenshot

3.7k stars277 forksGPL-3.0last commit Actively maintained

High-performance reverse proxy and container orchestrator with Web UI, automatic Docker/Podman route discovery, idle-sleep, access control, and automated Let's Encrypt support.

GoDoxy screenshot

3.5k stars150 forkslast commit Actively maintained

#10

High-performance reverse proxy for self-hosted apps with Web UI, Docker/Podman auto-routing, HTTPS via Let's Encrypt, access control, and OIDC/ForwardAuth support.

3.5k stars150 forkslast commit Actively maintained

Enterprise-grade zero-trust access management platform providing WireGuard VPN with true protocol-level 2FA/MFA, plus integrated OpenID Connect SSO and user/device controls.

Defguard screenshot

2.8k stars107 forkslast commit Actively maintained

Self-hosted controller that automates Cloudflare Tunnels, DNS records, and Access policies using Docker labels, with a web UI and optional multi-server agents.

DockFlare screenshot

2.3k stars102 forkslast commit Actively maintained

Self-hosted ingress platform that exposes internal HTTP/TCP services to the internet through reverse WireGuard tunnels, with NGINX routing and automatic TLS certificates.

Wiredoor screenshot

1.6k stars76 forksApache-2.0last commit Actively maintained

NetGoat is a self-hostable reverse proxy and traffic management platform offering Cloudflare-like features such as TLS termination, rate limiting, WAF-style filtering, and dashboards.

NetGoat screenshot

888 stars47 forksAGPL-3.0last commit Actively maintained

Publishes Docker container label-based service definitions into Redis so a central Traefik instance can discover and route services across multiple Docker hosts.

501 stars26 forksMITlast commit Actively maintained

Integrated installer and platform for home infrastructure. Provides VPN relay for NAT traversal, preconfigured email, automatic HTTPS, reverse proxy, and a web management utility.

HomeServerHQ screenshot

65 stars7 forksGPL-3.0last commit Actively maintained

What replacing Cloudflare Tunnel actually involves

Every option on this page is open source and free to run on your own hardware, so you own the data and there is no subscription to cancel. 15 of 17 shipped a commit in the last six months. Licences in this list: Apache-2.0, ISC, AGPL-3.0, MIT, GPL-3.0. In exchange you take on hosting, backups and updates yourself.

Browse everything in Edge & Traffic (Reverse Proxy, Load Balancing, Web Servers).

Other tools people replace alongside Cloudflare Tunnel