开源互联网自由工具

与关心的人分享安全的互联网

一条命令部署一台难以与普通 HTTPS 区分的代理服务器,防火墙、TLS 和路由都已为你配置好。可通过链接或二维码分享访问权限。

Connection page — what your friends receive

你的朋友收到的页面 — 查看演示

两条命令,得到可用的代理

你需要一台 Debian 或 Ubuntu 的 VPS(每月 $5 的就够用)和电脑上的终端。其余由 Meridian 完成。

步骤 1 — 安装
curl -sSf https://getmeridian.org/install.sh | bash
然后
步骤 2 — 部署
meridian deploy

向导会询问服务器 IP 并处理其余事项。或直接传递参数 — 查看 CLI 参考。

Meridian deploy output

幕后发生了什么

1
安装 Docker并通过 Remnawave 面板部署 Xray
2
生成 x25519 密钥对——用于 Reality 认证的唯一加密密钥
3
加固服务器——UFW 仅开放 SSH 端口、443(TCP 和 UDP)以及用于证书的 80;仅密钥登录 SSH、fail2ban、BBR
4
配置 VLESS+Reality在 TCP 443 上——探测者看到的是真实网站的证书
5
添加 XHTTP 和 Hysteria2——XHTTP 通过 nginx 走同一端口,Hysteria2 走 UDP 443 并使用 salamander 混淆
6
输出二维码和连接页面——在真实流量通过新订阅之后生成
可放心重复运行。再次运行会保留凭证和密钥,并原地继续或更新部署。

构建你的命令

选择选项并复制完整命令。涵盖部署、中继、检查、SNI 扫描、诊断和卸载。

Deploy Reality, XHTTP, and Hysteria2 on one server. Sets up Docker, the Remnawave panel, nginx, the firewall, and TLS.

Your VPS public IPv4 address, or "local" to deploy on this server. Leave empty for interactive mode.
Default: root. Non-root users get sudo automatically.
IP or name of the exit server this relay forwards to. Must be deployed first.
Optional. Moves XHTTP to your domain and adds WSS; both can run through the Cloudflare CDN.
Site that Reality impersonates. Leave empty and deploy picks one that works from your server. Use meridian scan to find a same-network target.
Name for the first client. Default: "default".
Label shown on connection pages.
Emoji or image URL for the connection page.
Color palette for the connection page.
Optional friendly name for the relay (e.g. "ru-moscow").
Port on the relay server. Default: 443.
Copies an AI-ready prompt to clipboard for ChatGPT/Claude troubleshooting.
Add --yes flag. For CI/automation or non-interactive SSH sessions.
meridian deploy

First time? Just run meridian deploy — the interactive wizard guides you through everything.

它如何避免被检测

OpenVPN 和 WireGuard 有可识别的流量特征。VLESS+Reality 连接与访问真实网站的普通 HTTPS 很难区分。

深度包检测 (DPI)

DPI analyzes traffic patterns to identify proxy protocols. OpenVPN and WireGuard have handshakes that are easy to recognize and block.

VLESS+Reality runs inside a standard TLS 1.3 connection on port 443, so DPI sees what looks like ordinary HTTPS to the camouflage site. Every server also offers XHTTP and Hysteria2, so a block on one method leaves the others working.

主动探测

Censors connect to suspicious servers and try to fingerprint them. If a server responds differently than the website it claims to be, it gets blocked.

Reality borrows the TLS identity of a real website: by default a site hosted near your server, or www.google.com. A probe without your key is passed through to that site and sees its genuine certificate. Only clients with your key get the proxy tunnel.

TLS 指纹识别

Every TLS client sends a unique "Client Hello" fingerprint. Censors flag connections where the fingerprint doesn't match the claimed application.

Client apps use uTLS to send the same Client Hello as Chrome. Meridian also publishes a Firefox copy of each Reality and XHTTP entry, so if censors flag one fingerprint, the other keeps working.


扫描即连

部署后,你会得到一个带二维码的连接页面。发送给需要的人——一键连接。

连接页面会优先列出这些应用,并为每个平台链接其他应用。查看演示。

请在每台设备上开启自动日期和时间。设备时钟不准时,连接会失败。

工作原理

Meridian architecture: nginx routes TCP 443 by SNI to Xray Reality, XHTTP, and the connection pages; Hysteria2 listens on UDP 443
独立模式(无域名)

nginx owns TCP port 443 and routes connections by TLS SNI with its stream module. Reality connections go to Xray. Everything else reaches nginx's http module, which serves the connection pages, subscriptions, and XHTTP over HTTPS with a short-lived Let's Encrypt certificate for the server's IP (issued by acme.sh). Hysteria2 listens on UDP 443 with salamander obfuscation.

The Remnawave admin panel is reverse-proxied by nginx on a secret path — accessible via HTTPS, no SSH tunnel needed.

域名模式(CDN 回退)

With --domain, nginx gets a Let's Encrypt certificate for your domain and routes that SNI to the domain's paths. XHTTP moves to the domain andVLESS+WSS is added. With Cloudflare proxying the domain, both travel through the CDN and keep working if your server's IP is blocked. The panel and connection pages stay on the IP certificate.

中继模式(境内入口)

A Realm TCP forwarder on a server inside your country passes connections to your exit abroad. Relays carry Reality only; XHTTP, WSS, and Hysteria2 still connect to the exit directly. Encryption runs end to end between the app and the exit, so the relay never sees plaintext.

Add one with meridian relay add RELAY_IP --exit EXIT. Subscriptions and connection pages pick up the relay entries automatically.

准备好开始了吗?

安装 Meridian,部署到你的服务器,并与需要的人分享访问权限。一次部署通常需要 3 到 10 分钟。