-
Notifications
You must be signed in to change notification settings - Fork 3
/
quantumultx.conf
182 lines (152 loc) · 10.5 KB
/
quantumultx.conf
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
; 2021-05-19 更新
;⚠️注意⚠️: 以下内容中,带“;” “#”的都是注释符号,去掉前面的符号,该行才有效
[general]
server_check_url= http://www.qualcomm.cn/generate_204
geo_location_checker=http://extreme-ip-lookup.com/json/, https://raw.githubusercontent.com/crossutility/Quantumult-X/master/sample-location-with-script.js
;geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js
# 资源解析器
resource_parser_url=https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js
;network_check_url=http://bing.com/
;dns_exclusion_list=*.qq.com, qq.com
;ssid_suspended_list 写入你想要quantumultX暂停的Wi-Fi,多个wifi用“,”连接
;ssid_suspended_list=LINK_22E174, LINK_22E175
;udp_whitelist=53, 123, 1900, 80-443
;excluded_routes= 192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8
;icmp_auto_reply=true
[dns]
server=114.114.114.114
server=202.141.176.93
server=202.141.178.13
server=117.50.10.10
server=223.5.5.5
server=119.29.29.29:53
server=119.28.28.28
server=/*.taobao.com/223.5.5.5
server=/*.tmall.com/223.5.5.5
server=/*.alipay.com/223.5.5.5
server=/*.alicdn.com/223.5.5.5
server=/*.aliyun.com/223.5.5.5
server=/*.jd.com/119.28.28.28
server=/*.qq.com/119.28.28.28
server=/*.tencent.com/119.28.28.28
server=/*.weixin.com/119.28.28.28
server=/*.bilibili.com/119.29.29.29
server=/hdslb.com/119.29.29.29
server=/*.163.com/119.29.29.29
server=/*.126.com/119.29.29.29
server=/*.126.net/119.29.29.29
server=/*.127.net/119.29.29.29
server=/*.netease.com/119.29.29.29
server=/*.mi.com/119.29.29.29
server=/*.xiaomi.com/119.29.29.29
;server=/*testflight.apple.com/23.76.66.98
;server=8.8.8.8
;server=/example1.com/8.8.4.4
;server=/*.example2.com/223.5.5.5
;server=/example4.com/[2001:4860:4860::8888]:53
;address=/example5.com/192.168.16.18
;address=/example6.com/[2001:8d3:8d3:8d3:8d3:8d3:8d3:8d3]
#
# static policy points to the server in candidates you manually selected.
# available policy points to the first available server in candidates based on server_check_url(concurrent url latency test will be immediately launched when the policy has been triggered and the policy result is unavailable).
# round-robin policy points to the next server in candidates for next connection.
# ssid policy points to the server depending on the network environment.
#
[task_local]
;* * * * * sample.js
;从 “分” 开始的5位cron 写法
#以下为策略组部分
[policy]
static=🍎 苹果服务, direct, proxy, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple.png
static=💻 国外影音, proxy, direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/ForeignMedia.png
static=🎬 YouTube, proxy, direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/YouTube.png
static=📺 Netflix, proxy, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Netflix_Letter.png
static=📱 Telegram, proxy,direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Telegram.png
static=🌏 国外网站, proxy,direct, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Global.png
static=🕹 黑/白名单,direct, proxy, img-url= https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png
#以下是quantumultX的3普通种策略组类型写法
;static=policy-name-1, Sample-A, Sample-B, Sample-C
;available=policy-name-2, Sample-A, Sample-B, Sample-C
;round-robin=policy-name-3, Sample-A, Sample-B, Sample-C
#下面是ssid策略组示范
;ssid=policy-name-4, Sample-A, Sample-B, LINK_22E171:Sample-B, LINK_22E172:Sample-C
#
# Params "tag" and "enabled" are optional.
# The default sync interval for all kinds of remote resources is 24*60*60 seconds.
#
#服务器远程订阅
[server_remote]
#规则分流远程订阅
[filter_remote]
# Github 地址,国内被墙,未翻墙无法加载,更新后生效快
# https://raw.githubusercontent.com/lynkco01/Quantumult-X-Pure/main/Telegram.list, tag=📱 Telegram, force-policy=📱 Telegram, update-interval=86400, opt-parser=false, enabled=true
# https://raw.githubusercontent.com/lynkco01/Quantumult-X-Pure/main/Netflix.list, tag=📺 Netflix, force-policy=📺 Netflix, update-interval=86400, opt-parser=false, enabled=true
# https://raw.githubusercontent.com/lynkco01/Quantumult-X-Pure/main/YouTube.list, tag=🎬 YouTube, force-policy=🎬 YouTube, update-interval=86400, opt-parser=false, enabled=true
# https://raw.githubusercontent.com/lynkco01/Quantumult-X-Pure/main/Streaming.list, tag=💻 国外影音, force-policy=💻 国外影音, update-interval=86400, opt-parser=false, enabled=true
# https://raw.githubusercontent.com/lynkco01/Quantumult-X-Pure/main/Global.list, tag=🌍 国外网站, force-policy=🌏 国外网站, update-interval=86400, opt-parser=false, enabled=true
# https://raw.githubusercontent.com/lynkco01/Quantumult-X-Pure/main/Apple.list, tag= Apple服务, force-policy=🍎 苹果服务, update-interval=86400, opt-parser=false, enabled=true
# https://raw.githubusercontent.com/lynkco01/Quantumult-X-Pure/main/China.list, tag=🐼 国内网站, update-interval=86400, opt-parser=false, enabled=true
# 将 Github 地址替换为国内可用的 jsdlivr 地址,更新后CDN地址可能需要24h生效
https://cdn.jsdelivr.net/gh/lynkco01/Quantumult-X-Pure@main/Telegram.list, tag=📱 Telegram, force-policy=📱 Telegram, update-interval=86400, opt-parser=false, enabled=true
https://cdn.jsdelivr.net/gh/lynkco01/Quantumult-X-Pure@main/Netflix.list, tag=📺 Netflix, force-policy=📺 Netflix, update-interval=86400, opt-parser=false, enabled=true
https://cdn.jsdelivr.net/gh/lynkco01/Quantumult-X-Pure@main/YouTube.list, tag=🎬 YouTube, force-policy=🎬 YouTube, update-interval=86400, opt-parser=false, enabled=true
https://cdn.jsdelivr.net/gh/lynkco01/Quantumult-X-Pure@main/Streaming.list, tag=💻 国外影音, force-policy=💻 国外影音, update-interval=86400, opt-parser=false, enabled=true
https://cdn.jsdelivr.net/gh/lynkco01/Quantumult-X-Pure@main/Global.list, tag=🌍 国外网站, force-policy=🌏 国外网站, update-interval=86400, opt-parser=false, enabled=true
https://cdn.jsdelivr.net/gh/lynkco01/Quantumult-X-Pure@main/Apple.list, tag= Apple服务, force-policy=🍎 苹果服务, update-interval=86400, opt-parser=false, enabled=true
https://cdn.jsdelivr.net/gh/lynkco01/Quantumult-X-Pure@main/China.list, tag=🐼 国内网站, update-interval=86400, opt-parser=false, enabled=true
#rewrite 复写远程订阅
[rewrite_remote]
# 本地服务器部分
[server_local]
# 以下示范都是 ip(域名):端口,
# 比如 vmess-a.203.167.55.4:777 ,实际是 203.167.55.4:777
# 前面的 ss-a,ws-tls这些,只是为了让你快速找到自己节点的类型
# 实际使用时,请不要真的 傻乎乎的 写 vmess-a.203.167.55.4:777 这种。
# 使用 trojan 协议,如果再使用国内中转,需要关闭 tls 验证,即 tls-verification=false
;shadowsocks=ss-a.example.com:80, method=chacha20, password=pwd, obfs=http, obfs-host=bing.com, obfs-uri=/resource/file, fast-open=false, udp-relay=false, server_check_url=http://www.apple.com/generate_204, tag=Sample-A
;shadowsocks=ss-b.example.com:80, method=chacha20, password=pwd, obfs=http, obfs-host=bing.com, obfs-uri=/resource/file, fast-open=false, udp-relay=false, tag=Sample-B
;shadowsocks=ss-c.example.com:443, method=chacha20, password=pwd, obfs=tls, obfs-host=bing.com, fast-open=false, udp-relay=false, tag=Sample-C
;shadowsocks=ssr-a.example.com:443, method=chacha20, password=pwd, ssr-protocol=auth_chain_b, ssr-protocol-param=def, obfs=tls1.2_ticket_fastauth, obfs-host=bing.com, tag=Sample-D
;shadowsocks=ws-a.example.com:80, method=aes-128-gcm, password=pwd, obfs=ws, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-E
;shadowsocks=ws-b.example.com:80, method=aes-128-gcm, password=pwd, obfs=ws, fast-open=false, udp-relay=false, tag=Sample-F
;shadowsocks=ws-tls-a.example.com:443, method=aes-128-gcm, password=pwd, obfs=wss, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-G
;vmess=ws-c.example.com:80, method=chacha20-ietf-poly1305, password= 23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=ws-c.example.com, obfs=ws, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-H
;vmess=ws-tls-b.example.com:443, method=chacha20-ietf-poly1305, password= 23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=ws-tls-b.example.com, obfs=wss, obfs-uri=/ws, tls-verification=true,fast-open=false, udp-relay=false, tag=Sample-I
;vmess=vmess-a.example.com:80, method=aes-128-gcm, password=23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, fast-open=false, udp-relay=false, tag=Sample-J
;vmess=vmess-b.example.com:80, method=none, password=23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, fast-open=false, udp-relay=false, tag=Sample-K
;vmess=vmess-over-tls.example.com:443, method=none, password=23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=vmess-over-tls.example.com, obfs=over-tls, tls-verification=true, fast-open=false, udp-relay=false, tag=Sample-L
;http=http.example.com:80, username=name, password=pwd, fast-open=false, udp-relay=false, tag=http
;http=https.example.com:443, username=name, password=pwd, over-tls=true, tls-verification=true, tls-host=example.com, tls-verification=true, fast-open=false, udp-relay=false, tag=http-tls
;trojan=example.com:443, password=pwd, over-tls=true, tls-verification=true, fast-open=false, udp-relay=false, tag=trojan-tls-01
;trojan=192.168.1.1:443, password=pwd, over-tls=true, tls-host=example.com, tls-verification=true, fast-open=false, udp-relay=false, tag=🇺🇸 美国 GIA 01
#本地分流规则(相同规则下,本地规则将覆盖远程规则,优先生效)
[filter_local]
#app内手动添加的规则
;user-agent, ?abc*, proxy
;host, www.google.com, proxy
;host-keyword, adsite, reject
;host-suffix, googleapis.com, proxy
# Local Area Network 局域网
host-suffix, local, direct
ip-cidr, 192.168.0.0/16, direct
ip-cidr, 10.0.0.0/8, direct
ip-cidr, 172.16.0.0/12, direct
ip-cidr, 127.0.0.0/8, direct
ip-cidr, 100.64.0.0/10, direct
ip-cidr, 224.0.0.0/4, direct
ip6-cidr, fe80::/10, direct
# 中国大陆 IP 走直连
geoip, cn, direct
# 不在上述规则中的请求,将走final的 黑/白名单, 请根据需要选择直连或节点
final, 🕹 黑/白名单
#本地复写规则,本配置不包含此内容。
[rewrite_local]
#以下为证书&主机名部分,本配置不包含此内容。
[mitm]
;以下模块去掉;才生效
;请自行生成证书 并安装&信任
;skip_validating_cert = false
;force_sni_domain_name = false
;hostname = *.example.com, *.sample.com
;passphrase =
;p12 =