Skip to content

Overview

Expose a local service through a public Tubu domain. Start with HTTP, or use a TCP tunnel for SSH and databases.

What is Tubu?

Tubu connects a service on your machine or private network to the internet. The publisher CLI opens an outbound connection to the relay. You do not need a VPN, public IP address, inbound firewall rules, or router port forwarding to publish a service.

Use it to share a development app, receive webhooks, or reach an SSH server or database from another machine. The machine that runs the CLI must be able to reach the target service.

Create your first tunnel with the Quick start.

Choose a tunnel

Tunnel types
TypeUse it forHow callers connect
HTTPWeb apps, APIs, webhooks, WebSocket and SSE.A public HTTPS URL in a browser or HTTP client.
TCPSSH, PostgreSQL, MySQL and other TCP services.Run npx tubu-cli forward, then point the application at its local listener.

WebSocket and SSE use HTTP tunnels. SSH and database access use TCP tunnels. A TCP domain is not a public raw TCP port.

What you can configure

  • Multiple HTTP and TCP tunnels in one YAML file.
  • HTTP or HTTPS targets, HTTP path routing, path rewrites, and a target Host header set automatically.
  • Optional shared secret protection for HTTP requests and WebSocket upgrades.
  • Third level domains such as app.tubu.dev, and reserved fourth level domains such as api.team.tubu.dev on eligible plans.

HTTP tunnels support HTTP/1.1, WebSocket Upgrade and SSE. Native HTTP/2 and gRPC are not supported.

Find your next step