Recently someone asked how to set up Xray transit proxy. The basic idea is: Your device ↔ (Protocol Al) ↔ Transit server ↔ (Protocol B) ↔ Original server ↔ Desired destination. Here in this article I’m using VLESS+TCP+XTLS for both protocol A&B. In production, you might want to use a more efficient protocol B. Actually I do not recommend this set up, for the reason that it can cause speed loss and increased latency.
This is a companion discussion topic for the original entry at https://henrywithu.com/an-example-of-xray-transit-proxy-setup/