优化
This commit is contained in:
+26
-11
@@ -69,14 +69,14 @@ proxy-providers:
|
||||
override: { additional-prefix: "p1 » " }
|
||||
|
||||
机场02:
|
||||
url: "https://dy-2.xn--30rs3bu7r87f.com/csjc/api/v1/client/subscribe?token=a62ab7727142e1ff0320892c4628deda" # <--- 注意:请替换为你新买的订阅链接
|
||||
url: "https://dy-2.xn--30rs3bu7r87f.com/csjc/api/v1/client/subscribe?token=a62ab7727142e1ff0320892c4628deda"
|
||||
path: ./proxy_provider/sub2.yaml
|
||||
<<: *p-common
|
||||
filter: "^(?!(.*流量|.*10x|.*6x|.*重置|.*到期|.*建议|.*官网|.*Expire|.*套餐|.*地址|.*更新)).*$"
|
||||
override: { additional-prefix: "p2 » " }
|
||||
|
||||
机场03_备用:
|
||||
url: "https://sub.huluma.dpdns.org/base64?token=4ad6c5809974691835305f3f4b2b1b1d" # 原来的旧 p2,现已降级为纯备用
|
||||
url: "https://sub.huluma.dpdns.org/base64?token=4ad6c5809974691835305f3f4b2b1b1d"
|
||||
path: ./proxy_provider/sub3.yaml
|
||||
<<: *p-common
|
||||
filter: "^(?!(.*流量|.*10x|.*6x|.*重置|.*到期|.*建议|.*官网|.*Expire|.*套餐|.*地址|.*更新)).*$"
|
||||
@@ -106,7 +106,6 @@ dns:
|
||||
- "geosite:private"
|
||||
- "rule-set:fake_ip_filter_DustinWin"
|
||||
|
||||
# 必须使用国内 DNS 才能正常解析机场的节点域名
|
||||
default-nameserver:
|
||||
- 223.5.5.5
|
||||
- 119.29.29.29
|
||||
@@ -118,7 +117,6 @@ dns:
|
||||
- 8.8.8.8
|
||||
|
||||
nameserver-policy:
|
||||
# 将 geosite:cn 和 private 拆开写,兼容性更好
|
||||
"geosite:cn":
|
||||
- https://223.5.5.5/dns-query
|
||||
- https://doh.pub/dns-query
|
||||
@@ -174,8 +172,8 @@ proxy-groups:
|
||||
- name: ♻️ 自动选择
|
||||
type: fallback
|
||||
proxies:
|
||||
- 自动选择 # 优先级 1:p1 和 新 p2 的优选节点,只要还有一个活着就用这里
|
||||
- 🆘 故障转移 # 优先级 2:仅当 p1 和 新 p2 全部彻底失效时,才会切换到这里(旧 p2)
|
||||
- 自动选择
|
||||
- 🆘 故障转移
|
||||
url: http://www.gstatic.com/generate_204
|
||||
interval: 300
|
||||
tolerance: 50
|
||||
@@ -187,6 +185,9 @@ proxy-groups:
|
||||
proxies:
|
||||
- 自动选择
|
||||
- AI
|
||||
- 美国自动
|
||||
- 美国p1自动
|
||||
- 美国p2自动
|
||||
- 台湾均衡加速
|
||||
- 香港均衡加速
|
||||
- 日本均衡加速
|
||||
@@ -202,7 +203,7 @@ proxy-groups:
|
||||
|
||||
- name: 🆘 故障转移
|
||||
type: url-test
|
||||
<<: *u_b # 仅使用备用订阅列表(旧 p2)
|
||||
<<: *u_b
|
||||
url: http://www.gstatic.com/generate_204
|
||||
interval: 3600
|
||||
icon: "https://is1-ssl.mzstatic.com/image/thumb/Purple123/v4/77/7e/5a/777e5a23-cdcc-07e3-bac6-e691fa413307/AppIconok-0-0-1x_U007emarketing-0-0-0-10-0-85-220.png/400x400ia-75.webp"
|
||||
@@ -215,6 +216,8 @@ proxy-groups:
|
||||
- AI_稳定节点
|
||||
- AI_自动优选
|
||||
- 美国自动
|
||||
- 美国p1自动
|
||||
- 美国p2自动
|
||||
- 日本自动
|
||||
- 新加坡自动
|
||||
- 台湾自动
|
||||
@@ -225,7 +228,7 @@ proxy-groups:
|
||||
|
||||
- name: AI_稳定节点
|
||||
type: fallback
|
||||
<<: *u_s # 只用主力(p1和新p2)
|
||||
<<: *u_s
|
||||
url: http://www.gstatic.com/generate_204
|
||||
interval: 7200
|
||||
strategy: consistent-hashing
|
||||
@@ -238,7 +241,7 @@ proxy-groups:
|
||||
|
||||
- name: AI_自动优选
|
||||
type: url-test
|
||||
<<: *u_s # 只用主力(p1和新p2)
|
||||
<<: *u_s
|
||||
url: http://www.gstatic.com/generate_204
|
||||
interval: 3600
|
||||
tolerance: 50
|
||||
@@ -264,13 +267,20 @@ proxy-groups:
|
||||
# --- ⚡ 自动优选组 (仅主力参与) ---
|
||||
- { name: 台湾自动, type: url-test, <<: *u_s, tolerance: 100, interval: 600, lazy: true, filter: "(?i)(台湾|tw|🇹🇼|taiwan)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" }
|
||||
- { name: 香港自动, type: url-test, <<: *u_s, tolerance: 100, interval: 600, lazy: true, filter: "(?i)(香港|hk|🇭🇰|hong\\s?kong)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" }
|
||||
|
||||
# 混合双机场测速(原来的美国自动)
|
||||
- { name: 美国自动, type: url-test, <<: *u_s, tolerance: 100, interval: 600, lazy: true, filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" }
|
||||
|
||||
# 单独对 p1/p2 进行美国节点测速(新增)
|
||||
- { name: 美国p1自动, type: url-test, use: [机场01], tolerance: 100, interval: 600, lazy: true, filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" }
|
||||
- { name: 美国p2自动, type: url-test, use: [机场02], tolerance: 100, interval: 600, lazy: true, filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" }
|
||||
|
||||
- { name: 新加坡自动, type: url-test, <<: *u_s, tolerance: 100, interval: 600, lazy: true, filter: "(?i)(🇸🇬|新加坡|狮城|SG|Singapore)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" }
|
||||
- { name: 日本自动, type: url-test, <<: *u_s, tolerance: 100, interval: 600, lazy: true, filter: "(?i)(🇯🇵|日本|東京|东京|大阪|JP|Japan)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" }
|
||||
|
||||
- name: 自动选择
|
||||
type: url-test
|
||||
<<: *u_s # 仅优选主力
|
||||
<<: *u_s
|
||||
url: http://www.gstatic.com/generate_204
|
||||
tolerance: 50
|
||||
interval: 300
|
||||
@@ -334,6 +344,10 @@ rules:
|
||||
- RULE-SET,telegram_ip,♻️ 自动选择,no-resolve
|
||||
- RULE-SET,geoip_cloudflare,AI,no-resolve
|
||||
- RULE-SET,cn_domain,DIRECT
|
||||
|
||||
|
||||
# --- Google 专项规则 ---
|
||||
- RULE-SET,google_domain,AI
|
||||
|
||||
# --- OpenAI 规则 (置顶) ---
|
||||
- DOMAIN-SUFFIX,openai.com,OpenAI
|
||||
@@ -386,4 +400,5 @@ rule-providers:
|
||||
telegram_ip: { <<: *ip, path: ./ruleset/tg_ip.mrs, url: "https://github.com/DustinWin/ruleset_geodata/raw/refs/heads/mihomo-ruleset/telegramip.mrs" }
|
||||
proxy: { <<: *domain, path: ./ruleset/proxy.mrs, url: "https://github.com/DustinWin/ruleset_geodata/releases/download/mihomo-ruleset/proxy.mrs" }
|
||||
geoip_cloudflare: { <<: *ip, path: ./ruleset/cf_ip.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/cloudflare.mrs" }
|
||||
japan_domain: { <<: *domain, path: ./ruleset/japan_domain.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/location-jp.mrs" }
|
||||
japan_domain: { <<: *domain, path: ./ruleset/japan_domain.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/location-jp.mrs" }
|
||||
google_domain: { <<: *domain, path: ./ruleset/google.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs" }
|
||||
Reference in New Issue
Block a user