Skip to content

devt-tunnel·Desktop appEarly access

All your tunnels, one click away.

SSH, cloudflared, ngrok and custom commands in one place. No flags to memorize, no orphaned ssh processes left behind.

devt-tunnel
Search by name, host or port…⌘K
+ New tunnel
  • dbSSH

    -L 5433 → 127.0.0.1:5432 · via server1

  • webcloudflared

    localhost:3000 → calm-river.trycloudflare.com

  • previewcloudflaredMCP

    localhost:5173 → public

  • apingrok

    localhost:8080 → api.ngrok.app

  • socksSSH

    -D 1080 · SOCKS5 · via staging

  • workerCommand

    env: QUEUE_TOKEN

Flip a switch to try

macOS · Windows · LinuxOpen source · Apache-2.0

Drives the tools already on your machine

It does not bundle ssh, ngrok or cloudflared. It reuses your ~/.ssh/config.

  • ssh
  • cloudflared
  • ngrok
  • command

01 — Create

Paste the old command, get a managed tunnel.

Start from a host in ~/.ssh/config, an ssh, ngrok or cloudflared command you already know, or manual input. The editor shows the exact command it will run and checks it before saving.

What you see is what runs
The generated command is shown verbatim, with no hidden steps.
Checked before saving
Binary, host alias, port conflicts, unsafe flags and missing secrets.
Try pasting
New tunnel⌘⇧V
$ ssh -N -L 5433:localhost:5432 server1
Type
SSH
Host
server1 · ~/.ssh/config
Forward
-L 127.0.0.1:5433 → localhost:5432
Flags
-N

Command preview

ssh -N -L 127.0.0.1:5433:localhost:5432 server1

  • ✓ssh → /usr/bin/ssh
  • ✓host "server1" found in ~/.ssh/config
  • ✓port 5433 is free
  • !no keepalive — add ServerAliveIntervalAdd
SaveSave & start
$ ngrok http 8080 --domain=api.ngrok.app
Type
ngrok
Protocol
http
Local
localhost:8080
Domain
api.ngrok.app
Authtoken
🔒 NGROK_AUTHTOKEN

Command preview

ngrok http localhost:8080 --domain=api.ngrok.app

  • ✓ngrok → /opt/homebrew/bin/ngrok
  • ✓secret NGROK_AUTHTOKEN is in the vault
  • ✓port 8080 is not used by another tunnel
SaveSave & start
$ cloudflared tunnel --url http://localhost:3000
Type
Cloudflared
Mode
Quick tunnel
Service
http://localhost:3000

Command preview

cloudflared tunnel --url http://localhost:3000

  • !cloudflared not found on PATHDownload
  • ✓localhost:3000 is not exposed by another tunnel
SaveSave & start

02 — Run

Start it once, let it take care of itself.

Tunnels are supervised like real services: they know when they are ready, reconnect on their own, and stop cleanly.

Global quick launch

⌥Space from anywhere. Type a name, host or port and press Enter to start or stop.

Auto-reconnect

Live logs, reconnect with backoff, recovery after sleep. A stop takes the whole process tree with it.

Profiles & groups

Share an SSH config with a profile. Start a whole stack with a group.

Vault & prompts

Secrets stay in the OS keychain. Passphrase, host-key and OTP prompts come to you in the app or the terminal.

Menu bar

Running tunnels and favorites, one click away.

03 — CLI

Keep your terminal habits, add the management.

devt-tunnel shares one registry with the app through a per-user daemon. Tunnels created in a terminal show up in the app, and the other way round.

  • --json for scripts
  • Stable exit codes
  • Offline guides: devt-tunnel docs
Instead ofUse
  • ssh -N -L 5433:127.0.0.1:5432 server1$ devt-tunnel forward server1 5433:5432
  • autossh -M 0 -N -L …$ devt-tunnel forward server1 auto:5432
  • cloudflared tunnel --url http://localhost:3000$ devt-tunnel expose 3000 --via cloudflared
  • ps aux | grep ssh$ devt-tunnel ls
  • kill 48213$ devt-tunnel stop db

$ devt-tunnel ls --running

ID TYPE STATE ENDPOINT db ssh running 127.0.0.1:5433 redis ssh running 127.0.0.1:6380 web cloudflared running 127.0.0.1:3000

04 — Agents

  • AllowedForwards to allow-listed destinations
  • Needs approvalPublic tunnels, SSH -R, destinations not allow-listed
  • DeniedWhatever your policy blocks

Agents open tunnels, you keep the say.

Agents call in through MCP or the CLI. The daemon decides by policy: allowed, needs a person, or denied. Public tunnels always need a person.

Agents cannot

  • ✕Change policy or approve their own requests
  • ✕Read or write secret values
  • ✕Answer SSH prompts
  • ✕Run arbitrary commands through MCP

Every request and decision is recorded in the audit log.

$ devt-tunnel mcp config

05 — Architecture

One daemon, three ways in.

Clients

  • Desktop app
  • devt-tunnel CLI
  • MCP client → mcp serve

Per-user daemon

devt-tunnel daemon

  • registry
  • supervisor
  • policy
  • audit

local socket · no network listener

Processes

  • ssh
  • cloudflared
  • ngrok
  • command
One source of truth
The app, the CLI and MCP are clients of the same local API, so they always show the same state.
No network listener
The API is reachable only through a local socket.
Close the app, tunnels keep running
If the app crashes, the daemon and tunnels live on; a relaunch reconnects.
Network only when you ask
Apart from the optional update check and a cloudflared download you start, the app makes no requests of its own.

06 — Install

Build from source

No public release yet. macOS has been checked by hand; Windows and Linux build in CI but have not run on a real desktop yet.

Packages (once signed releases exist)

  • macOS.dmg
  • Windows 10/11NSIS installer
  • Ubuntu · Debian · Fedora.deb · .rpm

Just Go 1.27.3 or newer. No Node, GTK, WebView or display.

bash
$ git clone https://github.com/trieu04/devt-tunnel.git$ cd devt-tunnel$ CGO_ENABLED=0 go build -o bin/devt-tunnel ./cmd/devt-tunnel

Also needs Node 22, pnpm and the Wails CLI; on Linux, GTK and WebKitGTK.

bash
$ git clone https://github.com/trieu04/devt-tunnel.git$ cd devt-tunnel$ wails3 task build

FAQ

Why not just use ssh -L or autossh?+

For a single forward you use once, plain ssh is fine. devt-tunnel adds reconnects, status, logs, port-conflict checks and a clean stop, and puts every tunnel and its owner in one list.

Do I need to install ssh, ngrok or cloudflared separately?+

Yes, the ones you use. The app finds them on your system and lets you set a path per tool. It can download a checksum-verified cloudflared when you ask — nothing is downloaded automatically.

Do tunnels keep running when I close the window?+

With a tray, closing the window only hides it and tunnels keep running. ⌘Q stops all tunnels and quits. If the app crashes, the daemon keeps them and a relaunch reconnects.

Can an agent open a public tunnel without me?+

No. A public tunnel waits for a person, or is refused if policy denies it. MCP can be turned off completely in Settings → MCP.

How do I share tunnels with my team?+

Copy tunnels.toml after reviewing its hostnames, paths and custom commands. It holds secret names only, so each person adds their own values.

Fewer flags to remember, more time to build.

Open source under Apache-2.0. Feedback, issues and pull requests are welcome.