Skip to content
Try Hanzo
Language: English (United States)

Hanzo Tunnel

hanzo share

A public HTTPS URL for something running on your laptop. The port stays bound to localhost and the Hanzo fabric carries the traffic to it, so nothing is listening on whatever network the machine is sitting on.

127.0.0.1:3000hanzo share 3000

café networknothing listening

Hanzo fabric→ sharing 3000

wispyfox7421.share.hanzo.aiopen internet

One command, one URL

Install the CLI, sign in once, and name a port. It is the same sign-in that runs your agents and bills your usage, so there is nothing else to set up.

terminal
hanzo share 3000→ sharing 3000https://wispyfox7421.share.hanzo.ai → localhost:3000

For the things that need a real URL

  1. A name you can keep

    02 / 06

    You get a random token by default. Pass --name and the subdomain is yours to reuse, so the callback URL you registered last week still works today.

    A name you can keep

    $ hanzo share 3000

    https://wispyfox7421.share.hanzo.ai

    A random token by default. Target: a port.

  2. Your login is the account

    03 / 06

    No second signup, no config file to fill in. The first share provisions the account from the identity you already signed in with, then prints the URL.

  3. A shell is never open by hostname

    04 / 06

    hanzo link publishes the terminal you are in so the console can watch it, or drive it. That one is gated behind your org's identity provider — knowing the URL is not enough, and if the gate cannot be applied the command refuses to publish.

  4. Four things to put behind it

    06 / 06

    proxy passes traffic through to a local port. web and static serve a directory as a site. drive hands over files. One flag picks which, and a port, a host:port, or a full URL all work as the target.

    proxy passes traffic through to a local port

The port stays on localhost

01 / 06

Your service keeps listening on 127.0.0.1. The fabric reaches in and carries the traffic, so a café, a client's office, or a conference floor sees nothing.

It ends when you do

05 / 06

The tunnel belongs to the command that started it. Close the terminal and the URL stops answering — a share cannot outlive the session that meant to make it.

Get started with Tunnel

Get Tunnel

Secure tunnels

License: Apache-2.0hanzoaiDeploy to Cloud

Paste and ship

Paste this into any agent. It reads the skill manifest and calls Tunnel from there.

Agent prompt
Read https://hanzo.ai/skill.md and use Hanzo Tunnel in my project. Start with: hanzo share