Quantumult X 配置文件解释
[general]
network_check_url = http://www.baidu.com/
server_check_url = http://www.apple.com/library/test/success.html
dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com
geo_location_checker = http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/Orz-3/Orz-3/master/QuantumultX/IP.js
resource_parser_url = https://fastly.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/resource-parser.js
excluded_routes = 239.255.255.250/32
udp_drop_list = 443
[dns]
# 禁用 IPv6
no-ipv6
# 设置 IP 映射
address = /mtalk.google.com/108.177.125.188
# 设置 DNS 服务器
server = 223.6.6.6
server = 119.29.29.29
# 下列域名使用指定的 DNS 服务器
server = /dl.google.com/119.29.29.29
# 下列域名使用系统 DNS 设置(本地缓存、hosts 文件、局域网 DNS)
server = /amplifi.lan/system
# 被污染 DNS 返回的 IP,Quantumult X 将重新查询 DNS
circumvent-ipv4-answer = 127.0.0.1, 0.0.0.0
circumvent-ipv6-answer = ::
[policy]
static = Global, Auto, HK, TW, JP, KR, SG, US, Other, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Global.png
static = Streaming, Global, HK, TW, JP, KR, SG, US, Other, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Streaming.png
url-latency-benchmark = Auto, server-tag-regex=^((?!(HK|港|(?i)AUTO|(?i)DIRECT|直连|广告|到期|流量|剩余|使用)).)*$, check-interval=600, tolerance=50, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Global.png
url-latency-benchmark = HK, server-tag-regex=(?=.*(港|HK|(?i)Hong))^((?!(台|日|韩|新|美)).)*$, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/HK.png
static = Other, server-tag-regex=^(?!.*(港|台|日(?!利亚)|韩|坡|美|HK|US|TW|JP|KR|SG|Hong|Tai|Japan|Korea|Singapore|States|(?i)DIRECT|直连|广告|到期|流量|剩余|使用)), img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Static.png
[server_remote]
https://example.com/config.conf, tag=订阅节点, update-interval=172800, opt-parser=true, enabled=true
[filter_remote]
https://example.com/Streaming.list, tag=Streaming, force-policy=Streaming, update-interval=172800, opt-parser=true, enabled=true
[rewrite_remote]
https://example.com/spotify.conf, tag=Spotify去广告, update-interval=172800, opt-parser=false, enabled=true
[server_local]
[filter_local]
host-suffix, local, DIRECT
ip-cidr, 192.168.0.0/16, DIRECT
geoip, cn, DIRECT
final, Global
[rewrite_local]
^https?:\/\/(www.)?(g|google)\.cn url 302 https://www.google.com
[task_local]
0 12 * * * https://example.com/index.js, tag=My Task, enabled=true
event-interaction https://example.com/index.js, tag=My Task, img-url=arrowtriangle.right.square.system, enabled=true
[http_backend]
[mitm]
skip_validating_cert = true
hostname = www.google.cn
passphrase = ABCD1234
p12 = xxx==
参见:

浙公网安备 33010602011771号