Now in public beta — self-host in minutes

Expose localhost to
the internet. Instantly.

The self-hosted ngrok alternative. Secure tunnels, custom domains, and a real-time dashboard — all on your own infrastructure.

Terminal
$subtunnel http 3000

SubTunnel v1.0.0

Status: online

Forwarding: https://my-app.subtunnel.dev → localhost:3000

Dashboard: http://localhost:4040

$

Everything you need to tunnel

Production-grade tunneling with the features your team actually needs.

Self-Hosted

Run on your own infrastructure. Full control over your data and traffic. No third-party dependencies.

Custom Domains

Use your own domain names for tunnels. Professional URLs for demos, webhooks, and development.

End-to-End Encryption

All traffic encrypted in transit. TLS termination at the edge with automatic certificate management.

Real-time Dashboard

Monitor active tunnels, inspect requests, and replay traffic. Built-in request inspector.

Team Support

Multi-user support with role-based access control. Share tunnels across your team securely.

Open Source

Fully open source under MIT. Contribute, fork, extend. No vendor lock-in, ever.

One command.
That's it.

No config files, no complex setup. Install the CLI, run one command, and your local server is live on the internet.

Automatic HTTPS with custom domains
Built-in request inspector
Replay failed webhooks instantly
Works behind firewalls and NATs
Quick Start
# Install the CLI
$ curl -fsSL https://get.subtunnel.dev | sh
# Expose your local server
$ subtunnel http 3000
# Use a custom domain
$ subtunnel http 3000 --domain api.example.com
# Expose a TCP service
$ subtunnel tcp 5432

SubTunnel vs ngrok

Self-hosted, open source, no vendor lock-in.

Feature
SubTunnel
ngrok
Self-hosted option
Custom domains
Open source
Free tier
Unlimited
Limited
Request inspection
No vendor lock-in
Team management
Data stays on your servers

Install in seconds

One command. No dependencies. Works on macOS and Linux.

Install
$ curl -sSL https://raw.githubusercontent.com/winterwindgames/subtunnel/main/apps/web/public/install.sh | sh
🍎

macOS

Apple Silicon & Intel

curl -sSL … | sh
🐧

Linux

x86_64 & ARM64

curl -sSL … | sh
🪟

Windows

x86_64

Download from GitHub →

Ready to tunnel?

Get started in under 60 seconds. No credit card required. Self-host or use our managed service.