diff --git a/README.md b/README.md index 49c95c6..42ba8e7 100644 --- a/README.md +++ b/README.md @@ -284,6 +284,8 @@ Repository - [@gkeyes](https://github.com/gkeyes) - [@LeeeMooo](https://github.com/LeeeMooo) - [@uranuswch](https://github.com/uranuswch) +- [@ddgksf2013](https://github.com/ddgksf2013) +- [@cherish](https://github.com/cherish) # **7️⃣许可与说明** diff --git a/Sample.conf b/Sample_v1.0.9.conf similarity index 100% rename from Sample.conf rename to Sample_v1.0.9.conf diff --git a/Sample_v1.1.0.conf b/Sample_v1.1.0.conf new file mode 100644 index 0000000..655e46a --- /dev/null +++ b/Sample_v1.1.0.conf @@ -0,0 +1,133 @@ +# 基于 Quantumult X 官方标准 Sample V1.1.0 +# +# 以 ';' 或 '#' 或 '//' 开头的配置文件行为注释行 +# +# 最后更新时间: 2022/10/10 20:48 +# +# ================ + +# 基础部分 +[general] +// > 配置文件图标 +profile_img_url = https://img.sveir.xyz/static/favicon%40trs.png +// > 网络测试链接 +network_check_url = http://www.bing.com +// > 服务器测试链接 +server_check_url = http://www.gstatic.com/generate_204 +// > 服务器测试超时时间 (毫秒) +server_check_timeout = 3000 +// > 节点 GEO 位置信息检测 +// 如果不需识别节点地区为中文和显示国旗,请将下面行 geo_location_checker 进行注释ß +geo_location_checker = http://ip-api.com/json/?lang=zh-CN,https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/IP_API.js +// > 指定 WiFi SSID 下的运行模式 +// 如果需要指定 对应 SSID 的运行模式,请取消下列注释并自定配置 +;running_mode_trigger = filter, filter, asus-5g:all_direct, asus:all_proxy +// > 资源解析器 +resource_parser_url = https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/resource-parser.js +// > DNS 排除列表 +// 不使用 fakeip 映射,可一定程度防止检测到使用代理 +dns_exclusion_list = *.lan, cable.auth.com, *.msftconnecttest.com, *.msftncsi.com, network-test.debian.org, detectportal.firefox.com, resolver1.opendns.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, stun.*, *.qq.com, localhost.*.qq.com, *.logon.battlenet.com.cn, *.logon.battle.net, *.blzstatic.cn, *.cmpassport.com, id6.me, open.e.189.cn, mdn.open.wo.cn, auth.wosms.cn, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *?miwifi.com, pool.ntp.org, *.pool.ntp.org, ntp.*.com, time.*.com, ntp?.*.com, time?.*.com, time.*.gov, time.*.edu.cn, *.ntp.org.cn, time.*.apple.com, PDC._msDCS.*.*, DC._msDCS.*.*, GC._msDCS.*.* +// > 排除路由 +// 以下 ip-cidr 中的路由将不经由 QuantumultX 进行处理 +excluded_routes = 192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8, 239.255.255.250/32 + +# 域名解析部分 +[dns] +// 如果您需要禁用系统 DNS(no-system), 请取消下行注释 +;no-system +// 如果您需要禁用 IPv6, 请取消下行注释 +;no-ipv6 +// 如需使用 DNS over HTTP/3,请取消下行注释 +;prefer-doh3 + +// 指定 DNS 服务器,并发响应选取最优结果 +server = 119.29.29.29 +server = 182.254.116.116 +server = 223.5.5.5 +server = 223.6.6.6 +server = 119.28.28.28 + +// 如果需要指定 DNS over HTTP 服务,则上列指定的 DNS 服务器 *均将失效* ,在特定网络下禁用该 doh +;doh-server = https://doh.pub/dns-query, https://223.5.5.5/dns-query, https://223.6.6.6/dns-query + +# 分流策略组 +[policy] +static = OutSide, Hong Kong, Singapore, Taiwan, United States, Japan, Korea, Other, direct, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Airport.png +static = Final, OutSide, direct, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Final.png +// 分流 +static = DomesticMedia, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Domestic.png +static = Domestic, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Back.png +static = Apple, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Apple.png +static = Apple Domestic, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Apple_Update.png +static = Google, OutSide, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Google.png +static = Google Domestic, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Google_Search.png +static = Hijacking, reject, direct, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Hijacking.png +static = Advertising, reject, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Advertising.png +static = Unbreak, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Auto.png +// 按地区分类 +static = Hong Kong, resource-tag-regex=🧁 我的订阅, server-tag-regex=香港|Hong Kong|HK|hk, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Hong_Kong.png +static = Singapore, resource-tag-regex=🧁 我的订阅, server-tag-regex=新加坡|Singapore|SG|sg, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Singapore.png +static = Taiwan, resource-tag-regex=🧁 我的订阅, server-tag-regex=台湾|Taiwan|TW|tw|台北, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Taiwan.png +static = United States, resource-tag-regex=🧁 我的订阅, server-tag-regex=美国|United States|US|us, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/United_States.png +static = Japan, resource-tag-regex=🧁 我的订阅, server-tag-regex=日本|Japan|JP|jp, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Japan.png +static = Korea, resource-tag-regex=🧁 我的订阅, server-tag-regex=韩国|Korea|KR|kr, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Korea.png +static = Other, resource-tag-regex=🧁 我的订阅, server-tag-regex=印度|巴西|阿根廷|英国|澳门|土耳其|挪威|瑞士|俄罗斯|瑞典|爱尔兰|法国|菲律宾|越南|泰国|印度尼西亚|德国|英国|荷兰|乌克兰, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/AIA.png + + +[server_local] + +[server_remote] +https://example.com/subscribe.snippet,tag=🧁 我的订阅,enabled=true, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Heart.png + + +[filter_local] +#本地分流规则(对于完全相同的某条规则,本地的将优先生效) +ip-cidr, 10.0.0.0/8, direct +ip-cidr, 127.0.0.0/8, direct +ip-cidr, 172.16.0.0/12, direct +ip-cidr, 192.168.0.0/16, direct +ip-cidr, 224.0.0.0/24, direct +# 已采用 ip 池数据,因此注释掉 geoip cn +;geoip, cn, direct +final, Final + +[filter_remote] +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Unbreak.list, tag=Unbreak, force-policy=direct, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Advertising/Hijacking.list, tag=Hijacking, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Advertising/AdReject.list, tag=Advertising, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Google.list, tag=Google, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Microsoft.list, tag=Microsoft, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Media/DomesticMedia.list, tag=DomesticMedia, force-policy=direct, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Media/ForeignMedia.list, tag=ForeignMedia, force-policy=proxy, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Region/Global.list, tag=Global, force-policy=proxy, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Apple.list, tag=Apple, force-policy=direct, enabled=true +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Region/China.list, tag=Domestic, force-policy=direct, enabled=true + +[rewrite_local] + +[rewrite_remote] +# 网页去广告 +https://cdn.jsdelivr.net/gh/ddgksf2013/Cuttlefish@master/Html/WebAdBlock.conf + +# 知乎去广告 +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/AdBlock/Zhihu.conf + +# 微博去广告 +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/AdBlock/Weibo.conf + +# Youtube 去广告 +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/AdBlock/Youtube.conf + +# TestFlight复写 +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/Services/Apple/TestFlight/TestFlightDownload.conf,tag=TestFlight + +# Rewrite 复写远程订阅 +https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/Rewrite.conf, tag=Rewrite + +[task_local] +# 流媒体查询脚本 +event-interaction https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/streaming-ui-check.js, tag = 流媒体 - 解锁查询,img-url=checkmark.seal.system, enabled=true + +[http_backend] + +[mitm] \ No newline at end of file