NEW Check if your VPN is honest — a free subscription audit in 60 seconds
← Back to library
Protocols Practice PRO

Setting up XHTTP over Reality

We assemble XHTTP by hand. Two ready profiles — direct XHTTP-Reality (no cert of your own) and XHTTP-TLS for fronting behind a CDN. Fill in the domain, path, and keys in the constructor above, then copy. Why any of this and when to reach for it — covered in the paired theory.

Read the theory

Step 1 — keys for the Reality variant

Direct XHTTP-Reality needs an x25519 pair and a shortId, like ordinary Reality:

bash
# a key pair: privateKey → into the config, publicKey → to the Host
xray x25519

# shortId — hex of even length
openssl rand -hex 8

privateKey goes into the node co…

/

This guide is part of paid access

Get full access to unlock the text, configs and builder.

Unlock access