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: bashcopy# 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 config, publicKey and shortId go to the client's host. The CDN variant (XHTTP-TLS) does not use REALITY keys or a shortId; it still …

/

This guide is part of paid access

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

Unlock access →