proxvn_tunnel_full
Health Pass
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 114 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in build-all.sh
- rm -rf — Recursive force deletion command in scripts/check-platforms.sh
- fs module — File system access in scripts/console-config.test.js
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Free, stable ngrok alternative — expose localhost over HTTPS, TCP & UDP in one command. Accounts, reserved subdomains, web console, MCP for AI agents, one-command self-hosting.
![]()
ProxVN
Share an app running on your computer.
Publish a web app, API, game server or folder at a public address — with the ProxVN client, or with nothing but ssh.
Website · Docs · Install · SSH tunnels · Console · Tiếng Việt
Three ways to start
| Best for | One line | |
|---|---|---|
| ProxVN client | Daily use, UDP games, folder sharing, background service | proxvn http 3000 |
Plain ssh — nothing to install |
Quick demos, borrowed or locked-down machines | ssh -p 443 -R0:localhost:3000 tunnel.proxvn.io.vn |
| Your own server | Your domain, your accounts, your limits | curl -fsSL https://proxvn.io.vn/install-server.sh | sudo bash -s -- --domain example.com |
Quick start (client)
# Linux / macOS / Android (Termux)
curl -fsSL https://proxvn.io.vn/install.sh | sh
# Windows (PowerShell)
irm https://proxvn.io.vn/install.ps1 | iex
proxvn # guided setup in a terminal, or use an existing config
proxvn http 3000 # → https://<id>.proxvn.io.vn
proxvn http 3000 --subdomain myshop
proxvn tcp 22 # SSH / RDP / databases → tunnel.proxvn.io.vn:<port>
proxvn udp 19132 # game servers
proxvn share ./folder # password-protected web + WebDAV share
proxvn login <api-key> # link tunnels to your account (reserved names)
proxvn mcp # MCP server for Claude Code, Cursor, …
proxvn lang vi # Vietnamese CLI
SSH tunnels — no install
Any computer with ssh (Linux, macOS, Windows 10/11) can publish a local app. Port 443 passes networks that only allow web traffic.
ssh -p 443 -R0:localhost:3000 tunnel.proxvn.io.vn # HTTP
ssh -p 443 -R0:localhost:22 [email protected] # TCP
ssh -p 443 -R0:localhost:3000 [email protected] # with your API key (prompted)
ssh -p 443 -R myshop:80:localhost:3000 [email protected] # your own name
ssh -p 443 -R0:localhost:3000 tunnel.proxvn.io.vn 'b:team:S3cret' 'w:203.0.113.0/24' co qr
ssh -p 443 -L4300:localhost:4300 -R0:localhost:3000 tunnel.proxvn.io.vn # + web inspector
ProxVN SSH tunnel · http · anonymous
Public URL https://k3m9qa.proxvn.io.vn
Limits 60 min · 2.0 MiB/s · 1.0 GiB
Browser visitors see a safety warning page first.
Options basic auth (1 user) · IP allowlist (1) · CORS
Ctrl+C to stop. Requests:
15:05:54 GET 200 /api/products 2ms 24 B 203.0.113.7
15:05:54 POST 201 /api/orders 1ms 17 B 203.0.113.7
Options after the host (Pinggy-compatible): b:user:pass basic auth · k:token bearer key · w:ip/cidr allowlist · a:/u:/r: add, replace, remove request headers · co CORS · x:xff visitor-IP header · x:localtls local HTTPS app · x:passpreflight · x:nolog · qr. HTTP tunnels share port 443 and never use a public TCP port; only tcp@ gets one. Full guide: /docs/ssh.
| Without an account | With an API key |
|---|---|
| 60-minute lifetime, 2 tunnels per IP, bandwidth and traffic caps, random name, a click-through safety page for browser visitors | No time or traffic limit, your own subdomain or TCP port, no warning page |
![]() Anonymous tunnels: visitors are warned before phishing-prone content. API clients, webhooks and curl pass straight through. |
![]() -L4300:localhost:4300 → live request inspector at http://localhost:4300, served inside your own SSH connection. |
Screenshots
Captured from an isolated 9.0.0 preview with test accounts; live server data varies.

| Console — system overview (admin) | Console — all tunnels |
|---|---|
![]() |
![]() |

