namesilo

  1. unlock Domains
  2. change nameservers

cloudflare

  1. Add a Site
  2. DNS
    • Add record
      • Type:A
      • Name:www / @
      • Content:ip
      • Proxy Status:DNS only(vps操作完成后改为Proxied
  3. SSL
    • encryption mode:Full

REALITY目标网站

访问 https://myip.ms/xxx.xxx.xxx.xxx , 点击 “Owner IP Range” 这一栏的【Other Sites on IP »】按钮, 然后查看 “Known Websites between IP: xx.xx.xx.xx - xx.xx.xx.xx” 域名列表。

尝试使用浏览器“直连”访问列表中的站点域名, 并在【开发者工具】的“安全(h2)”和“网络(TLS1.3、X25519)”选项卡中查看相关信息是否符合要求。

安装 Xray

1
2
3
4
5
6
7
8
bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)

# 生成私钥/公钥(客户端):realitySettings-privateKey
cd /usr/local/bin
xray x25519

# 生成UUID:clients-id
xray uuid

配置 Xray

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
vi /usr/local/etc/xray/config.json

{
  "inbounds": [
    {
      "port": 443,
      "protocol": "vless",
      "settings": {
        "clients": [
          {
            "id": "TODO", 
            "flow": "xtls-rprx-vision"
          }
        ],
        "decryption": "none",
        "fallbacks": []
      },
      "streamSettings": {
        "network": "tcp",
        "security": "reality",
        "realitySettings": {
          "show": false,
          "dest": "www.cloudflare.com:443",
          "xver": 0,
          "serverNames": ["www.cloudflare.com"],
          "privateKey": "TODO",
          "shortIds": [""]
        }
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}

命令

1
2
3
systemctl enable xray
systemctl restart xray
systemctl status xray -l

被墙检测