BLIND-EDGE TUNNEL // WIRE V1 // FREE

Local TLS.
Blind edge.

Free, agent-first HTTPS tunnels. Private keys never leave your machine; the edge sees only SNI.

SESSION // THEUTH/SHARE/1 UNIX SHELL
$ tunzip init --accept-terms
mesh_id   7a3c9e12... (keys/mesh.key 0600)
engine_id 9f01b448... (keys/engine.key 0600)

$ tunzip reserve orbital
csr       P-256 local key -> ACME DNS-01 valid
cert      certs/tun.zip/orbital/chain.pem

$ tunzip share 3000
LIVE      https://orbital.tun.zip -> 127.0.0.1:3000
tls       local tokio-rustls (h2/http1.1) · exp 8h
curl -fsSL https://tun.zip/install.sh | sh
$0 / Free
No signup · No paywall
Local P-256
Private keys stay 0600 on disk
SNI Only
Zero MITM · Zero edge decryption
11 MCP Tools
Stdio + loopback Streamable HTTP
01 // OVERVIEW

End-to-end encrypted shares built for humans and autonomous agents.

Conventional tunneling proxies terminate TLS on their servers and inspect every request. tunzip routes raw TLS ciphertext straight to your machine over an authenticated iroh QUIC tunnel.

P.01 // CRYPTOGRAPHIC ISOLATION

Keys never leave your machine

Your machine generates its own P-256 ECDSA certificate key (0600) and sends only a signed PKCS#10 CSR. The edge runs ACME DNS-01 to fetch a Let's Encrypt certificate chain, and your client verifies the leaf public key before terminating TLS locally with tokio-rustls.

P.02 // COST

Completely free

No account creation, no credit card, no metered tiers. Install the single Rust binary, accept the edge terms once, and publish immediately on tun.zip.

P.03 // AGENT-FIRST

Native MCP + JSON CLI

Built for coding agents from day one. Every CLI command supports --json, and tunzip mcp exposes 11 typed tools, structured outputs, ACME queue progress streaming, and consent elicitation.

P.04 // IDENTITY

Reserve a permanent name

Claim <name>.tun.zip (plus wildcard <sub>.<name>.tun.zip) bound to your local Ed25519 mesh.key, or spin up an instant 6-character random label.

P.05 // CONFIGURATION

Simple YAML, zero secrets

One readable 10-key config.yaml file. Every private key and bearer token is kept strictly out of YAML in 0600 files under data_dir.

02 // BLIND-EDGE ARCHITECTURE

One wire. Four hops. Zero edge plaintext.

The tun.zip edge operates strictly as a blind TCP/SNI splicer. It never holds your certificate key, never answers a TLS handshake on port 443, and never sees an HTTP header or body.

SCHEMATIC // TUN.ZIP BLIND-EDGE DATA PLANE ALPN: THEUTH/SHARE/1 · PROXY V2 · TLS 1.3 E2E
Blind-edge tunnel data flow diagram Visitor connects over HTTPS TLS to the tun.zip blind edge, which peeks only the SNI hostname without decrypting, forwards raw TLS bytes with a PROXY v2 header over an encrypted iroh QUIC tunnel, and your machine terminates TLS locally with its P-256 private key. END-TO-END TLS 1.3 CIPHERTEXT 01 // VISITOR Browser / API TCP 443 · TLS 1.3 SNI: app.tun.zip Verifies leaf cert from your machine TLS 443 02 // TUN.ZIP EDGE Blind Splicer SEES ONLY SNI HOSTNAME HAProxy ssl-passthrough No cert presented on 443 Replays raw ClientHello BI-STREAM 03 // TUNNEL iroh QUIC Encrypted transport PROXY v2 preamble Ed25519 engine_key 256 streams / tunnel 04 // YOUR MACHINE Terminates TLS tokio-rustls (aws-lc) key.pem (P-256 · 0600) HTTP/2 · WS · DirPin -> 127.0.0.1:<port> CONTROL PLANE: CSR -> ACME DNS-01 -> CERT CHAIN
HOP 01 // VISITOR
Standard HTTPS client

