Xray REALITY Protocol Complete Tutorial: Principles, Server Deployment, Anti-Detection Points

REALITY is a transport protocol introduced by Xray in 2023, solving a fundamental weakness of TLS proxies: your certificate is fake. Traditional VLESS+TLS setups require a domain name and Let’s Encrypt certificate, but the certificate itself becomes a fingerprint—with no real website behind it, the traffic pattern stands out immediately. REALITY’s approach is fundamentally different: directly borrow the TLS handshake of a real website. What the server presents to detection systems is the TLS certificate and handshake details of that actual website, indistinguishable from normal traffic. ...

2026-04-15 · 5 min · 868 words · Panshi

REALITY Client Configuration: mihomo, Surge, and Shadowrocket Integration Guide

The previous post covered deploying Xray REALITY on the server side. This one focuses specifically on client configuration—once you’ve collected the usernames, server addresses, public keys and other info for various platforms, here’s how to configure them in different clients. You’ll need to prepare the following information (obtained from the server configuration): Parameter Description Server Address VPS public IP Port Port the server listens on (port 443 recommended) UUID Client ID configured on the server Public Key Public key generated by xray x25519 Short ID One of the shortIds configured on the server SNI serverNames configured on the server (e.g., www.apple.com) mihomo (Clash Meta) mihomo natively supports REALITY. Add the configuration to the proxies: section: ...

2026-04-15 · 4 min · 736 words · Panshi

Xray VLESS+XTLS Deployment Guide: The strongest proxy protocol against censorship

Xray’s VLESS+XTLS-Reality is widely recognized as the most robust protocol combination for anti-censorship. Its core principle is disguising traffic as a normal TLS handshake, making it difficult for the GFW to identify proxy traffic through signature detection. This guide walks you through deploying a fully functional setup from scratch. Prerequisites An overseas VPS (I recommend DMIT Hong Kong or US nodes for excellent routing quality) VPS OS: Ubuntu 22.04+ Local client: mihomo (formerly Clash Meta) Server Deployment Install Xray bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install Generate XTLS-Reality Keys xray x25519 Output: ...

2026-04-08 · 3 min · 469 words · Panshi