From 9f78ed876f9e5f920dbb69ee906817dcf9826e07 Mon Sep 17 00:00:00 2001 From: DaTekShaman Date: Wed, 6 Aug 2025 15:55:06 +0300 Subject: [PATCH] Beatify config --- config/dts-pontifex.yaml | 158 ++++++++++++++++++--------------------- 1 file changed, 71 insertions(+), 87 deletions(-) diff --git a/config/dts-pontifex.yaml b/config/dts-pontifex.yaml index f94feba..d18b7be 100644 --- a/config/dts-pontifex.yaml +++ b/config/dts-pontifex.yaml @@ -1,4 +1,4 @@ -# —————————————————————————————————— local proxy ————————————————————————————————— +# ————————————————————————————————————————————————————— LOCAL PROXY ————————————————————————————————————————————————————— port: 7890 socks-port: 7891 redir-port: 7892 @@ -10,12 +10,12 @@ bind-address: "*" # authentication: # - "user1:pass1" -# —————————————————————————————— external controller ————————————————————————————— +# ————————————————————————————————————————————————— EXTERNAL CONTROLLER ————————————————————————————————————————————————— external-controller: 127.0.0.1:9090 secret: '314159271828' external-ui: "/usr/share/openclash/ui" -# ———————————————————————————————————— general ——————————————————————————————————— +# ——————————————————————————————————————————————————————— GENERAL ——————————————————————————————————————————————————————— mode: rule ipv6: false unified-delay: true @@ -23,26 +23,24 @@ log-level: info disable-keep-alive: true # interface-name: en0 # Outbound interface name -# enable model auto update, the default is false -lgbm-auto-update: true -# model auto update interval, the default is 72 (hours) -lgbm-update-interval: 72 -# model update url -lgbm-url: "https://github.com/vernesong/mihomo/releases/d💫 ownload/LightGBM-Model/Model.bin" +# ————————————————————————————————————————————————————— SMART GROUPS ———————————————————————————————————————————————————— +lgbm-auto-update: true # enable model auto update, the default is false +lgbm-update-interval: 72 # model auto update interval, the default is 72 (hours) +lgbm-url: "https://github.com/vernesong/mihomo/releases/d💫 ownload/LightGBM-Model/Model.bin" # model update url -# ————————————————————————————————————— hosts ———————————————————————————————————— +# ———————————————————————————————————————————————————————— HOSTS ———————————————————————————————————————————————————————— hosts: 'gitea.shamanlanding.org': 192.168.10.4 '+.scarus.shamanlanding.org': 192.168.10.4 '+.retreat.shamanlanding.org': 192.168.10.4 -# ———————————————————————————————————— profile ——————————————————————————————————— + +# ——————————————————————————————————————————————————————— PROFILE ——————————————————————————————————————————————————————— profile: store-selected: true store-fake-ip: true - #smart-collector-size: data collection file size, the default is 100 (MB) - smart-collector-size: 100 + smart-collector-size: 100 # data collection file size, the default is 100 (MB) -# ———————————————————————————————————— sniffer ——————————————————————————————————— +# ——————————————————————————————————————————————————————— SNIFFER ——————————————————————————————————————————————————————— sniffer: enable: true parse-pure-ip: true @@ -73,7 +71,7 @@ sniffer: - "+.sunlogin.net" - "+.push.apple.com" -# —————————————————————————————————————— dns ————————————————————————————————————— +# ————————————————————————————————————————————————————————— DNS ————————————————————————————————————————————————————————— dns: enable: true ipv6: false @@ -130,8 +128,9 @@ dns: # 'www.baidu.com': '114.114.114.114' # '+.internal.crop.com': '10.0.0.1' -# —————————————————————————————————————— tun ————————————————————————————————————— -# ————————————————————————————————————— macro ———————————————————————————————————— +# ————————————————————————————————————————————————————————— TUN ————————————————————————————————————————————————————————— + +# ———————————————————————————————————————————————————————— MACRO ———————————————————————————————————————————————————————— health-check-for-providers: &health_check_for_providers enable: true interval: 600 @@ -211,10 +210,30 @@ dns: - arza-1 - Un1c4d3 - vezdehod - -# ————————————————————————————————— proxies list ————————————————————————————————— + + + + +# ———————————————— consolidated-lists-private ——————————————— # +# ———————————————— consolidated-lists-public ———————————————— # +# —————————————————— consolidated-services —————————————————— # +# ————————————————————————— services ———————————————————————— # +# ——————————————————————— direct first —————————————————————— # +# ———————————————————————— by service ——————————————————————— # +# ————————————————————— by private lists ———————————————————— # +# ———————————————————————— adblocker ———————————————————————— # +# ————————————————————— by service group ———————————————————— # +# ———————————— by service group (manual country) ———————————— # +# —————————————— force russian geoip to russia —————————————— # +# ————————————————————— community lists ————————————————————— # +# ———————————————————— force other geoip ———————————————————— # +# ——————————————————————— final match ——————————————————————— # + + + +# ————————————————————————————————————————————————————— PROXIES LIST ———————————————————————————————————————————————————— proxies: -# ————————————————————— direct wan routes ———————————————————— +# ———————————————————— direct wan routes ———————————————————— # - name: "WAN A [Мегафон]" type: direct udp: true @@ -231,10 +250,10 @@ proxies: # ip-version: ipv4 # interface-name: eth2 -# ———————————————————————————————— proxy providers ——————————————————————————————— +# ——————————————————————————————————————————————————— PROXY PROVIDERS ——————————————————————————————————————————————————— proxy-providers: -# ——————————————————— private vpn services ——————————————————— +# ——————————————————— private vpn services —————————————————— # #https://dexterity.shamanlanding.org/M4eh2gd/first 💫 own: type: http @@ -249,7 +268,7 @@ proxy-providers: health-check: <<: *health_check_for_providers -# ——————————————————— non-personal services —————————————————— +# —————————————————— non-personal services —————————————————— # #https://sub-001.dns-on-fire.net/api/sub/Jfo_eg3X0NchfJ3_ vezdehod: type: http @@ -306,9 +325,9 @@ proxy-providers: health-check: <<: *health_check_for_providers -# ————————————————————————————————— proxy groups ————————————————————————————————— +# ————————————————————————————————————————————————————— PROXY GROUPS ———————————————————————————————————————————————————— proxy-groups: -# ————————————————————————— fallback ————————————————————————— +# ————————————————————————— fallback ———————————————————————— # - name: "Automatic Fallback Route" type: fallback proxies: @@ -316,8 +335,7 @@ proxy-groups: hidden: true url: 'https://cp.cloudflare.com/generate_204' interval: 300 - -# ————————————————————— direct wan routes ———————————————————— +# ———————————————————— direct wan routes ———————————————————— # - name: AB type: load-balance disable-udp: false @@ -334,8 +352,7 @@ proxy-groups: # - WAN B [РосТелеКом] # - WAN C [Mobile] # hidden: true - -# ————————————————————— direct selectors ————————————————————— +# ————————————————————— direct selectors ———————————————————— # - name: LAN Clients type: select disable-udp: false @@ -378,49 +395,40 @@ proxy-groups: - WAN A [Мегафон] - WAN B [РосТелеКом] # - WAN C [Mobile] - -# ——————————————— smart groups for personal vpn ——————————————— +# —————————————— smart groups for personal vpn —————————————— # - name: ▣ Personal disable-udp: false <<: [*p_vpn_list_smart_gr, *health_check_for_load_balancers] - -# ————————————— smart groups for non-personal vpn ————————————— +# ———————————— smart groups for non-personal vpn ———————————— # - name: Europe 🇪🇺 disable-udp: false filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Spain|UK|Switzerland|Italy|Norway|Belgium|Netherl|Poland|GREAT BRIATAIN|GREAT BRITAIN|Austria|Denmark|Lithuania|Latvia|MOLDOVA" <<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers] - - name: Russia 🇷🇺 disable-udp: false filter: "(?i)Russia" <<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers] - - name: Kazakhstan 🇰🇿 disable-udp: false filter: "(?i)Kazakhstan|KZ" <<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers] - - name: Turkey 🇹🇷 disable-udp: false filter: "(?i)TURKEY" <<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers] - - name: ▣ Non-personal disable-udp: false filter: "" <<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers] - - name: Asia & ME 🇳🇵 disable-udp: false filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore|Egypt|Taiwan|UAE|India" <<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers] - - name: USA 🇺🇸 disable-udp: false filter: "(?i)USA|Canada" <<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers] - -# ————————————— global selectors for personal vpn ———————————— +# ———————————— global selectors for personal vpn ———————————— # - name: Personal 1️⃣ disable-udp: false <<: [*p_vpn_list_selector, *health_check_for_selectors] @@ -428,8 +436,7 @@ proxy-groups: - name: Personal 2️⃣ disable-udp: false <<: [*p_vpn_list_selector, *health_check_for_selectors] - -# ——————————— global selectors for non-personal vpn —————————— +# —————————— global selectors for non-personal vpn —————————— # - name: Asia & ME 🇳🇵 🄪 disable-udp: false filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore|Egypt|Taiwan|UAE|India" @@ -480,9 +487,8 @@ proxy-groups: filter: "" <<: [*np_vpn_list_selector, *health_check_for_selectors] -# ——————— selectors for local rules —————— -# PUBLIC LISTS - https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/consolidated-lists-public/ - +# ———————————————— selectors for local rules ———————————————— # +# ——————————————————————— PUBLIC LISTS —————————————————————— # - name: Adblock 🇷🇺 type: select proxies: @@ -493,7 +499,6 @@ proxy-groups: - Non-personal 3️⃣ - Non-personal 4️⃣ <<: *health_check_for_selectors - - name: Adblock 🗺️ type: select proxies: @@ -504,7 +509,6 @@ proxy-groups: - Non-personal 3️⃣ - Non-personal 4️⃣ <<: *health_check_for_selectors - - name: Antifilter type: select proxies: @@ -521,7 +525,6 @@ proxy-groups: - Europe 🇪🇺 - Europe 🇪🇺 🄪 <<: *health_check_for_selectors - - name: Antifilter Extended type: select proxies: @@ -538,9 +541,7 @@ proxy-groups: - Europe 🇪🇺 - Europe 🇪🇺 🄪 <<: *health_check_for_selectors - -# PRIVATE LISTS - https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/consolidated-lists-private/ - +# —————————————————————— PRIVATE LISTS —————————————————————— # - name: Adaptation type: select proxies: @@ -555,7 +556,6 @@ proxy-groups: - Europe 🇪🇺 - Europe 🇪🇺 🄪 <<: *health_check_for_selectors - - name: Testzone 🅰 type: select proxies: @@ -568,7 +568,6 @@ proxy-groups: - Non-personal 3️⃣ - Non-personal 4️⃣ <<: *health_check_for_selectors - - name: Testzone 🅱 type: select proxies: @@ -581,8 +580,7 @@ proxy-groups: - Non-personal 3️⃣ - Non-personal 4️⃣ <<: *health_check_for_selectors - -# CONSOLIDATED SERVICES - https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/consolidated-services/ +# —————————————————— CONSOLIDATED SERVICES —————————————————— # - name: AI Stuff type: select proxies: @@ -603,7 +601,6 @@ proxy-groups: - Asia & ME 🇳🇵 🄪 - USA 🇺🇸 🄪 <<: *health_check_for_selectors - - name: RU Intracountry VPN type: select disable-udp: false @@ -612,7 +609,6 @@ proxy-groups: - Russia 🇷🇺 - Russia 🇷🇺 🄪 <<: *health_check_for_selectors - - name: US Services type: select disable-udp: false @@ -626,7 +622,6 @@ proxy-groups: - USA 🇺🇸 - USA 🇺🇸 🄪 <<: *health_check_for_selectors - - name: RU Services type: select disable-udp: false @@ -641,7 +636,6 @@ proxy-groups: - Russia 🇷🇺 - Russia 🇷🇺 🄪 <<: *health_check_for_selectors - - name: CN Services type: select disable-udp: false @@ -656,7 +650,6 @@ proxy-groups: - Asia & ME 🇳🇵 - Asia & ME 🇳🇵 🄪 <<: *health_check_for_selectors - - name: EU Services type: select disable-udp: false @@ -671,8 +664,7 @@ proxy-groups: - Europe 🇪🇺 - Europe 🇪🇺 🄪 <<: *health_check_for_selectors - -# SERVICES - https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/services/ +# ————————————————————————— SERVICES ———————————————————————— # - name: Discord type: select disable-udp: false @@ -692,7 +684,6 @@ proxy-groups: - Europe 🇪🇺 🄪 - USA 🇺🇸 🄪 <<: *health_check_for_selectors - - name: Electronic Arts type: select proxies: @@ -709,7 +700,6 @@ proxy-groups: - Non-personal 3️⃣ - Non-personal 4️⃣ <<: *health_check_for_selectors - - name: Notion type: select proxies: @@ -720,7 +710,6 @@ proxy-groups: - Europe 🇪🇺 - Europe 🇪🇺 🄪 <<: *health_check_for_selectors - - name: Proton type: select proxies: @@ -731,7 +720,6 @@ proxy-groups: - Europe 🇪🇺 - Europe 🇪🇺 🄪 <<: *health_check_for_selectors - - name: Steam type: select proxies: @@ -748,7 +736,6 @@ proxy-groups: - Non-personal 3️⃣ - Non-personal 4️⃣ <<: *health_check_for_selectors - - name: Telegram type: select proxies: @@ -766,7 +753,6 @@ proxy-groups: - Europe 🇪🇺 🄪 - USA 🇺🇸 🄪 <<: *health_check_for_selectors - - name: WeChat type: select proxies: @@ -786,7 +772,6 @@ proxy-groups: - Russia 🇷🇺 🄪 - USA 🇺🇸 🄪 <<: *health_check_for_selectors - - name: WhatsApp type: select proxies: @@ -804,7 +789,6 @@ proxy-groups: - Russia 🇷🇺 🄪 - USA 🇺🇸 🄪 <<: *health_check_for_selectors - - name: XBox type: select proxies: @@ -821,7 +805,6 @@ proxy-groups: - Non-personal 3️⃣ - Non-personal 4️⃣ <<: *health_check_for_selectors - - name: YouTube type: select proxies: @@ -840,10 +823,10 @@ proxy-groups: - USA 🇺🇸 🄪 <<: *health_check_for_selectors -# ———————————————————————————————— rule providers ———————————————————————————————— +# ———————————————————————————————————————————————————— RULE PROVIDERS ——————————————————————————————————————————————————— rule-providers: -# ——————————————————— consolidated-lists-private ———————————————————— +# —————————————————————————— consolidated-lists-private ————————————————————————— # # http://purpose.shamanlanding.org:9999/ General Direct Domain List: url: http://purpose.shamanlanding.org:9999/direct-domain.yaml @@ -872,7 +855,7 @@ rule-providers: path: "./rule_provider/services/consolidated-lists-private/testzone-b.yaml" <<: *default_rule_provider_config -# ——————————————————— consolidated-lists-public ———————————————————— +# —————————————————————————— consolidated-lists-public —————————————————————————— # # /clash-rules/raw/branch/main/rule-provider/consolidated-lists-private/ 🚫 Adblock List RU: url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/consolidated-lists-public/adblock-ru.yaml @@ -898,7 +881,7 @@ rule-providers: path: "./rule_provider/consolidated-lists-public/antifilter-ip-proxy.yaml" <<: *default_rule_provider_config -# ——————————————————— consolidated-services ———————————————————— +# ———————————————————————————— consolidated-services ———————————————————————————— # # /clash-rules/raw/branch/main/rule-provider/consolidated-services/ AI Stuff: url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/consolidated-services/ai-stuff-western.yaml @@ -925,7 +908,7 @@ rule-providers: path: "./rule_provider/consolidated-services/cn-services.yaml" <<: *default_rule_provider_config -# ——————————————————— services ———————————————————— +# ——————————————————————————————————— services —————————————————————————————————— # # /clash-rules/raw/branch/main/rule-provider/services/ Discord: url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/services/discord.yaml @@ -968,14 +951,14 @@ rule-providers: path: "./rule_provider/services/youtube.yaml" <<: *default_rule_provider_config -# ————————————————————————————————————— rules ———————————————————————————————————— +# ———————————————————————————————————————————————————————— RULES ———————————————————————————————————————————————————————— rules: -# —————————————————————— direct first —————————————————————— +# ——————————————————————— direct first —————————————————————— # - RULE-SET,General Direct Domain List,DIRECT - RULE-SET,General Direct IP List,DIRECT -# ——————————————————————— by service ——————————————————————— +# ———————————————————————— by service ——————————————————————— # - RULE-SET,Discord,Discord - RULE-SET,Electronic Arts,Electronic Arts - RULE-SET,Notion,Notion @@ -987,36 +970,37 @@ rules: - RULE-SET,XBox,XBox - RULE-SET,Youtube,YouTube -# ——————————————————— by private lists ————————————————————— +# ————————————————————— by private lists ———————————————————— # - RULE-SET,Testzone A,Testzone 🅰 - RULE-SET,Testzone B,Testzone 🅱 - RULE-SET,General Proxy Domain List,Adaptation - RULE-SET,General Proxy IP List,Adaptation -# ———————————————————————— adblocker ——————————————————————— +# ———————————————————————— adblocker ———————————————————————— # - RULE-SET,🚫 Adblock List RU,Adblock 🇷🇺 - RULE-SET,🚫 Adblock List GL,Adblock 🗺️ -# ——————————————————— by service group ————————————————————— +# ————————————————————— by service group ———————————————————— # - RULE-SET,AI Stuff,AI Stuff - RULE-SET,RU Intracountry VPN,RU Intracountry VPN -# —————————— by service group (manual country) ————————————— +# ———————————— by service group (manual country) ———————————— # - RULE-SET,US Services Manual,US Services - RULE-SET,EU Services Manual,EU Services - RULE-SET,CN Services Manual,CN Services -# —————————————————— check russian geoip ——————————————————— +# —————————————— force russian geoip to russia —————————————— # - GEOIP,RU,RU Services -# ————————————————————— Adaptation lists ———————————————————— +# ————————————————————— community lists ————————————————————— # - RULE-SET,Antifilter Community IP List,Antifilter - RULE-SET,Antifilter Community Domain List,Antifilter - RULE-SET,Antifilter IP List,Antifilter Extended -# ——————————————————— check other geoip ———————————————————— +# ———————————————————— force other geoip ———————————————————— # - GEOIP,US,US Services - GEOIP,EU,EU Services - GEOIP,CN,CN Services +# ——————————————————————— final match ——————————————————————— # - MATCH,LAN Clients \ No newline at end of file