Connects to https://<name>.tun.zip on TCP 443. Sends TLS ClientHello carrying SNI.

HOP 02 // BLIND EDGE
SNI peek & splice

HAProxy passes TCP straight through. Edge reads only SNI (≤ 16 KiB), resolves the owner tunnel, and replays raw bytes untouched.

HOP 03 // QUIC TUNNEL
iroh bi-stream + PROXY v2

Authenticated by your local Ed25519 engine.key. Prepends PROXY v2 visitor metadata, then copies ciphertext bidirectionally.

HOP 04 // LOCAL HOST
Local TLS & HTTP/2

tunzip terminates TLS using your local P-256 key, enforces route & gate checks, and serves your port or directory.

03 // INSTALL

Single static binary. Zero runtime deps.

Choose your package manager or download a signed binary directly from GitHub Releases.

POSIX SHELL · VERIFIES SHA-256 & MINISIGN · INSTALLS TO ~/.LOCAL/BIN
curl -fsSL https://tun.zip/install.sh | sh
Inspect the script first at https://tun.zip/install.sh. Downloads signed macOS binaries or static Linux musl binaries.

Direct Release Archives

Querying GitHub Releases…
Platform Target Triple Packaging Download
macOS (Apple Silicon) aarch64-apple-darwin Signed & notarized binary Releases (.tar.gz)
macOS (Intel) x86_64-apple-darwin Signed & notarized binary Releases (.tar.gz)
Linux (x86_64) x86_64-unknown-linux-musl Static musl binary Releases (.tar.gz)
Linux (ARM64) aarch64-unknown-linux-musl Static musl binary Releases (.tar.gz)
Windows (x64) x86_64-pc-windows-msvc Standalone tunzip.exe Releases (.zip)
Every release publishes SHA256SUMS, a minisign signature (.minisig), and GitHub Sigstore build-provenance attestations.
04 // QUICK START

Three commands to local-TLS HTTPS.

Generate your local keypair, optionally reserve a permanent subdomain, and expose any local port or directory.

STEP 01 // INIT

Initialize local keys

Creates two distinct Ed25519 keys (mesh.key and engine.key, mode 0600) and writes starter ~/.config/tunzip/config.yaml.

INITIALIZE IDENTITY & ACCEPT EDGE TERMS
tunzip init --accept-terms
STEP 02 // RESERVE

Reserve a name (optional)

Claims <name>.tun.zip, creates a local P-256 key and CSR, and streams Let's Encrypt ACME DNS-01 progress until the certificate is installed.

CLAIM SUBDOMAIN & ISSUE LOCAL-KEY CERT
tunzip reserve orbital
STEP 03 // SHARE

Expose a port or folder

Dials the blind edge over iroh QUIC, terminates TLS locally, and cleans up the published route automatically on SIGINT/SIGTERM.

PUBLISH LOCALHOST:3000 OVER E2E HTTPS
tunzip share 3000
05 // MODEL CONTEXT PROTOCOL

First-class MCP server for coding agents.

Run tunzip mcp --stdio for zero-config local agent integration, or tunzip mcp --http 127.0.0.1:7799 with loopback DNS-rebinding guards and Bearer authentication.

CLAUDE CODE · CLI OR .MCP.JSON
# Add directly via Claude Code CLI:
claude mcp add tunzip -- tunzip mcp --stdio

# Or place in project .mcp.json:
{
  "mcpServers": {
    "tunzip": {
      "command": "tunzip",
      "args": ["mcp", "--stdio"]
    }
  }
}

Exposed MCP Tools (11 Typed Tools + Structured Output)

