zTunnel · India-First Tunneling

Instant tunnels.
Zero config.

Expose localhost to the internet in one command. HTTP, TCP, UDP, AI Gateway, game servers, and frontend deployments — all from a single CLI. 20ms latency from India.

$ztunnel http 3000https://myapp.ztunnel.in
ztunnel
~ ztunnel auth zt_k3y...abc
✓ Authenticated — Bangalore edge
~ ztunnel http 3000
⠋ Connecting to edge (Mumbai)...
✓ Tunnel ready → https://myapp.ztunnel.in
┌─ Live Traffic ─────────────────────────┐
│ GET /api/users 200 12ms │
│ POST /api/auth/login 200 8ms │
│ GET /dashboard 200 15ms │
└────────────────────────────────────────┘
20ms
Avg latency from India
3
Edge PoPs (BLR, BOM, HYD)
UDP
Native QUIC/UDP support
E2E
End-to-end encryption
Protocols

Every protocol. One CLI.

HTTP, TCP, UDP, AI proxying, frontend deploys — zTunnel handles them all.

HTTP / HTTPS

ztunnel http 3000

Expose web apps, APIs, and webhooks with automatic HTTPS, custom subdomains, and request inspection.

TCP

ztunnel tcp 5432

Tunnel databases, SSH, RDP, or any TCP service. Direct port forwarding with end-to-end encryption.

UDP / QUIC

ztunnel udp 7777 --game valheim

Native UDP support — rare in tunneling. Optimized for game servers, VoIP, and real-time protocols.

AI Gateway

ztunnel ai 8000 --model openai --cache

Proxy AI models with token tracking, semantic caching, automatic failover, and SSE streaming support.

Frontend Deploy

ztunnel deploy ./dist

Deploy static sites directly from CLI. Frontend-as-a-Service with instant global distribution.

Universal

ztunnel universal 5000

Auto-detect protocol on a single port. HTTP, TCP, or UDP — zTunnel figures it out for you.

Features

Not just tunnels. Infrastructure.

Debug

Traffic Inspector

Real-time request/response logging with SSE streaming. Replay any request for debugging. Filter by status, method, or path.

Reliability

Smart Reconnect

Buffers requests for ~30 seconds during network switches or laptop sleep. Never miss a webhook again.

Ghost Mode

Serves cached responses even when your local tunnel is offline. Your API stays alive while you context-switch.

Edge

Edge Functions

Execute Lua or JavaScript at the edge for auth, request transforms, or routing — before traffic hits your local machine.

Traffic Policies

Geo-blocking (India-only mode), rate limiting, and IP allow/blocklists. Enforce security at the infrastructure level.

Security

mTLS & OAuth

Mutual TLS authentication for tunnel connections. Built-in OAuth support for securing exposed services.

AI Gateway

Proxy AI models. save money.

A unified proxy for OpenAI, Anthropic, Gemini, and local LLMs. Track tokens, cache responses, and fail over between providers — automatically.

Token tracking — monitor and limit usage per key/user
Semantic cache — identical prompts return cached responses, saving 40%+ costs
Automatic failover — if OpenAI is down, switch to Anthropic seamlessly
SSE streaming — real-time streaming support for all providers
Rate limiting per model, per user, per API key
ai-gateway
~ ztunnel ai 8000 --model openai --cache
✓ AI Gateway active → https://ai.ztunnel.in
──── Live requests ────
POST /v1/chat/completions gpt-4o 847 tok cache:miss
POST /v1/chat/completions gpt-4o 847 tok cache:HIT ⚡
POST /v1/chat/completions claude-4 1.2k tok cache:miss
WARN openai timeout → failover to anthropic
Tokens/min2,847
Cache Hit38%
Savings$12.40/day
gamer-gateway
~ ztunnel udp 7777 --game valheim
✓ Game tunnel ready → valheim.ztunnel.in:7777
──── Server Status ────
Players:8/32Latency:18ms
Protocol:UDP/QUICPackets:1.2M/hr
ValheimMinecraftCS2Terraria
Gaming

Host game servers. No port forwarding.

Native UDP/QUIC tunneling optimized for game servers. Sub-20ms latency, zero configuration, and DDoS protection out of the box. Share your server link and play.

Native UDP — not TCP-over-UDP hacks
Optimized for Minecraft, Valheim, CS2, Terraria
DDoS protection on all game tunnels
Persistent server URLs — no reconnecting
Sub-20ms latency from Indian cities
Infrastructure

Edge network. India-first.

Three edge PoPs across India with Cloudflare Enterprise for global DDoS protection and WAF.

Bangalore

DigitalOcean · Primary

~15ms

Mumbai

AWS · Edge

~20ms

Hyderabad

AWS · Edge

~25ms

How it works

Your Machine
localhost:3000
zTunnel CLI
WebSocket / QUIC
Edge Server
TLS termination
Cloudflare
WAF / DDoS
Public URL
myapp.ztunnel.in
CLI

One binary. Every workflow.

Written in Go for maximum performance. Download the binary, authenticate, and you're live. No Docker, no config files, no dependencies.

Go 1.24Single BinarymacOS / Linux / WindowsAuto-Update
Download from ztunnel.in/downloads
ztunnel http <port>

Expose a local web server with HTTPS

ztunnel tcp <port>

Forward any TCP port to the internet

ztunnel udp <port> --game <name>

Optimized UDP tunnel for game servers

ztunnel ai <port> --model <provider>

Start the AI Gateway proxy

ztunnel mesh

Manage multiple tunnels from a YAML config

ztunnel deploy ./dist

Deploy a static site to the edge

ztunnel auth <key>

Authenticate with your account

Pricing

India pricing. UPI accepted.

Start free. Scale when you need to. All prices in INR — pay with UPI, GPay, or RuPay.

Free

₹0
1 tunnel·2 Hours
Random subdomains
TCP / UDP support
Community support
Start Free

Student

₹200/yr
2 tunnels·5 Hours
3 custom subdomains
DDoS protection
Priority support
Get Started
Popular

Hobbyist

₹100/mo
5 tunnels·Unlimited
Persistent subdomains
Custom domains
Webhook replay
Traffic inspector
Get Started

Startup

₹500/yr
5 tunnels·Unlimited
Everything in Hobbyist
Yearly billing savings
Team collaboration
Get Started

zTunnel vs. the rest.

Why Indian developers are switching.

FeaturengrokCloudflarezTunnel
Latency (India)100-200ms50-80ms20ms
UDP SupportNoNoNative QUIC
AI GatewayNoNoBuilt-in
Gaming ModeNoNoOptimized
INR PricingUSD onlyUSD only₹ native
Edge FunctionsPaidWorkersBuilt-in
Ghost ModeNoNoYes
Free TierLimitedYesYes

Stop port forwarding. Start tunneling.

One command. Your localhost is live. Free tier available — no credit card required.

$ztunnel http 3000https://myapp.ztunnel.in