Introduction
Teitunnel is a free, open-source app for Cloudflare Tunnel on macOS, Windows, Linux and servers. Share localhost, publish apps on your own domain, and keep them running.
Teitunnel puts anything running on your computer on the internet through Cloudflare Tunnel, without opening a port on your router. Share a local port at a temporary URL in one click, or publish it on your own domain with DNS, logins and health checks handled for you. Every change to your Cloudflare account is shown before it's made, and undone if a step fails.

Start here
1. Install
Download the app for macOS, Windows or Linux. Two minutes.
2. Share a port
A public URL for localhost:3000 in seconds. No account needed.
3. Use your domain
Serve app.yourhost.com from your computer, for as long as you like.
On a server
The CLI on a VPS, a cloud VM or in Docker, with a web dashboard and an API.
What you can do
- Share a local service at a
trycloudflare.comaddress, or at a subdomain of your own domain for as long as you need it. See Expose localhost. - Publish routes on your domains: hostnames, paths, TCP, SSH and RDP, with DNS records created and cleaned up for you.
- Protect a route with a login (Cloudflare Access) in one step.
- Reach private networks from devices running Cloudflare WARP.
- Run several tunnels, keep them running as a service, and load balance a route across machines.
- Diagnose problems with the Doctor, watch traffic and logs, and see what every change did in Activity.
- Automate with the CLI, the server API,
or export to
config.yml, Docker Compose and Terraform.
Not sure which to use? Choose how to share puts Quick Share, routes, Snapshots, local domains and private networks side by side, and find your way around tours the app.
Popular guides
Share a Vite, Next.js or Django dev server
Fix "Blocked request. This host is not allowed", hot reload and CSRF behind a tunnel.
Test webhooks on localhost
Stripe, GitHub and Slack webhooks to your laptop, at an address that doesn't change.
Home Assistant remote access
Reach Home Assistant from anywhere without port forwarding.
Fix Cloudflare errors
Error 1033, 502 Bad Gateway, 530, SSL errors on deep subdomains, and more.
How it fits together
Teitunnel is a front end to Cloudflare's own pieces. It runs cloudflared, Cloudflare's
connector, which keeps an outbound connection to Cloudflare. It uses the Cloudflare API
with a token you create, to make tunnels, DNS records and logins. Nothing goes through a
Teispace server; there isn't one. If you ever stop using Teitunnel, your tunnels and records
stay in your Cloudflare account, and you can export them to run with
plain cloudflared, Docker Compose or Terraform.
Not affiliated with Cloudflare
Teitunnel is an independent open-source project by Teispace. It uses Cloudflare's public API and its open-source connector.
Last updated on