Tool Name Behavior Description
tunzip_status read-only Returns edge connection state, domain, mesh_id, engine_id, terms status, held names, and active shares.
tunzip_terms_accept elicit Presents edge terms_url & terms_rev for human confirmation and records acceptance.
tunzip_share_start progressopen-world Exposes a local port or directory. Streams edge/cert progress and returns the live HTTPS URL (and one-time password if requested).
tunzip_share_stop destructive Unpublishes one share by ID or host, or stops all routes mesh-wide.
tunzip_share_list read-only Lists active shares with state, expiry, and byte counters (passwords always redacted).
tunzip_name_check read-only Checks availability and cooldown window for <name>.tun.zip.
tunzip_name_reserve elicitprogress Claims a reserved name, submits a local P-256 CSR, and streams ACME queue/ETA updates until issued.
tunzip_name_list read-only Lists held random and reserved names with cert state and expiration.
tunzip_name_release destructiveelicit Releases a name, revokes its certificate, removes DNS, and starts the max(30d, cert not_after) cooldown.
tunzip_name_rotate_cert progress Generates a fresh local P-256 keypair and rotates the cert (optional compromised revocation).
tunzip_name_transfer destructiveelicit Creates a 7-day transfer offer to move a name to another mesh_id.

Subscribable Resources

  • tunzip://statusLive edge & tunnel state
  • tunzip://sharesActive share collection
  • tunzip://shares/{id}Single share telemetry
  • tunzip://namesHeld names & cert status

Built-in Prompts & Safety

  • share-local-appGuided port or dir exposure
  • claim-reserved-nameCheck -> terms -> reserve -> cert
  • notifications/progressACME queue & dial streaming
  • CancellationTokenZero leaked routes on abort
06 // CLI & CONFIG

Predictable CLI surface. Clean 10-key YAML.

Every subcommand accepts --json for deterministic scripting and --config <path> (or TUNZIP_CONFIG).

Command Purpose
tunzip init [--edge <ticket>] [--accept-terms] Generate mesh.key & engine.key (0600), write starter YAML, print mesh ID.
tunzip terms [--accept] Show edge terms_url / terms_rev and record acceptance.
tunzip reserve <name> Claim <name>.tun.zip, submit local CSR, wait for ACME cert issuance.
tunzip names [ls | check <n> | release <n> | primary <n> | rotate <n> [--compromised] | transfer <n> <mesh>] Full name lifecycle: inspect, rotate local keys, transfer (7d offer), or release.
tunzip share <port|dir> [--name <n>] [--sub <l>] [--path </p>] [--expires 8h] [--password] [--no-interstitial] [--detach] Expose local TCP/HTTP port or static directory. Expiry: 1h, 8h, 24h, or 7d.
tunzip ls List active shares with ID, URL, target, state, expiry, and traffic counters.
tunzip stop <id|host|all> Unpublish one share or trigger mesh-wide stop (POST /v1/mesh/stop).
tunzip status Show edge state, domain, mesh ID, engine ID, held names, and active shares.
tunzip daemon Hold one shared iroh QUIC tunnel and local IPC socket for concurrent CLI & MCP sessions.
tunzip mcp [--stdio | --http 127.0.0.1:7799] [--token <tok>] Start the rmcp server (uses running daemon IPC if active, else embeds core).
~/.CONFIG/TUNZIP/CONFIG.YAML (UNIX) · %APPDATA%\TUNZIP\CONFIG.YAML (WINDOWS)
edge: default                  # "default" (pinned tun.zip live + standby) or "theuthedge..." ticket
default_name: null             # preferred held name, e.g. "orbital"
default_expiry: 8h             # 1h | 8h | 24h | 7d
interstitial: true             # forced true when edge admission == open
max_live: 8                    # local concurrent share cap
data_dir: ~/.local/share/tunzip
accepted_terms: {}             # { "<edge_id>": "<terms_rev>" }
mcp_http_addr: 127.0.0.1:7799  # loopback-only Streamable HTTP address
mcp_elicit_consent: true       # elicit confirmation on terms/reserve/release/transfer
log_level: info
Zero secrets live in YAML. keys/mesh.key, keys/engine.key, keys/cookie.key, keys/mcp.token, and certs/<domain>/<name>/key.pem are stored under data_dir with 0600 permissions (owner-only DACL on Windows).
07 // SECURITY MODEL

Precise threat boundaries. No hand-waving.

Because the edge routes TCP connections by SNI without decrypting TLS, here is the exact split between metadata the edge must observe to route traffic and secrets it cryptographically cannot access.

