
Xray VLESS+XTLS 部署教程:抗封鎖能力最強的代理協議
Xray 的 VLESS+XTLS-Reality 是目前公認抗封鎖能力最強的協議組合。它的核心原理是流量偽裝成正常的 TLS 握手,讓 GFW 難以透過特徵識別判斷是代理流量。 這篇文章從零開始,完整部署一套可用的配置。 前置準備 一臺海外 VPS(推薦 DMIT 香港或美國節點,線路質量好) VPS 系統:Ubuntu 22.04+ 本地客戶端:mihomo(原 Clash Meta) 服務端部署 安裝 Xray bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install 生成 XTLS-Reality 所需金鑰 xray x25519 輸出類似: Private key: 你的私鑰(儲存好) Public key: 你的公鑰(填入客戶端配置) 再生成 UUID: xray uuid 服務端配置檔案 /usr/local/etc/xray/config.json: { "inbounds": [ { "port": 443, "protocol": "vless", "settings": { "clients": [ { "id": "你的UUID", "flow": "xtls-rprx-vision" } ], "decryption": "none" }, "streamSettings": { "network": "tcp", "security": "reality", "realitySettings": { "show": false, "dest": "www.apple.com:443", "xver": 0, "serverNames": ["www.apple.com"], "privateKey": "你的私鑰", "shortIds": [""] } }, "sniffing": { "enabled": true, "destOverride": ["http", "tls", "quic"] } } ], "outbounds": [ {"protocol": "freedom", "tag": "direct"}, {"protocol": "blackhole", "tag": "block"} ] } 關鍵引數說明: ...