From d1ff3af6b67be8edfbefb8f8be0a48eeb2a11272 Mon Sep 17 00:00:00 2001 From: Hypick Date: Sun, 24 May 2026 14:01:43 +0300 Subject: [PATCH] update clash configs --- clash/config/client.yaml | 3 +- clash/config/router.yaml | 73 +++++++++++----------------------------- 2 files changed, 20 insertions(+), 56 deletions(-) diff --git a/clash/config/client.yaml b/clash/config/client.yaml index 18a93a4..0e80178 100644 --- a/clash/config/client.yaml +++ b/clash/config/client.yaml @@ -284,8 +284,8 @@ rule-providers: behavior: domain format: mrs url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/ru-bundle/rule.mrs - path: ./rules/ru-bundle/rule.mrs interval: 86400 + path: ./rules/ru-bundle/rule.mrs apps_ipcheck: type: inline @@ -306,7 +306,6 @@ rules: # - RULE-SET,bld-agregator,REJECT # === DIRECT (priority) === - - DOMAIN,reddit.com,DIRECT - RULE-SET,games-direct,DIRECT - RULE-SET,ru-app-list,DIRECT diff --git a/clash/config/router.yaml b/clash/config/router.yaml index 334996d..cec148c 100644 --- a/clash/config/router.yaml +++ b/clash/config/router.yaml @@ -60,7 +60,7 @@ keep-alive-interval: 30 profile: store-selected: true - store-fake-ip: false + store-fake-ip: true tracing: false routing-mark: 2 @@ -158,13 +158,13 @@ proxy-groups: - DIRECT rule-providers: - oisd-big: - type: http - behavior: domain - format: mrs - url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/big.mrs - interval: 86400 - path: ./rules/oisd/big.mrs + # oisd-big: + # type: http + # behavior: domain + # format: mrs + # url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/big.mrs + # interval: 86400 + # path: ./rules/oisd/big.mrs # bld-agregator: # type: http @@ -190,27 +190,6 @@ rule-providers: interval: 86400 path: ./re-filter/ip-rule.mrs - antifilter-ip: - type: http - behavior: classical - url: https://antifilter.i8m3x.icu/antifilter-ip.yaml - interval: 86400 - path: ./rules/custom/antifilter-ip.yaml - - antifilter-community-domain: - type: http - behavior: classical - url: https://antifilter.i8m3x.icu/antifilter-community-domain.yaml - interval: 86400 - path: ./rules/custom/antifilter-community-domain.yaml - - antifilter-community-ip: - type: http - behavior: classical - url: https://antifilter.i8m3x.icu/antifilter-community-ip.yaml - interval: 86400 - path: ./rules/custom/antifilter-community-ip.yaml - # proxy-domain: # type: http # behavior: classical @@ -262,22 +241,6 @@ rule-providers: interval: 86400 path: ./rules/services/telegram-ip.txt - itdoginfo-domains: - type: http - behavior: domain - format: mrs - url: https://github.com/itdoginfo/allow-domains/releases/latest/download/russia_inside_domain.mrs - interval: 86400 - path: ./rules/ru-bundle/russia_inside_domain.mrs - - no-russia-hosts: - type: http - behavior: domain - format: mrs - url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/ru-bundle/no-russia-hosts.mrs - interval: 86400 - path: ./rules/ru-bundle/no-russia-hosts.mrs - rknasnblock: type: http behavior: ipcidr @@ -286,14 +249,20 @@ rule-providers: interval: 86400 path: ./rules/ru-bundle/rknasnblock.mrs + # include: itdoginfo-inside-russia + no-russia-hosts + antifilter-community + ru-bundle: + type: http + behavior: domain + format: mrs + url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/ru-bundle/rule.mrs + interval: 86400 + path: ./rules/ru-bundle/rule.mrs + rules: # === REJECT === - - RULE-SET,oisd-big,Реклама + # - RULE-SET,oisd-big,Реклама # - RULE-SET,bld-agregator,REJECT - # === DIRECT (priority) === - - DOMAIN,reddit.com,DIRECT - # === PROXY === - RULE-SET,discord-domain,Discord - RULE-SET,discord-ip,Discord,no-resolve @@ -304,14 +273,10 @@ rules: - RULE-SET,cloudflare,PROXY - RULE-SET,refilter_ipsum,PROXY,no-resolve - RULE-SET,refilter_domains,PROXY - - RULE-SET,antifilter-ip,PROXY,no-resolve - - RULE-SET,antifilter-community-ip,PROXY,no-resolve - - RULE-SET,antifilter-community-domain,PROXY # - RULE-SET,proxy-domain,PROXY - - RULE-SET,itdoginfo-domains,RU-Banned - - RULE-SET,no-russia-hosts,RU-Banned - RULE-SET,rknasnblock,RU-Banned,no-resolve + - RULE-SET,ru-bundle,RU-Banned # === DIRECT === - MATCH,DIRECT