What the tun.zip Edge Sees
  • TLS ClientHello SNI: The target hostname (e.g. orbital.tun.zip) needed to select your tunnel.
  • Connection metadata: Visitor IP address, TCP connection start/end timing, and concurrent stream counts.
  • Ciphertext volume: Encrypted ingress and egress byte counts used for metering and abuse rate shaping.
  • Public cryptographic identity: Your public Ed25519 mesh_id / engine_id, 24h delegation timestamps, and public PKCS#10 CSR / X.509 certificate chains.
What the tun.zip Edge NEVER Sees
  • Private keys: Neither your P-256 TLS key (key.pem) nor your Ed25519 identity keys (mesh.key, engine.key) ever leave disk.
  • HTTP plaintext: Request paths, query strings, headers, cookies, bearer tokens, request/response bodies, and WebSocket payloads stay inside TLS 1.3.
  • Share passwords: Verified locally on your machine using Argon2id and signed __Host- cookies.
  • Unshared local state: Your filesystem, localhost ports, and unrouted services remain unreachable (cross-host requests receive 421 Misdirected Request).

ACME DNS-01 + CAA Pinning

tun.zip publishes strict issuewild CAA records pinned to the edge's Let's Encrypt accounturi and validationmethods=dns-01, preventing unauthorized wildcard issuance. Clients verify the leaf public key against local key.pem on every renewal.

Split Ed25519 Identity

The edge strictly enforces mesh_key != engine_key. Your owner mesh.key signs short-lived 24h delegations (renewed at 12h) authorizing your tunnel's engine.key, with pinned live + cold standby edge keys.

Agent Defense in Depth

PortGuard refuses to expose tunzip's own MCP HTTP port/PID; race-free DirPin (openat2 / O_NOFOLLOW) blocks $HOME, dotfiles, and symlink escapes; default share expiry is 8h.

08 // FAQ

Operational details.

Straight answers on pricing, certificates, reserved names, and self-hosting.

Is tun.zip really free, and is an account required?

Yes. tunzip is dual-licensed Apache-2.0 / MIT and the default tun.zip blind edge is completely free with open admission. Your identity is your local Ed25519 mesh.key—there is no email signup, OAuth login, or billing dashboard.

How can the edge get a TLS certificate without my private key?

ACME does not require the ACME client to possess the certificate's private key—only a signed Certificate Signing Request (PKCS#10 CSR). Your machine generates the P-256 private key locally, signs a CSR covering [<name>.tun.zip, *.<name>.tun.zip], and sends only the CSR. The edge completes Let's Encrypt dns-01 validation and returns the signed public certificate chain.

What happens if Let's Encrypt rate-limits new certificates?

New-name certificate issuance draws from a shared weekly budget. When the queue is busy, the edge returns 202 CertPending with live queue position and ETA over SSE; both the CLI and MCP tools stream progress automatically until the cert is ready. Renewals for existing names do not compete with new-name slots.

What are the rules for reserved names and cooldowns?

Reserved names must match [a-z0-9-]{3,32} with no leading/trailing hyphens, no punycode (xn--), and no reserved system words. If you release a name, its certificate is revoked, DNS records are removed, and the name enters a cooldown of max(30 days, certificate not_after) to prevent immediate subdomain hijacking. Use tunzip names transfer for zero-gap ownership handoffs.

How is tunzip related to theuth?

Both are built by BaseDatum. tunzip is a lightweight standalone client and MCP server speaking the exact theuth/share/1 blind-edge protocol pioneered in theuth, without requiring a full multi-device mesh.

Can I point tunzip at my own self-hosted blind edge?

Yes. Set edge: "theuthedge..." in config.yaml or pass tunzip init --edge <ticket>. Any edge speaking theuth/share/1 works out of the box.

How do I report phishing or abusive shares on *.tun.zip?

Visit the Abuse & Takedown page or email abuse@tun.zip with the exact hostname and UTC timestamp. While the edge cannot inspect encrypted traffic, operators can immediately kill routes, ban offending names, revoke certificates, and delete DNS records.