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

Choosing a REALITY target and SNI

A working REALITY setup starts with a consistent address, name, and certificate. Learn what to check for an external target or your own Selfsteal site and when a change is justified.

Three different settings

Record the target website address separately from the name used by the client. “Donor” usually means the target website, but that word does not describe the configuration. Confusion is particularly easy when the site runs on the node and uses a local address.

Setting Configured on Purpose
target Server Address and port of the TLS server contacted by REALITY
serverNames Server Allowlist of client names
serverName Client Selected name from that allowlist

In Selfsteal, the target could be 127.0.0.1:9443, while the client name is example.com. The strings serve different purposes. That TLS server must serve the name with a matching certificate. See the REALITY parameter documentation.

Checking the website

First establish that the node can reach the target. Then inspect a handshake using the intended SNI: TLS version, negotiated ALPN, certificate, and chain. For a baseline RAW + REALITY configuration, check TLS 1.3 and H2 support as described in the REALITY project recommendations.

Test the actual name. A homepage may redirect to another domain, and a server contacted without SNI may return another site’s certificate. A successful HTTPS request to a similar address does not verify the required name and port.

Check certificate expiry and the complete chain separately. A browser may have cached an intermediate certificate that the server omitted. One browser opening the site therefore does not settle every client’s certificate error. The nginx certificate-chain guide explains this behavior.

Your own target or an external site

Our preferred architecture uses Selfsteal: the domain points to the node, the site runs there, and you control its configuration and renewal. You can repair a certificate mismatch, restore a page, and inspect the local listener yourself. The Selfsteal theory guide explains the service chain.

That control includes responsibility for DNS, renewal, and site availability. Owning a domain does not make its IP reachable from every network. An external target remains an option when its behavior fits the configuration and you accept dependence on another service.

A domain using a CDN is not automatically incompatible. Check the endpoint, its behavior, and its handling of unauthenticated connections. Avoid accidentally providing an unrestricted forwarding service that strangers can use; see the warning about targets.

Fingerprints and differences between nodes

Choose a fingerprint supported by the installed core and client application. Chrome appears in the list of supported options. The setting changes ClientHello rather than turning the application into a complete browser; this limitation is documented under Xray TLS settings. Verify the exported profile and connection after changing it.

Sharing a target across nodes creates a dependency on that target’s availability. Different websites may reduce that dependency, but this does not establish a universal requirement for different SNI values. Independent VPSs can also use the same internal ports.

Change settings for an identified reason: an unreachable target, a certificate mismatch, or a confirmed compatibility problem. Locate the failing part first. Changing SNI cannot restore an unreachable TCP connection to the node’s IP. Coordinate planned changes with client-profile delivery; page styling does not require rotating live credentials.

Accepting a change

Retain the previous working profile. Test the new one on the same device and network: connection, traffic in both directions, recovery after an idle period, and subscription updates. Compare the application’s expected route with the actual route.

Record the target, name, software versions, and result. Keep private keys and full subscription links out of the report. Check the browser website, REALITY handshake, and useful application traffic separately.

Next guide Inbounds: assembling protocol configs by hand → ↗ Article unclear or something off? Message me and I will help or fix it. @notrealvpn →
This material is educational and covers network-infrastructure engineering. You are responsible for complying with the laws of your jurisdiction.