Nonla Tunnel
Share a local app from your own VPS
Expose local HTTP apps through a server you own: subdomain routing, Traefik TLS and an ngrok-style CLI. No dashboard; it is built to be driven by scripts and AI agents.
$ nonla-tunnel http 3000 --name my-apiForwarding https://my-api.tunnel.example.com -> http://localhost:3000# background mode returns once the URL is live$ nonla-tunnel http 3000 --name my-app -d$ nonla-tunnel status$ nonla-tunnel stop my-app
Install
The server runs next to Traefik on your VPS. Each agent installs the client with a one-time invite, so the admin token never leaves the server.
Point *.tunnel.example.com and tunnel.example.com at the VPS first: two A records.
On Windows: $env:NONLA_INVITE='nti_…'; irm https://tunnel.example.com/install.ps1 | iex
From DNS to a public URL
Four steps, once. After that, opening a tunnel is one command.
- 01
Point DNS
Two A records to your VPS: the wildcard *.tunnel.example.com and the apex tunnel.example.com.
- 02
Deploy the server
Run the Docker image next to Traefik. It writes Traefik routes; Traefik handles TLS with Let's Encrypt.
- 03
Invite an agent
Create a one-time invite. The agent trades it for its own credential on first use.
- 04
Open a tunnel
nonla-tunnel http 3000 --name my-api prints the public https URL as soon as it is live.
How a request reaches your laptop
Traefik terminates TLS for every tunnel and for the control channel. The server only writes route files Traefik watches.
A visitor opens https://my-api.tunnel.example.com
nonla-tunnel-server
on your VPS
The client keeps the tunnel open
nonla-tunnel-server
writes traefik/dynamic
Built for agents, safe to hand out
Commands never prompt, and every agent gets its own revocable credential.
One-time invites
An invite is single use and expires (24 hours by default). A leaked or used invite is worthless.
Per-agent credentials
List and revoke each agent's credential. A revoked agent's live tunnels drop within about 15 seconds.
TLS control channel
Clients connect to connect.<domain> over TLS on port 443, terminated by Traefik.
Names you keep
A tunnel name belongs to the first client that used it; others can't take it over.
Agent-friendly CLI
http -d returns once the public URL is live; uninstall takes --yes. Exit codes and output are predictable.
Verified installs
Installers and upgrade check every binary against the release's SHA256SUMS.txt.
Every desktop
Clients for Linux (static, x86_64 and arm64), macOS (Apple Silicon and Intel) and Windows 10/11.
Limits built in
128 concurrent requests and 100 requests per second per tunnel. Wrong tokens wait a second; 10 failures block the IP for a minute.
Give your agent the skill
Works with any coding agent. Give it your server domain and an invite, and point it at “Using it from an agent” in the README: enroll once, then open tunnels with -d and --name.
On Claude Code, the repo is also a plugin with a skill that knows the formats and commands:
Open source, MIT
Read the code, file an issue or send a pull request. Every release ships from GitHub.