# Quantumult X 配置 @curtinp118 # GitHub 仓库:https://github.com/curtinp118/QuantumultX # 更新日期:2026/09/01 [general] # 资源解析与网络检测 profile_img_url = https://raw.githubusercontent.com/curtinp118/QuantumultX/refs/heads/main/icons/set.png resource_parser_url = https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js geo_location_checker = http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js network_check_url = http://www.apple.com/library/test/success.html server_check_url = http://www.gstatic.com/generate_204 server_check_timeout = 3000 # DNS 劫持兼容与拒绝响应方式 dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *.icbc.com.cn, id6.me dns_reject_domain_behavior = no-error-no-answer # UDP 与路由 fallback_udp_policy = reject udp_whitelist = 53, 123, 1900, 80, 443 udp_drop_list = STUN, QUIC excluded_routes = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.168.0.0/16, 224.0.0.0/4, 239.255.255.250/32 icmp_auto_reply = true [dns] # 仅使用加密 DNS,并禁用 IPv6 解析以降低双栈环境下的分流偏差。 no-system no-ipv6 prefer-doh3 circumvent-ipv4-answer = 127.0.0.1, 0.0.0.0 circumvent-ipv6-answer = ::1, :: doh-server = https://dns.alidns.com/dns-query, https://doh.pub/dns-query [policy] # 总策略:未单独分类的国际流量由此选择。 static = Global, proxy, HK Fast, SG Fast, US Fast, JP Fast, TW Fast, KR Fast, Other, direct, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Global.png # 常用服务 static = AI, US Dest-hash, US Fast, SG Fast, JP Fast, HK Fast, Global, Other, img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/ChatGPT.png static = Google, SG Fast, US Fast, JP Fast, HK Fast, AI, Global, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Google_Search.png static = Microsoft, US Fast, SG Fast, HK Fast, JP Fast, TW Fast, KR Fast, Global, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Microsoft.png # 社交、流媒体与支付 static = YouTube, HK Fast, TW Fast, JP Fast, SG Fast, US Fast, KR Fast, Global, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/YouTube.png static = X, Global, US Fast, SG Fast, JP Fast, HK Fast, TW Fast, KR Fast, img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/X.png static = Telegram, SG Fast, HK Fast, US Fast, JP Fast, TW Fast, Global, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Telegram.png static = PayPal, US Fast, Global, direct, HK Fast, SG Fast, JP Fast, TW Fast, img-url = https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Paypal.png static = Netflix, SG Fast, JP Fast, HK Fast, TW Fast, US Fast, KR Fast, Global, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix_Letter.png static = Spotify, SG Fast, US Fast, HK Fast, JP Fast, Global, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Spotify.png static = Media, HK Fast, TW Fast, JP Fast, SG Fast, US Fast, KR Fast, Global, direct, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/HKMTMedia.png static = Game, HK Fast, SG Fast, JP Fast, US Fast, Global, direct, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Game.png # 地区自动优选 url-latency-benchmark = HK Fast, server-tag-regex = (?i)^(?=.*(?:香港|🇭🇰|\b(?:HK|HKG|HKT|HKBN|HGC|WTT|Hong Kong)\b))(?!.*(?:台湾|台灣|🇹🇼|\b(?:TW|TWN|Taiwan|Hinet)\b|日本|🇯🇵|\b(?:JP|JPN|Japan|IIJ|NTT)\b|新加坡|🇸🇬|\b(?:SG|SGP|Singapore)\b|美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b|韩国|韓國|🇰🇷|\b(?:KR|KOR|Korea)\b)), check-interval = 1200, tolerance = 50, alive-checking = true, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png url-latency-benchmark = TW Fast, server-tag-regex = (?i)^(?=.*(?:台湾|台灣|🇹🇼|\b(?:TW|TWN|Taiwan|Hinet)\b))(?!.*(?:香港|🇭🇰|\b(?:HK|HKG|HKT|HKBN|HGC|WTT|Hong Kong)\b|日本|🇯🇵|\b(?:JP|JPN|Japan|IIJ|NTT)\b|新加坡|🇸🇬|\b(?:SG|SGP|Singapore)\b|美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b|韩国|韓國|🇰🇷|\b(?:KR|KOR|Korea)\b)), check-interval = 1200, tolerance = 50, alive-checking = true, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Taiwan.png url-latency-benchmark = JP Fast, server-tag-regex = (?i)^(?=.*(?:日本|🇯🇵|\b(?:JP|JPN|Japan|IIJ|NTT)\b))(?!.*(?:香港|🇭🇰|\b(?:HK|HKG|HKT|HKBN|HGC|WTT|Hong Kong)\b|台湾|台灣|🇹🇼|\b(?:TW|TWN|Taiwan|Hinet)\b|新加坡|🇸🇬|\b(?:SG|SGP|Singapore)\b|美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b|韩国|韓國|🇰🇷|\b(?:KR|KOR|Korea)\b)), check-interval = 1200, tolerance = 50, alive-checking = true, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png url-latency-benchmark = SG Fast, server-tag-regex = (?i)^(?=.*(?:新加坡|🇸🇬|\b(?:SG|SGP|Singapore)\b))(?!.*(?:香港|🇭🇰|\b(?:HK|HKG|HKT|HKBN|HGC|WTT|Hong Kong)\b|台湾|台灣|🇹🇼|\b(?:TW|TWN|Taiwan|Hinet)\b|日本|🇯🇵|\b(?:JP|JPN|Japan|IIJ|NTT)\b|美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b|韩国|韓國|🇰🇷|\b(?:KR|KOR|Korea)\b)), check-interval = 900, tolerance = 50, alive-checking = true, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png url-latency-benchmark = US Fast, server-tag-regex = (?i)^(?=.*(?:美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b))(?!.*(?:香港|🇭🇰|\b(?:HK|HKG|HKT|HKBN|HGC|WTT|Hong Kong)\b|台湾|台灣|🇹🇼|\b(?:TW|TWN|Taiwan|Hinet)\b|日本|🇯🇵|\b(?:JP|JPN|Japan|IIJ|NTT)\b|新加坡|🇸🇬|\b(?:SG|SGP|Singapore)\b|韩国|韓國|🇰🇷|\b(?:KR|KOR|Korea)\b)), check-interval = 900, tolerance = 50, alive-checking = true, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png url-latency-benchmark = KR Fast, server-tag-regex = (?i)^(?=.*(?:韩国|韓國|🇰🇷|\b(?:KR|KOR|Korea)\b))(?!.*(?:香港|🇭🇰|\b(?:HK|HKG|HKT|HKBN|HGC|WTT|Hong Kong)\b|台湾|台灣|🇹🇼|\b(?:TW|TWN|Taiwan|Hinet)\b|日本|🇯🇵|\b(?:JP|JPN|Japan|IIJ|NTT)\b|新加坡|🇸🇬|\b(?:SG|SGP|Singapore)\b|美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b)), check-interval = 1800, tolerance = 80, alive-checking = true, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Korea.png # 特殊与兜底节点组 dest-hash = US Dest-hash, server-tag-regex = (?i)^(?=.*(?:美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b)), img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png static = Other, server-tag-regex = (?i)^(?!.*(?:香港|🇭🇰|\b(?:HK|HKG|HKT|HKBN|HGC|WTT|Hong Kong)\b|台湾|台灣|🇹🇼|\b(?:TW|TWN|Taiwan|Hinet)\b|日本|🇯🇵|\b(?:JP|JPN|Japan|IIJ|NTT)\b|新加坡|🇸🇬|\b(?:SG|SGP|Singapore)\b|美国|美國|🇺🇸|\b(?:US|USA|United States|America)\b|韩国|韓國|🇰🇷|\b(?:KR|KOR|Korea)\b|广告|永久|售后|过滤|防失联|失联|官网|官方|群|电报|TG|Telegram|客服|到期|续费|邀请|返利|距离|建议|流量|剩余|过期|套餐|重置|节点)).+$, img-url = https://raw.githubusercontent.com/Toperlock/Quantumult/main/icon/Shin-chan/Shin-chan-1009.png static = Ads, reject, direct, img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Advertising.png [server_local] # 仅作格式示例;请在本地填写并避免提交真实地址和密码。 ;anytls = YOUR_SERVER_ADDRESS:PORT, password = YOUR_PASSWORD, over-tls = true, tls-verification = true, tag = Example [server_remote] # 订阅 URL 通常等同于访问凭据,请仅在本地填写。 ;https://YOUR_SUBSCRIPTION_URL, tag = My Subscription, update-interval = 172800, opt-parser = true, enabled = true # 公益订阅 https://sub.curtinp.cc.cd/c/?token=79242a5fa8af7dee8afec841e73d8bbdtag, tag = 𝑮𝒓𝒆𝒆𝒏 𝑺𝒄𝒓𝒊𝒑𝒕𝑯𝒖𝒃, update-interval = 172800, opt-parser = true, enabled = true [filter_remote] # 广告拦截 https://raw.githubusercontent.com/TG-Twilight/AWAvenue-Ads-Rule/main/Filters/AWAvenue-Ads-Rule-QuantumultX.list, tag = AWAvenue Ads, force-policy = Ads, update-interval = 604800, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Advertising/Advertising.list, tag = Advertising, force-policy = Ads, update-interval = 604800, opt-parser = false, enabled = true # AI 与国际服务 https://raw.githubusercontent.com/curtinp118/QuantumultX/refs/heads/main/rules/AI.list, tag = AI, force-policy = AI, update-interval = 172800, opt-parser = true, enabled = true https://raw.githubusercontent.com/curtinp118/QuantumultX/refs/heads/main/rules/AppleIntelligence.list, tag = Apple Intelligence, force-policy = AI, update-interval = 172800, opt-parser = true, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Google/Google.list, tag = Google, force-policy = Google, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Microsoft/Microsoft.list, tag = Microsoft, force-policy = Microsoft, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/PayPal/PayPal.list, tag = PayPal, force-policy = PayPal, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Netflix/Netflix.list, tag = Netflix, force-policy = Netflix, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/YouTube/YouTube.list, tag = YouTube, force-policy = YouTube, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Spotify/Spotify.list, tag = Spotify, force-policy = Spotify, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/GlobalMedia/GlobalMedia.list, tag = Global Media, force-policy = Media, update-interval = 86400, opt-parser = true, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Telegram/Telegram.list, tag = Telegram, force-policy = Telegram, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Twitter/Twitter.list, tag = X, force-policy = X, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Steam/Steam.list, tag = Steam, force-policy = Game, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Epic/Epic.list, tag = Epic, force-policy = Game, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Sony/Sony.list, tag = Sony, force-policy = Game, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Nintendo/Nintendo.list, tag = Nintendo, force-policy = Game, update-interval = 86400, opt-parser = false, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Global/Global.list, tag = Global, force-policy = Global, update-interval = 86400, opt-parser = true, enabled = true # 国内服务与兜底直连 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Apple/Apple.list, tag = Apple, force-policy = direct, update-interval = 2592000, opt-parser = true, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/WeChat/WeChat.list, tag = WeChat, force-policy = direct, update-interval = 2592000, opt-parser = true, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaMedia/ChinaMedia.list, tag = China Media, force-policy = direct, update-interval = 86400, opt-parser = true, enabled = true https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/ChinaMax/ChinaMax.list, tag = ChinaMax, force-policy = direct, update-interval = 86400, opt-parser = true, enabled = true [filter_local] # 常见 P2P/版权探测拦截 host, hub5idx.v6.shub.sandai.net, reject host, hub5emu.v6.shub.sandai.net, reject host, hub5btmain.v6.shub.sandai.net, reject ip-cidr, 180.76.76.200/32, reject # 常用国际站点与 DNS 泄漏测试 (仅供娱乐) host-suffix, cc.cd, Global host-suffix, linux.do, Global host-suffix, invite.linuxdo.org, Global host-keyword, mullvad, Global host-keyword, surfshark, Global host-keyword, expressvpn, Global host-keyword, ipleak, Global host-keyword, dnsleak, Global host-keyword, browserleaks, Global # 金融服务直连 host-suffix, 95599.cn, direct host-suffix, abchina.com.cn, direct host-suffix, bscabank.com, direct host-suffix, openaboc.cn, direct host-suffix, openaboc.com, direct host-suffix, openaboc.com.cn, direct host-suffix, icbc.com.cn, direct host-suffix, icbc.com, direct host-suffix, cmbchina.com, direct host-suffix, cmbchina.com.cn, direct host-suffix, ccb.com, direct host-suffix, ccb.com.cn, direct host-suffix, bocomm.com, direct host-suffix, bankcomm.com, direct host-suffix, psbc.com, direct host-suffix, cmbc.com.cn, direct host-suffix, ceb.com.cn, direct host-suffix, citic.com, direct host-suffix, ecitic.com, direct host-suffix, spdb.com.cn, direct host-suffix, pingan.com, direct host-suffix, pingan.com.cn, direct # 私有与保留地址直连 ip-cidr, 10.0.0.0/8, direct ip-cidr, 100.64.0.0/10, direct ip-cidr, 127.0.0.0/8, direct ip-cidr, 169.254.0.0/16, direct ip-cidr, 172.16.0.0/12, direct ip-cidr, 192.168.0.0/16, direct ip-cidr, 224.0.0.0/4, direct # 兜底规则 final, Global [rewrite_local] # 将 Google 重定向 ^https?://(www\.)?(g|google)\.cn url 302 https://www.google.com [rewrite_remote] # 功能增强与去广告 https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.conf, tag = BoxJS, update-interval = 172800, opt-parser = true, enabled = true https://raw.githubusercontent.com/ZenmoFeiShi/Qx/refs/heads/main/Yt-zh.snippet, tag = YouTube 字幕, update-interval = 172800, opt-parser = true, enabled = true https://raw.githubusercontent.com/ZenmoFeiShi/Qx/refs/heads/main/Youtube.snippet, tag = YouTube 去广告, update-interval = 172800, opt-parser = true, enabled = true https://raw.githubusercontent.com/app2smile/rules/master/module/spotify.conf, tag = Spotify, update-interval = 172800, opt-parser = true, enabled = true [task_local] # 手动网络检测 event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/streaming-ui-check.js, tag = 流媒体解锁查询, img-url = arrowtriangle.right.square.system, enabled = true event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/geo_location.js, tag = GeoIP 查询, img-url = location.fill.viewfinder.system, enabled = true event-interaction https://raw.githubusercontent.com/xream/scripts/main/surge/modules/network-info/net-lsp-x.js, tag = 网络信息查询, img-url = link.circle.system, enabled = true event-interaction https://ddgksf2013.top/scripts/server-info-pure.js, tag = 节点纯净度详情, img-url = checkmark.shield.fill.system, enabled = true event-interaction https://raw.githubusercontent.com/CC13594759/QuantumultX/main/IPPure.js, tag = 节点 IP 质量检测, img-url = checkmark.shield.system, enabled = true event-interaction https://gist.githubusercontent.com/RavelloH/383354955aa3800e1d7e98666e11e16f/raw/block_check.js, tag = 节点阻断检测, img-url = bolt.horizontal.icloud.fill.system, enabled = true [http_backend] [mitm] # 证书须在 Quantumult X 本地生成、安装并信任。 hostname = www.google.cn, www.g.cn, -testflight.apple.com, -*.fcbox.com, -*huami.com, -*amemv.com, -*snssdk.com ;passphrase = YOUR_CERTIFICATE_PASSWORD ;p12 = YOUR_P12_CERTIFICATE_CONTENT