注册账号

打开 https://www.serv00.com/ 注册账号,登录管理后台。

添加端口

获取 IP

SSH 登录

使用任意 SSH 客户端登录,譬如 Termius

下载 Xray

进入 xray 主页: https://github.com/XTLS/Xray-core/releases/tag/v1.8.16

下载:Xray-freebsd-64. Zip

通过 SFTP 上传至服务器,

1
unzip Xray-freebsd-64.zip

配置 Xray

可以是用 https://1024tools.com/uuid 生成 uuid

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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

{
"dns": {
"servers": [
{
"address": "119.29.29.29",
"port": 53,
"domains": [
"geosite:cn"
]
},
{
"address": "1.1.1.1",
"port": 53,
"domains": [
"geosite:geolocation-!cn",
"domain:raw.githubusercontent.com"
]
}
]
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 9100,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "7389635a-7f5b-46ef-8720-580dd59c6ca6"
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"type": "http",
"response": {
"version": "1.1",
"status": "200",
"reason": "OK",
"headers": {
"Content-Type": [
"application/octet-stream",
"video/mpeg"
],
"Transfer-Encoding": [
"chunked"
],
"Connection": [
"keep-alive"
],
"Pragma": "no-cache"
}
}
}
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"outboundTag": "adblock",
"domain": [
"geosite:category-ads"
]
}
]
}
}

启动

1
nohup ./xray -c config.json &

配置小火箭

主要配置下面 3 个信息,即可,测速可连接。