Console — my tunnels (user)
Features
| HTTPS tunnels | Streamed end-to-end: WebSockets, SSE, long polling, multi-GB uploads. Constant memory per request. |
| TCP & UDP | Random public ports that never collide with other services on the host. UDP is AES-GCM encrypted. |
| SSH gateway | ssh -R with the stock OpenSSH client, on port 443 next to HTTPS. Access control, header rules, CORS, QR code, live log and web inspector. End-to-end tls@ passthrough for accounts. |
| Folder sharing | Web UI + WebDAV with a generated password; read-only or read/write access (including deletion). rwx currently grants the same operations as rw, without executing files. |
| Accounts | Reserve subdomains, see/stop your tunnels and view account-specific limits in the Console; optional SMTP verification and password recovery. |
| MCP | proxvn mcp exposes start_tunnel, list_tunnels, stop_tunnel, … to AI agents. |
| Console | Role-based web console: user workspace + admin (live metrics, tunnels with ssh/anonymous badges, users, IP blocks, ports, SSH gateway status, ads/SEO readiness, IndexNow and email policies). |
| Bilingual | Website, Console, CLI, SSH terminal and tunnel pages in English (default) and Vietnamese. |
Security and stability
- Transport: TLS 1.2+ control channel; the client trusts the server through certificate pins fetched over verified HTTPS (
/api/public/connection), never through a hardcoded list. Certificate rotation and VPS moves need no new client — also for self-hosted servers, whose website is found from the tunnel hostname. Explicit--cert-pinstill wins. - Abuse controls: per-IP and per-account limits, visitor rate limiting, bounded admission before TLS/handlers, IP blocklist shared by every listener, hardened systemd unit. Anonymous SSH sessions add lifetime, bandwidth, traffic and concurrency caps, random names only, the visitor safety page and
noindex; failed API keys block the source IP. The SSH gateway refuses shell, command execution, sftp and every-L/-Dtarget except its virtual inspector, so it cannot be used to reach the server's network. Details: docs/DDOS_REVIEW.md. - Reliability: reconnecting clients keep their address (
~/.proxvn/sessions.json, server reservations persisted every 2 min); clients and installer-managed servers stage verified updates without restarting live tunnels; SQLite WAL with daily online backups. - Tests: unit, integration and race tests for every Go package (end-to-end SSH tests with a real SSH client, TLS SNI routing, discovery and pin rotation), installer, site-generator and JavaScript regression suites, real-browser smoke tests, gosec and govulncheck in
scripts/quality.sh, and native CI on Linux, macOS and Windows.
Upgrading to 9.x
Version 9 changes tunnel authentication. Upgrade the server and all HTTP, TCP and UDP clients together to matching 9.x releases; 8.x peers are rejected. Existing Console sessions must sign in again. Back up the database, certificates and secrets first; see the upgrade and storage migration guide.
Updates
Clients check the trusted HTTPS release source in the background every six hours and stage a verified, compatible same-major release without replacing a live tunnel. The staged client is adopted at a safe startup; proxvn update --check, --status and --rollback provide explicit controls. Set PROXVN_AUTO_UPDATE=false to opt out. Installer-managed Linux servers stage in a separate timer and apply only at a stopped/start boundary; Docker updates are intentionally image-driven. Server moves and certificate rotation are covered in the update operations guide; see also the server runbook.
Self-host a server
curl -fsSL https://proxvn.io.vn/install-server.sh | sudo bash -s -- --domain example.com
Cloudflare DNS: A @ and A * → server IP (proxied), A tunnel → server IP (DNS only), SSL/TLS mode Full.
The installer creates a sandboxed systemd service, tunes the kernel, excludes ports already used on the host, enables SSH tunnels on port 443 and adds an nginx bridge only if nginx already owns port 80. Users then connect with proxvn --server tunnel.example.com:8882 http 3000 and receive authenticated certificate pins from your website automatically.
Full guide: docs/self-host · configuration reference: .env.server.example · operations: docs/OPERATIONS.md.
Docker alternative (Linux with host networking):
cp .env.server.example .env # set your domains before starting
mkdir -p bin
sudo install -d -o 1000 -g 1000 -m 0700 data
docker compose up -d --build
The container runs as UID/GID 1000; the data/ bind mount must be writable by that user. Existing Docker deployments should read the storage migration and operations runbook before recreating a container; earlier configurations could keep the database inside the container.
SSH gateway settings
# ssh -p 443 next to HTTPS (no extra firewall rule)
SSH_ON_HTTPS=true
# Optional dedicated port, e.g. 2222; 0 = none
SSH_GATEWAY_PORT=0
# false = API key required
SSH_ANONYMOUS=true
# Limits for anonymous sessions only
SSH_ANON_TTL=60m
SSH_ANON_MAX_PER_IP=2
SSH_ANON_BANDWIDTH_KBPS=2048
SSH_ANON_QUOTA_MB=1024
SSH_ANON_WARNING=true
Keep comments on their own lines: systemd EnvironmentFile does not support trailing comments. Users must connect to the DNS-only tunnel hostname. Keep DATA_DIR/ssh_host_ed25519_key in backups and copy it when migrating. All settings: .env.server.example.
Email (optional, SMTP)
Email is disabled by default. Use an authenticated SMTP relay; for Gmail, use an App Password instead of the account's login password. Set the following in /etc/proxvn/proxvn.env for an installer deployment, or in the environment used to start the server:
SMTP_ENABLED=true
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASSWORD=your-app-password
[email protected]
SMTP_FROM_NAME=ProxVN
SMTP_DAILY_LIMIT=450
Port 587 requires STARTTLS; port 465 uses implicit TLS. Keep credentials private. Restart the service, then use Console → Website settings → Email & security to send a test email before enabling mandatory email verification. Verification, password-reset emails and configurable security alerts use this SMTP connection; no Cloudflare mail provider is implemented. See operations for failure handling.
Step-by-step guides (English / Tiếng Việt)
The complete guides include commands, expected checks and troubleshooting. The language switch keeps you on the matching page rather than returning to the home page.
| Guide | English | Tiếng Việt |
|---|---|---|
| Command-based installation and checks | Install ProxVN | Cài ProxVN |
| Plain explanations of client, server, VPS, port and API key | Glossary | Giải thích từ ngữ |
| Client installation, HTTP/TCP/UDP, folders, accounts, config and background services | Client handbook | Hướng dẫn client |
Tunnels with plain ssh: options, inspector, reconnect loop, key check |
SSH tunnels | Tunnel bằng SSH |
| A first working client tunnel, from installation to a verified public URL | Client walkthrough | Thực hành chạy client |
| VPS server installation, DNS, TLS, firewall, clients, SSH gateway, SMTP, backup and upgrades | Self-host handbook | Hướng dẫn tự host |
| A complete VPS deployment from preparation to client validation | Self-host walkthrough | Thực hành cài server |
The guide sources are scripts/guide_client.py, scripts/guide_server.py, scripts/guide_ssh.py and scripts/guide_glossary.py. Rebuild the website with python3 scripts/build-site.py; generated pages live under src/frontend/docs, src/frontend/blog and their vi/ counterparts. Server-specific values (__TUNNEL_HOST__, __SSH_P__, __SSH_FINGERPRINT__, …) are filled in by the server when a page is served.
Architecture
visitor ──HTTPS──▶ Cloudflare ──▶ :443 ProxVN server ─┬─ HTTP tunnels (by Host)
ssh user ──SSH──────────────────▶ :443 (same port) ───┼─ SSH gateway (detected by first bytes)
visitor ──TLS (tls@)────────────▶ :443 ───────────────┼─ TLS passthrough (by SNI)
visitor ──TCP/UDP───────────────▶ :10000-20000 ───────┤
▼ data streams
:8882 control (TLS) ◀── proxvn client ──▶ localhost:3000
- One Go binary serves the website, Console, API, SSH gateway and all tunnels; static assets are pre-gzipped in memory.
- HTTP traffic is reverse-proxied over per-request data streams (pooled, TLS session resumption) — no buffering. SSH tunnels use the same proxy through
forwarded-tcpipchannels. - SQLite (pure Go, WAL) for accounts/settings with daily online backups; tunnel state lives in memory.
Build from source
./build-all.sh # all platforms (static, no cgo) + web bundle + checksums
python3 scripts/build-site.py # regenerate the website (EN at /, VI at /vi/)
cd src/backend && go test ./...
Requires Go 1.26.11+ and Python 3.12+.
Run bash scripts/quality.sh before deploying. It checks formatting, module integrity, vet, race tests, static security findings and reachable vulnerabilities, installing pinned scanners into the user cache if needed. Missing tools, download failures and scanner failures fail the gate; Go race tests also require a working C compiler. QUALITY_TOOLS_DIR can override the scanner cache location.
Project layout
src/backend/cmd/server tunnel server, HTTPS front door, SSH gateway, site/API/console backend
src/backend/cmd/client CLI: wizard, TUI, MCP, folder sharing, discovery and pinning
src/backend/internal HTTP proxy (+ port-443 demux, visitor safety page), database, auth, config, protocol
src/frontend website, docs, blog, console, installers (install*.sh/.ps1)
scripts/ website generator (build-site.py = VI, site_en.py = EN, guide_*.py), quality checks, tests
bin/ release binaries, checksums, run-*.sh/.bat helpers (built, not versioned)
deploy/ Prometheus config (docker compose --profile monitoring)
docs/OPERATIONS.md operator runbook (upgrade, backup, Cloudflare, SSH gateway, incidents)
docs/UPDATES.md updater, server moves and certificate rotation
docs/DDOS_REVIEW.md resource limits and abuse controls
docs/PRODUCTION_REVIEW.md security/compatibility changes, validation and deployment records (Vietnamese)
docs/ADMIN-SEO-ADS.vi.md admin, search and advertising setup (Vietnamese)
CHANGELOG.md release notes
License
Free for non-commercial use — see LICENSE.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found



