惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
V
Visual Studio Blog
Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 叶小钗
I
InfoQ
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
P
Proofpoint News Feed
WordPress大学
WordPress大学
小众软件
小众软件
B
Blog
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
量子位
Hugging Face - Blog
Hugging Face - Blog
月光博客
月光博客

LowEndTalk – Web Hosting Forum & Community

SVR4U Malaysia Intel KVM VPS | IPv4 Included | From $2.50 First Month | 2x Annual LET Gifts | CF ZR Looking for good price sweden VPS - cheaper is better Looking for CPU optimized VPS/VDS upto 70$/month Looking for VPS nodes in (US, NL, DE, Singapore, India) - 10Gbps Unmetered Fair Usage [TRANSFER] NovaCloudHosting Ryzen L (AMD Ryzen 9 7950X3D + DDR5 + Gen4 NVMe) Looking for VDS/Dedi in APAC within $150-250 budget Recent list of reputable US-based VPS providers Rock solid US-based VPS providers Does anyone have an extra Hostishere VPS they could transfer one to me? HestiaCP 1.9.6 released - Open source hosting control panel HostHatch - Several Promotion Servers for Transfer Offering a Premium Domain in Exchange for an OVH Server Providers w/Flowspec Support [Free Beta] AKDNS: unlock Netflix / Disney+ / ChatGPT via DNS — one command, no proxy, reversible Hostishere | Ryzen 9 9950X VPS | Frankfurt | 10G on ALL Plans | Free Upgrades + 20% OFF | From €3.99 First post...sharing some luck Cheap dedicated server WTB: 2×E5-2699 v4 Servers (US, Ready Stock) Plz suggest a VPS with max vCPU count / vCPU specs, 10-15$ monthly. Min 4 gb ram. NAT ok too. TIA Hostdzire login page error [OFFER WANTED] US VPS | Native IP | High IP Reputation | Streaming Unlocked | ~$20-30/yr looking for a hongkong cheap vps [Greencloud] Outage of the Frankfurt connection tonight I need an OVH E3-1245 (4C/8T), 32GB RAM, 2×900GB enterprise SSDs, €10/month. The.Hosting shutting down Looking for FiberState Storage Server looking for fiberstate 5700g double ram server [WANTED] UK Dedicated Server - 128GB+ RAM I’m looking for the cheapest 10 Gbps unmetered or 500 TB/month server Need 20x amd ryzen 9 7950x3d , 128gb ddr5 ecc ram , 2tb SSD nvme Kindly advise, windows 11 trial
How to set up Xray Reality on a cheap VPS — works in Chin...
Kadi · 2026-06-02 · via LowEndTalk – Web Hosting Forum & Community

I've been running this setup for a while and it's one of the more reliable ways to get through the GFW and Russian TSPU filtering right now. Writing it up properly since most existing guides are outdated.


Why Xray Reality and not WireGuard/OpenVPN?

WireGuard is great but trivially detected — the GFW fingerprints it within seconds. OpenVPN on 443 used to work but is now blocked in most regions of China.

VLESS+Reality is different: it doesn't just encrypt traffic, it impersonates a real TLS website. To a firewall doing deep packet inspection, your traffic looks like someone visiting microsoft.com or apple.com.


What you need

  • A VPS outside China/Russia — HK, Singapore, or Europe all work. 512MB RAM is enough.
  • No domain required (one of the advantages of Reality over older Xray configs)
  • Root SSH access
  • iOS: Shadowrocket ($2.99) / Android: v2rayNG (free) / Windows: v2rayN (free)

Step 1 — Install Xray

SSH into your VPS and run the official installer:

bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install

This installs Xray to /usr/local/bin/xray and creates a systemd service.


Step 2 — Generate keys

xray x25519

Save the output — you get a Private key and a Public key. You need both.

Also generate a short ID:

openssl rand -hex 8

Save this too.


Step 3 — Pick a destination domain

This is the site your traffic will "pretend" to be. Pick any popular HTTPS site accessible from your VPS:

  • www.microsoft.com
  • www.apple.com
  • www.lowendtalk.com (meta but works)

Verify TLSv1.3 support:

curl -v --tlsv1.3 https://www.microsoft.com 2>&1 | grep "TLSv1.3"

Step 4 — Write the config

Create /usr/local/etc/xray/config.json:

{
  "inbounds": [{
    "port": 443,
    "protocol": "vless",
    "settings": {
      "clients": [{
        "id": "PASTE-A-UUID-HERE",
        "flow": "xtls-rprx-vision"
      }],
      "decryption": "none"
    },
    "streamSettings": {
      "network": "tcp",
      "security": "reality",
      "realitySettings": {
        "dest": "www.microsoft.com:443",
        "serverNames": ["www.microsoft.com"],
        "privateKey": "YOUR-PRIVATE-KEY",
        "shortIds": ["YOUR-SHORT-ID"]
      }
    }
  }],
  "outbounds": [{"protocol": "freedom"}]
}

Generate a UUID: xray uuid

Replace PASTE-A-UUID-HERE, YOUR-PRIVATE-KEY, and YOUR-SHORT-ID with your values.


Step 5 — Start Xray

systemctl restart xray
systemctl status xray

Should show active (running). If not: journalctl -u xray -n 50


Step 6 — Configure your client

In Shadowrocket, v2rayN, or v2rayNG, create a new VLESS connection:

Field Value
Address your VPS IP
Port 443
UUID from your config
Flow xtls-rprx-vision
Transport TCP
Security Reality
Public Key from Step 2
Short ID from Step 2
SNI www.microsoft.com

Step 7 — Split tunneling (optional but recommended)

In Shadowrocket set mode to Rule and add:

  • GEOIP,CN,DIRECT — Chinese IPs connect directly
  • GEOIP,RU,DIRECT — Russian IPs connect directly
  • FINAL,PROXY — everything else through VPS

This keeps banking apps and local services fast. Full routing guide: https://routeveil.com/blog/does-split-tunneling-matter-xray-shadowrocket


Common issues

Port 443 already in use: Check if nginx/apache is running. Stop it or change Xray to a different port.

Connection refused: Make sure port 443 is open in both the OS firewall and your VPS provider's network panel.

Reality handshake fails: The dest domain might not support TLSv1.3, or it may block requests from VPS IPs. Try a different dest domain.

Works at home, blocked at office/school: Some networks do SNI filtering. Try a different destination domain.


Notes

This runs fine on the cheapest VPS you can find — 512MB RAM, 1 vCPU is more than enough. I've been using a $3.50/month VPS for this without issues.

Happy to answer questions.