VLESS + REALITY config generator
Enter your server address and the site REALITY should borrow its TLS handshake from. The generator creates the X25519 key pair, UUID and short ID, then writes the matching server and client configs for Xray-core or sing-box, a vless:// link to import in v2rayN, v2rayNG, Hiddify or Shadowrocket, and the install commands. Keys never leave your browser.
Runs entirely in your browser: keys, UUID and configs are generated locally and never sent anywhere.
Your VPS public IP (or a domain pointing to it). Used in the client config and the share link.
443 is the norm: REALITY imitates HTTPS.
A third-party site with TLS 1.3 and HTTP/2, reachable from your clients. See the checklist below the tool.
The TLS fingerprint the client imitates. chrome is the usual choice.
The private key goes on the server only. The public key goes to every client.
Hex, even length, up to 16 characters.
- The keys are missing or invalid (32 bytes, base64url, 43 characters). Generate a pair or paste yours.
vless:// share link
vless://@203.0.113.10:443?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.example.com&fp=chrome&pbk=&sid=&type=tcp&headerType=none#my-reality
Import it in v2rayN, v2rayNG, Hiddify, Streisand or Shadowrocket, or scan the QR code.
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "",
"flow": "xtls-rprx-vision",
"email": "my-reality"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"target": "www.example.com:443",
"xver": 0,
"serverNames": [
"www.example.com"
],
"privateKey": "",
"shortIds": [
""
]
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
],
"routeOnly": true
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 10808,
"protocol": "socks",
"settings": {
"udp": true
}
},
{
"listen": "127.0.0.1",
"port": 10809,
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "vless",
"tag": "proxy",
"settings": {
"vnext": [
{
"address": "203.0.113.10",
"port": 443,
"users": [
{
"id": "",
"flow": "xtls-rprx-vision",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"serverName": "www.example.com",
"fingerprint": "chrome",
"publicKey": "",
"shortId": "",
"spiderX": "/"
}
}
},
{
"protocol": "freedom",
"tag": "direct"
}
]
}# Install Xray-core with the official script (systemd service included)
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
# Optional: confirm the public key matches the private key
xray x25519 -i ""
# Check that the target answers in TLS 1.3 and HTTP/2
xray tls ping www.example.com
# Open the port
sudo ufw allow 443/tcp
# Paste the server config, test it, then start the service
sudo nano /usr/local/etc/xray/config.json
xray run -test -c /usr/local/etc/xray/config.json
sudo systemctl restart xray && sudo systemctl enable xray
# Follow the log while the first client connects
sudo journalctl -u xray -f
REALITY needs a server you control
A REALITY server is a VPS with a public IP and port 443 free, nothing more. Contabo's entry VPS includes a public IPv4, root access and a large traffic allowance, and you can pick the datacenter closest to your users.
Second option, a US host with a 30-day money-back guarantee: Ultahost VPS Basic, 5.52 $/mo on a 24-month term, 1 CPU, 1 GB DDR5 and a dedicated IPv4 (read on 21 October 2026), enough for one Xray server. It also takes Bitcoin and other cryptocurrencies, Alipay, WeChat Pay and Qiwi (its payments page, read on 25 October 2026), which helps if your bank card is declined; check its terms for your country before ordering. See Ultahost VPS
Affiliate link: we may earn a commission, at no extra cost to you. The generator stays free and does not depend on it.
Want files already tested end to end?
The VLESS + REALITY config pack holds a commented Xray server on port 443, a desktop client (local SOCKS5 and HTTP proxy), a vless:// template for v2rayN, v2rayNG and Shadowrocket, and two things this generator does not write: a server variant with per-device traffic counters, and a README with a 10-point troubleshooting checklist. Every JSON file passes xray run -test on Xray-core 26.10.31. Xray-core only, no sing-box files.
See the VLESS + REALITY config pack (4.90 EUR)Our own product, one payment, ZIP of text files. Templates for your own server, not a VPN subscription, and no promise that REALITY keeps passing a given DPI. The files generated above work without it.
What each value does, and why they must match
REALITY replaces the TLS certificate you would normally need. Your server answers on port 443 like the real site you chose as target: a censor that connects without the right credentials gets the genuine site's handshake and pages, forwarded by your server. Only a client that knows the server's public key and a valid short ID completes the proxy handshake.
That is why four values have to agree on both sides. The private key stays on the server and the public key goes to every client. The target host must appear both as the destination (target, or dest in older guides; handshake.server in sing-box) and in the accepted server names, and the client sends it as SNI. The short ID the client sends must be one of the server's list. The UUID identifies the user, and xtls-rprx-vision must be set on both ends or the connection is refused.
The configs below keep to the documented fields only: no deprecated sing-box sniff options in the inbound, no extra transports. Add routing rules or more users once the basic tunnel works.
Choosing the target site: a checklist
The target matters more than any other field, and no tool can pick it for you. These are the properties to check before you settle on one.
| Check | Why it matters | How to verify |
|---|---|---|
| TLS 1.3 and HTTP/2 | REALITY needs a TLS 1.3 handshake to mirror | xray tls ping <host>, or curl -I --tlsv1.3 --http2 |
| Not blocked where your clients are | A blocked target makes your server look like a blocked site | Open it from the client's network without a proxy |
| Plausible from your server's network | A small VPS serving a giant's homepage stands out; a host on the same provider or region blends in better | Compare the target's IP location with your VPS datacenter |
| No redirect to another domain | The SNI must match the certificate the target really serves | curl -sI https://<host> and check for a Location header |
| Not your own domain | The point is to look like somebody else's real traffic | Pick a third-party site you do not control |
Circumventing network restrictions is restricted or unlawful in some jurisdictions. Check what applies where you and your users are.