Teitunnel

Concepts

Teitunnel and Cloudflare's own tools

How Teitunnel compares with managing Cloudflare Tunnel through the cloudflared command line or the Cloudflare dashboard, and when to use which.

Teitunnel doesn't replace Cloudflare Tunnel; it's a way to use it. You can do the same things with Cloudflare's own tools, the cloudflared command line and the Cloudflare dashboard, and mix them: Teitunnel reads what's in your account and only changes what it made.

cloudflared CLICloudflare dashboardTeitunnel
Share a port with no accountcloudflared tunnel --urlnoQuick Share, one click, with a QR code
Share a folder of filesnonoQuick Share or on your domain
Create a tunnel, routes and DNSseveral commandsseveral pagesone reviewed change
See changes before they're madenonoevery change, as a plan
Undo a change that failed halfwayby handby handautomatic, and Undo right after applying
Records it didn't createoverwrites on requestedits anythingasks first, never deletes
Keep running at login or bootcloudflared service installn/aone switch; launchd, systemd or Task Scheduler
Find what's running locallynonodev servers and containers
Explain problemslogsstatus pagesDoctor, with fixes
Traffic and logsmetrics endpoint, log filesper tunnelper tunnel and route, live, plus edge analytics and uptime
Inspect, replay and edit requestsnonothe inspector
Pause or schedule a hostnamenonoyes, same address
Logins (Access) for a routeseparate API callsseparate pagesone switch on the route
Bot, rate limit and header rules for one hostnameAPI callsseveral pagesone change, scoped to the hostname
Static copy online while you're offlinenoa Worker you deploySnapshots, from a folder, a build or a running site
Page shown while your computer is offnoa Worker you writeoffline page, one switch
Load balancing across machinesAPI callsseveral pagesone change
Local HTTPS domains (.test, .localhost)nonoyes, with a trusted certificate
Config in your repositoryconfig.ymlnoteitunnel.yml project files
AI agentsnonoMCP server; changes wait for your approval by default
Export to config.yml, Compose, Terraformn/an/ayes
Runs onanythinga browsermacOS, Windows, Linux, servers, Docker

When to use what

  • Teitunnel when you want it done quickly and safely, especially on a laptop or a few servers, or if DNS mistakes would hurt.
  • The dashboard for account-wide Zero Trust settings Teitunnel doesn't cover: identity providers, device posture, Gateway policies, and domain-wide security settings.
  • cloudflared directly, or Terraform, when the tunnel is part of infrastructure managed as code. Teitunnel can export its routes as a starting point, and project files keep a setup in your repository.

Using them together

  • Teitunnel creates its own tunnel for each computer and changes only that one. Tunnels made elsewhere are listed, and you can import a config.yml setup or run an existing tunnel.
  • Routes changed in the dashboard are noticed, and Teitunnel asks before putting its own back (Routes and tunnels).
  • DNS records, Access applications and rules you made yourself are never deleted without your confirmation (DNS ownership).
Edit on GitHub

Last updated on

On this page