← Back to library
Protocols Practice PRO

3x-ui: XHTTP over Reality

XHTTP is a transport that survives temperamental networks and gets along with CDNs better than bare TCP. In 3x-ui it's built with the same connection-creation form, except on the Transmission tab you pick network=xhttp. Below are two profiles: direct XHTTP-Reality and XHTTP+TLS behind a CDN. Enter the domain, path, and keys in the builder above.

This material is about engineering your own infrastructure and is educational in nature. Complying with the laws of your own jurisdiction is your responsibility.

Why XHTTP when there's TCP-Reality

TCP-Reality is a great foundation, but it has a weak spot: it likes a stable connection straight to the node. XHTTP, on the other hand, moves traffic as ordinary HTTP requests, and that gives two bonuses:

  • Survivability on bad networks — flaky mobile internet, losses, jittery Wi-Fi it h…
/

This guide is part of paid access

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

Unlock access