forked from chao76983/Heroku-Xray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxray.json
52 lines (50 loc) · 2.32 KB
/
xray.json
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
{
"inbounds":
[
{
"listen": "/etc/caddy/vmess","protocol": "vmess",
"settings": {"clients": [{"id": "$AUUID"}]},
"streamSettings": {"network": "ws","wsSettings": {"path": "/$AUUID-vmess"}}
},
{
"listen": "/etc/caddy/vless","protocol": "vless",
"settings": {"clients": [{"id": "$AUUID"}],"decryption": "none"},
"streamSettings": {"network": "ws","wsSettings": {"path": "/$AUUID-vless"}}
},
{
"listen": "/etc/caddy/trojan","protocol": "trojan",
"settings": {"clients": [{"password":"$AUUID"}]},
"streamSettings": {"network": "ws","wsSettings": {"path": "/$AUUID-trojan"}}
},
{
"port": 4234,"listen": "127.0.0.1","tag": "onetag","protocol": "dokodemo-door",
"settings": {"address": "v1.mux.cool","network": "tcp","followRedirect": false},
"streamSettings": {"security": "none","network": "ws","wsSettings": {"path": "/$AUUID-ss"}}
},
{
"port": 4324,"listen": "127.0.0.1","protocol": "shadowsocks",
"settings": {"method": "$ParameterSSENCYPT","password": "$AUUID"},
"streamSettings": {"security": "none","network": "domainsocket","dsSettings": {"path": "apath","abstract": true}}
},
{ "port": 5234,"listen": "127.0.0.1","protocol": "socks",
"settings": {"auth": "password","accounts": [{"user": "$AUUID","pass": "$AUUID"}]},
"streamSettings": {"network": "ws","wsSettings": {"path": "/$AUUID-socks"}}
}
],
"outbounds":
[
{"protocol": "freedom","tag": "direct","settings": {}},
{"protocol": "blackhole","tag": "blocked","settings": {}},
{"protocol": "socks","tag": "sockstor","settings": {"servers": [{"address": "127.0.0.1","port": 9050}]}},
{"protocol": "freedom","tag": "twotag","streamSettings": {"network": "domainsocket","dsSettings": {"path": "apath","abstract": true}}}
],
"routing":
{
"rules":
[
{"type": "field","inboundTag": ["onetag"],"outboundTag": "twotag"},
{"type": "field","outboundTag": "sockstor","domain": ["geosite:tor"]},
{"type": "field","outboundTag": "blocked","domain": ["geosite:category-ads-all"]}
]
}
}