# 配置名称: Loon 配置 # 配置作者: Centralmatrix3 # 更新时间: 25-12-05 00:00 [General] # 测试超时时间 test-timeout = 5 # 直连网络测试 internet-test-url = http://taobao.com/ # 代理策略测试 proxy-test-url = http://cp.cloudflare.com/generate_204 # 网络接口模式 interface-mode = auto # 策略变更中断 disconnect-on-policy-change = true # 自定义数据库 geoip-url = https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb # 自定义解析器 resource-parser = https://raw.githubusercontent.com/sub-store-org/Sub-Store/release/sub-store-parser.loon.min.js # 域名拦截模式 domain-reject-mode = DNS # DNS拦截模式 dns-reject-mode = LoopbackIP # SNI辅助匹配 sni-sniffing = true # UDP回退策略 udp-fallback-mode = REJECT # 常规DNS服务器 dns-server = 223.5.5.5, 119.29.29.29 # 加密DNS服务器 doh-server = https://doh.pub/dns-query, https://dns.alidns.com/dns-query # IP Stack ip-mode = ipv4-only [Remote Proxy] # 远程订阅 [Remote Filter] # 全部节点 全部 = NameRegex, FilterKey="^" # 香港节点 香港 = NameRegex, FilterKey="香港|港|HK|🇭🇰|(?i)Hong" # 台湾节点 台湾 = NameRegex, FilterKey="台湾|台|TW|🇹🇼|(?i)Taiwan" # 日本节点 日本 = NameRegex, FilterKey="日本|日|JP|🇯🇵|(?i)Japan" # 韩国节点 韩国 = NameRegex, FilterKey="韩国|韩|KR|🇰🇷|(?i)Korea" # 狮城节点 狮城 = NameRegex, FilterKey="新加坡|狮|SG|🇸🇬|(?i)Singapore" # 美国节点 美国 = NameRegex, FilterKey="美国|美|US|🇺🇸|(?i)States" [Proxy Group] # 自行选择 自行选择 = select, 全部, url=http://cp.cloudflare.com/generate_204, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/Static.png # 苹果服务 苹果服务 = select, DIRECT, REJECT, 自行选择, 自动选择, 香港节点, 台湾节点, 日本节点, 韩国节点, 狮城节点, 美国节点, url=http://cp.cloudflare.com/generate_204, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/Apple-v2.png # 港台媒体 港台媒体 = select, DIRECT, REJECT, 自行选择, 自动选择, 香港节点, 台湾节点, 日本节点, 韩国节点, 狮城节点, 美国节点, url=http://cp.cloudflare.com/generate_204, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/StreamingSE.png # 国内媒体 国内媒体 = select, DIRECT, REJECT, 自行选择, 自动选择, 香港节点, 台湾节点, 日本节点, 韩国节点, 狮城节点, 美国节点, url=http://cp.cloudflare.com/generate_204, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/StreamingCN.png # 国外媒体 国外媒体 = select, 自行选择, 自动选择, DIRECT, REJECT, 香港节点, 台湾节点, 日本节点, 韩国节点, 狮城节点, 美国节点, url=http://cp.cloudflare.com/generate_204, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/Streaming.png # 国外网站 国外网站 = select, 自行选择, 自动选择, DIRECT, REJECT, 香港节点, 台湾节点, 日本节点, 韩国节点, 狮城节点, 美国节点, url=http://cp.cloudflare.com/generate_204, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/Global.png # 黑白名单 黑白名单 = select, 自行选择, 自动选择, DIRECT, REJECT, 香港节点, 台湾节点, 日本节点, 韩国节点, 狮城节点, 美国节点, url=http://cp.cloudflare.com/generate_204, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/Final.png # 自动选择 自动选择 = url-test, 全部, url=http://cp.cloudflare.com/generate_204, interval=1800, tolerance=50, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/Available.png # 香港节点 香港节点 = url-test, 香港, url=http://cp.cloudflare.com/generate_204, interval=1800, tolerance=50, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/HK.png # 台湾节点 台湾节点 = url-test, 台湾, url=http://cp.cloudflare.com/generate_204, interval=1800, tolerance=50, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/TW.png # 日本节点 日本节点 = url-test, 日本, url=http://cp.cloudflare.com/generate_204, interval=1800, tolerance=50, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/JP.png # 韩国节点 韩国节点 = url-test, 韩国, url=http://cp.cloudflare.com/generate_204, interval=1800, tolerance=50, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/KR.png # 狮城节点 狮城节点 = url-test, 狮城, url=http://cp.cloudflare.com/generate_204, interval=1800, tolerance=50, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/SG.png # 美国节点 美国节点 = url-test, 美国, url=http://cp.cloudflare.com/generate_204, interval=1800, tolerance=50, img-url=https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Gallery/Color/US.png [Rule] # 最终规则 FINAL, 黑白名单 [Remote Rule] # 规则修正 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/Unbreak.list, policy=DIRECT, tag=规则修正, enabled=true # 广告拦截 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/Advertising.list, policy=REJECT, tag=广告拦截, enabled=true # 港台媒体 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/HMTMedia.list, policy=港台媒体, tag=港台媒体, enabled=true # 国内媒体 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/ChinaMedia.list, policy=国内媒体, tag=国内媒体, enabled=true # 国外媒体 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/GlobalMedia.list, policy=国外媒体, tag=国外媒体, enabled=true # 国外网站 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/Global.list, policy=国外网站, tag=国外网站, enabled=true # 苹果服务 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/Apple.list, policy=苹果服务, tag=苹果服务, enabled=true # 局域网络 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/LAN.list, policy=DIRECT, tag=局域网络, enabled=true # 国内网站 https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Loon/Ruleset/GEOIPCN.list, policy=DIRECT, tag=国内网站, enabled=true [MITM] # 主机名 hostname = -buy.itunes.apple.com