Expose your local server in one command
MekongTunnel is a self-hosted SSH tunnel server. No signup, no config, no agents. Just run mekong 3000 and get a public HTTPS URL instantly.
Get started in seconds
Install the CLI
One binary. No dependencies. Works on macOS, Linux, and Windows.
Or use raw SSH (no install needed)
Skip the CLI entirely — just use the ssh command you already have.
Basic
With keep-alive (recommended)
With expiry
Replace 3000 with your local port. The -t flag is required — without it the server cannot display your URL. For raw SSH expiry, use SetEnv like MEKONG_EXPIRE=48h.
Also available as SDK
Partners
Trusted by the community
Organizations we work with to bring developer tools to more people.
Simple by design
How it works
MekongTunnel uses standard SSH reverse port forwarding. No agents, no proprietary protocol, no account required.
- 01
Run the CLI
Run `mekong 3000` in your terminal. The CLI connects to MekongTunnel via SSH reverse port forwarding.
$mekong 3000 - 02
Get a Public URL
The server assigns a unique HTTPS subdomain and displays it in your terminal. The URL is copied to clipboard automatically.
$https://happy-tiger-a1b2.proxy.mekongtunnel.dev - 03
Share & Demo
Paste the URL anywhere — your phone, a client's browser, a webhook endpoint. All traffic proxies through to your local app.
$curl https://happy-tiger-a1b2.proxy.mekongtunnel.dev
Under the hood
SSH reverse forwarding
One command opens an SSH tunnel from your machine. Mekong Edge gives it a public HTTPS address.
localhost:3000
Your app
Runs with
mekong CLI
Opens the tunnel
Works on
Mekong Edge
TLS + routing
Built in
Public URL
Shareable link
Opened from
- No port forwarding
- HTTPS automatic
- Replies stream back over the same tunnel
Everything you need
Built-in features
No plugins, no extensions. Everything ships in a single ~6 MB binary.
Auto-reconnect
The mekong CLI automatically reconnects with exponential backoff if the tunnel drops.
QR Code
Your public URL is printed as a QR code in the terminal. Scan with your phone instantly.
WebSocket Support
WebSocket connections are detected and proxied transparently. No special config needed.
HTTPS by Default
TLS is terminated at the server. Every tunnel gets a valid HTTPS URL out of the box.
Zero Config
One command. No YAML, no accounts, no dashboard. Just your port and you're live.
Abuse Protection
Per-IP rate limiting, sliding-window connection limits, and automatic IP blocking for abusers.
Live Request Log
Every HTTP request is streamed live to your SSH terminal — method, path, status, and latency.
Self-Hostable
Run your own MekongTunnel server on any VPS. Full control, your own domain, MIT licensed.
Multiple Ports
Expose several local ports at once — mekong 3000 8080 — each gets its own public URL.
Daemon Mode
Run tunnels in the background with mekong -d 3000. Check status or stop anytime.
Pricing
Free to start. Pay when you grow.
Every plan includes HTTPS tunnels, WebSocket support, and live request logs.
Student
- 6 active tunnels
- 20 GB/month
- 7d tunnel lifetime
- 1 reserved subdomain
- Request inspection
- 7-day request logs
Pro
- 10 active tunnels
- Unlimited bandwidth
- Persistent tunnels
- 3 reserved subdomains
- 1 custom domain
- Request inspection
- 30-day request logs
- Priority support
Organization
- Unlimited tunnels
- Unlimited bandwidth
- Persistent tunnels
- Request inspection
- 90-day request logs
- Priority support
Transparent
Server limits
All limits apply to the public hosted instance. Self-hosters can adjust everything via env vars.
Open Source
Run your own tunnel server
MekongTunnel is MIT licensed. Deploy on any VPS with Docker in under 5 minutes. Your domain, your rules, your data.
