1{
2 "outbounds": [{
3 "tag": "proxy",
4 "protocol": "vless",
5 "settings": {"vnext": [{
6 "address": "example.com",
7 "port": 443,
8 "users": [{
9 "id": "your-uuid",
10 "encryption": "none",
11 "flow": "xtls-rprx-vision"flowは、VLESSとTLSまたはREALITYを組み合わせた場合にのみ有効ですoutbounds → users → flow
12 }]
13 }]},
14 "streamSettings": {
15 "security": "reality",
16 "realitySettings": {
17 "serverName": "example.com"
18 }
19 }
20 }, {"tag": "direct",
21 "protocol": "freedom"}],
22 "routing": {
23 "domainStrategy": "IPIfNonMatch",IPIfNonMatchは、まずドメインで照合し、一致しない場合にIPを解決しますrouting → domainStrategy
24 "rules": [{
25 "type": "field",
26 "domain": ["geosite:cn"],geosite:cnはクライアント内蔵のgeosite.datを参照しますrouting → rules → domain
27 "outboundTag": "direct"
28 }]
29 }
30}