-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVLESS-XHTTP-TLS.json
121 lines (121 loc) · 3.03 KB
/
VLESS-XHTTP-TLS.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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"log": {
"loglevel": "warning"
},
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"localhost"
]
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
},
{
"type": "field",
"domain": [
"long.weixin.qq.com",
"short.weixin.qq.com",
"szshort.weixin.qq.com",
"dns.weixin.qq.com",
"dns.weixin.qq.com.cn"
],
"outboundTag": "direct"
},
{
"type": "field",
"domain": [
"geosite:spotify"
],
"outboundTag": "warp"
},
{
"type": "field",
"domain": [
"geosite:cn"
],
"outboundTag": "warp"
},
{
"type": "field",
"ip": [
"geoip:cn"
],
"outboundTag": "warp"
}
]
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "uuid",
"level": 0
}
],
"decryption": "none"
},
"streamSettings": {
"network": "xhttp",
"security": "tls",
"xhttpSettings": {
"mode": "auto",
"path": "/"
},
"tlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"certificates": [
{
"certificateFile": "fullchain.crt",
"keyFile": "cert.key"
}
]
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole"
},
{
"tag": "warp",
"protocol": "wireguard",
"settings": {
"secretKey": "privkey",
"peers": [
{
"publicKey": "pubkey",
"endpoint": "engage.cloudflareclient.com:2408"
}
]
}
}
]
}