This commit is contained in:
2025-12-07 20:09:03 +03:00
parent d2c8f9ce3d
commit 272c42338c
3 changed files with 94 additions and 53 deletions

View File

@@ -376,34 +376,33 @@ dns:
exclude-filter: "(?i)vless" exclude-filter: "(?i)vless"
exclude-type: "Vmess|Vless" exclude-type: "Vmess|Vless"
name-normalizer: &name_normalizer # name-normalizer: &name_normalizer
override: # override:
additional-prefix: "" # - pattern: '(?i)\bgemini\b'
additional-suffix: "•𝓿" # target: 'USA #gemini'
proxy-name: # - pattern: '(?i)\bSS\b|\bshadowsocks\b'
- pattern: '(?i)\bgemini\b' # target: '#ssock'
target: 'USA #gemini' # - pattern: '(?i)\bgrpc\b'
- pattern: '(?i)\bSS\b|\bshadowsocks\b' # target: '#grpct'
target: '#ssock' # - pattern: '(?i)\bvless\b'
- pattern: '(?i)\bgrpc\b' # target: '#vless'
target: '#grpct' # - pattern: '(?i)\bxhttp\b'
- pattern: '(?i)\bvless\b' # target: '#xhttp'
target: '#vless' # - pattern: '(?i)\b8443\b'
- pattern: '(?i)\bxhttp\b' # target: '#p8443'
target: '#xhttp' # - pattern: '(?i)P2P|Torrents|torrent'
- pattern: '(?i)\b8443\b' # target: '✅TRNT'
target: '#p8443' # - pattern: '(?i)noP2P'
- pattern: '(?i)\bP2P-Torrents\b|\bTorrent ✅\b' # target: '❌TRNT'
target: '✅ TORRENT' # - pattern: '(?i)⚫ LTE.*?'
- pattern: '(?i)\bviaRussia\b' # target: '🚫 DO NOT USE'
target: '🕳️ RU'
- pattern: '(?i)\bnoP2P\b'
target: '❌ TORRENT'
- pattern: '(?i) |✅|-|\||\[|\]|⚡️|10 gbit|ai studio|fast|low ping|roblox|📊\d+(MB|GB)/\d+(MB|GB)' # - pattern: '(?i) |✅|-|\||\[|\]|⚡️|10 gbit|ai studio|fast|low ping|roblox|📊\d+(MB|GB)/\d+(MB|GB)'
target: '' # target: ''
- pattern: '(?i)unitedstates|usa|сша' # - pattern: '(?i)viaRussia'
target: 'USA' # target: '🕳️ RU'
# - pattern: '(?i)unitedstates|usa|сша'
# target: 'USA'
# # —————————————————————————————————— route sets ————————————————————————————————— # # # —————————————————————————————————— route sets ————————————————————————————————— #
set-small: &set_small set-small: &set_small
proxies: proxies:
@@ -565,7 +564,7 @@ proxy-providers:
override: override:
additional-prefix: "" additional-prefix: ""
additional-suffix: "•𝓭" additional-suffix: "•𝓭"
<<: [*health_check_for_providers, *proxy_extrnl, *name_normalizer] <<: [*health_check_for_providers, *proxy_extrnl]
🎭 vezdehod: 🎭 vezdehod:
url: "https://sub-001.dns-on-fire.net/api/sub/Jfo_eg3X0NchfJ3_" url: "https://sub-001.dns-on-fire.net/api/sub/Jfo_eg3X0NchfJ3_"
@@ -573,7 +572,7 @@ proxy-providers:
override: override:
additional-prefix: "" additional-prefix: ""
additional-suffix: "•𝓿" additional-suffix: "•𝓿"
<<: [*health_check_for_providers, *proxy_extrnl, *name_normalizer] <<: [*health_check_for_providers, *proxy_extrnl]
🎭 xfizz: 🎭 xfizz:
url: "https://xfizz.cc/sublink/XzU0rRmBeOZtIPprW46f2ieNFcF8PJw9?name=1Y:2213" url: "https://xfizz.cc/sublink/XzU0rRmBeOZtIPprW46f2ieNFcF8PJw9?name=1Y:2213"
@@ -581,7 +580,7 @@ proxy-providers:
override: override:
additional-prefix: "" additional-prefix: ""
additional-suffix: "•𝓯" additional-suffix: "•𝓯"
<<: [*health_check_for_providers, *proxy_extrnl, *name_normalizer] <<: [*health_check_for_providers, *proxy_extrnl]
🎭 uncd: 🎭 uncd:
url: "https://subs.un1c4d3.ru:52478/sub/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJQTF9WTFNTX0FMTDIxMCIsImFjY2VzcyI6InN1YnNjcmlwdGlvbiIsImlhdCI6MTczNzgwMDQwOH0.mPr4BSMMpo1mrlZPvB34IRGcn2mHOZetHXaZyebirT4" url: "https://subs.un1c4d3.ru:52478/sub/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJQTF9WTFNTX0FMTDIxMCIsImFjY2VzcyI6InN1YnNjcmlwdGlvbiIsImlhdCI6MTczNzgwMDQwOH0.mPr4BSMMpo1mrlZPvB34IRGcn2mHOZetHXaZyebirT4"
@@ -589,7 +588,7 @@ proxy-providers:
override: override:
additional-prefix: "" additional-prefix: ""
additional-suffix: "•𝓾" additional-suffix: "•𝓾"
<<: [*health_check_for_providers, *proxy_extrnl, *name_normalizer] <<: [*health_check_for_providers, *proxy_extrnl]
🎩 amnezia: 🎩 amnezia:
url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/scarus/amnezia.yaml" url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/scarus/amnezia.yaml"

View File

@@ -19,16 +19,16 @@ bind-address: "*"
external-controller: 0.0.0.0:9090 external-controller: 0.0.0.0:9090
external-controller-tls: 0.0.0.0:9443 external-controller-tls: 0.0.0.0:9443
secret: '314159271828' secret: '314159271828'
external-ui: "/usr/share/openclash/ui" # external-ui: "/usr/share/openclash/ui"
# ——————————————————————————————————————————————————————— GENERAL ——————————————————————————————————————————————————————— # ——————————————————————————————————————————————————————— GENERAL ———————————————————————————————————————————————————————
mode: rule mode: rule
ipv6: false ipv6: false
unified-delay: true unified-delay: true
log-level: info log-level: info
disable-keep-alive: true disable-keep-alive: false
# keep-alive-interval: 15 keep-alive-interval: 15
# keep-alive-idle: 15 keep-alive-idle: 600
find-process-mode: "off" # Options: always, strict, off find-process-mode: "off" # Options: always, strict, off
# global-client-fingerprint: random # Options: chrome, firefox, safari, iOS, android, edge, 360, qq, random # global-client-fingerprint: random # Options: chrome, firefox, safari, iOS, android, edge, 360, qq, random
# tcp-concurrent: true # Enable TCP concurrent connections, which will use all IP addresses resolved by DNS for connections, using the first successful connection. # tcp-concurrent: true # Enable TCP concurrent connections, which will use all IP addresses resolved by DNS for connections, using the first successful connection.
@@ -61,7 +61,7 @@ hosts:
'ruler.shamanlanding.org': '192.168.10.4' 'ruler.shamanlanding.org': '192.168.10.4'
'scriptorium.shamanlanding.org': '192.168.10.4' 'scriptorium.shamanlanding.org': '192.168.10.4'
'tessera.shamanlanding.org': '192.168.10.4' 'tessera.shamanlanding.org': '192.168.10.4'
'webway.shamanlanding.org': '192.168.10.4' # 'webway.shamanlanding.org': '192.168.10.4'
'wishmaster.shamanlanding.org': '192.168.10.4' 'wishmaster.shamanlanding.org': '192.168.10.4'
'zashboard.shamanlanding.org': '192.168.10.4' 'zashboard.shamanlanding.org': '192.168.10.4'
@@ -187,12 +187,12 @@ dns:
# nameserver-policy: # nameserver-policy:
# '+.shamanlanding.org': '192.168.10.4' # '+.shamanlanding.org': '192.168.10.4'
# direct-nameserver-follow-policy: true # direct-nameserver-follow-policy: true
# fallback: fallback:
# - https://d.adguard-dns.com/dns-query/5ffb7de2 # Fallback DNS @ https://adguard-dns.io/en/dashboard/ # - https://d.adguard-dns.com/dns-query/5ffb7de2 # Fallback DNS @ https://adguard-dns.io/en/dashboard/
# - https://dns.comss.one/dns-query # Fallback DNS Comss.one # - https://dns.comss.one/dns-query # Fallback DNS Comss.one
# - https://cloudflare-dns.com/dns-query # Fallback DNS Cloudfalre # - https://cloudflare-dns.com/dns-query # Fallback DNS Cloudfalre
# - 1.1.1.1 - 1.1.1.1
# - 1.0.0.1 - 1.0.0.1
# - 8.8.8.8 # - 8.8.8.8
# - 8.8.4.4 # - 8.8.4.4
# - 9.9.9.9 # - 9.9.9.9
@@ -368,11 +368,41 @@ dns:
exclude-filter: "(?i)nop2p" exclude-filter: "(?i)nop2p"
filter-udp: &filter_udp filter-udp: &filter_udp
filter: "(?i)wg|wireguard" filter: "(?i)wg|wireguard|ss"
exclude-filter: ""
filter-cun: &filter_cun
filter: "(?i)SS|8443"
exclude-filter: "(?i)vless" exclude-filter: "(?i)vless"
exclude-type: "Vmess|Vless"
filter-cun: &filter_cun
filter: "(?i)ss|8443"
exclude-filter: "(?i)vless"
exclude-type: "Vmess|Vless"
# name-normalizer: &name_normalizer
# override:
# - pattern: '(?i)\bgemini\b'
# target: 'USA #gemini'
# - pattern: '(?i)\bSS\b|\bshadowsocks\b'
# target: '#ssock'
# - pattern: '(?i)\bgrpc\b'
# target: '#grpct'
# - pattern: '(?i)\bvless\b'
# target: '#vless'
# - pattern: '(?i)\bxhttp\b'
# target: '#xhttp'
# - pattern: '(?i)\b8443\b'
# target: '#p8443'
# - pattern: '(?i)P2P|Torrents|torrent'
# target: '✅TRNT'
# - pattern: '(?i)noP2P'
# target: '❌TRNT'
# - pattern: '(?i)⚫ LTE.*?'
# target: '🚫 DO NOT USE'
# - pattern: '(?i) |✅|-|\||\[|\]|⚡️|10 gbit|ai studio|fast|low ping|roblox|📊\d+(MB|GB)/\d+(MB|GB)'
# target: ''
# - pattern: '(?i)viaRussia'
# target: '🕳️ RU'
# - pattern: '(?i)unitedstates|usa|сша'
# target: 'USA'
# # —————————————————————————————————— route sets ————————————————————————————————— # # # —————————————————————————————————— route sets ————————————————————————————————— #
set-small: &set_small set-small: &set_small
proxies: proxies:
@@ -852,7 +882,7 @@ proxy-groups:
- PASS - PASS
- REJECT-DROP - REJECT-DROP
- ▣ UDP Ready - ▣ UDP Ready
<<: [*group_selector, *set_basic, *health_check] <<: [*group_selector, *health_check]
- name: Akamai - name: Akamai
<<: [*set_basic, *group_selector_hidden, *health_check] <<: [*set_basic, *group_selector_hidden, *health_check]
@@ -1395,7 +1425,13 @@ rules:
- GEOSITE,PRIVATE,DIRECT - GEOSITE,PRIVATE,DIRECT
- GEOIP,PRIVATE,DIRECT,no-resolve - GEOIP,PRIVATE,DIRECT,no-resolve
# ————————————————— fool-proof russian first ———————————————— # —————————————————————————————————————————————————————————
- OR,((RULE-SET,📦 RU Services Manual),(GEOIP,RU),(GEOSITE,category-ru)),RU Services
# ————————————————————— source ip match ————————————————————— # ————————————————————————————————————————————————————————— # ————————————————————— source ip match ————————————————————— # —————————————————————————————————————————————————————————
- RULE-SET,🛝 Testzone A,Testzone 🅰
- RULE-SET,🛝 Testzone B,Testzone 🅱
- RULE-SET,🛜 VLAN10,VLAN10 - RULE-SET,🛜 VLAN10,VLAN10
- RULE-SET,🛜 VLAN20,VLAN10 - RULE-SET,🛜 VLAN20,VLAN10
- RULE-SET,🛜 VLAN30,VLAN20 - RULE-SET,🛜 VLAN30,VLAN20
@@ -1406,8 +1442,6 @@ rules:
- RULE-SET,🛜 Webway Unprivileged,Webway Unprivileged Clients - RULE-SET,🛜 Webway Unprivileged,Webway Unprivileged Clients
- RULE-SET,🛜 Smart TV Clients,Smart TV Clients - RULE-SET,🛜 Smart TV Clients,Smart TV Clients
- RULE-SET,🛜 Torrent Clients,Torrent Clients - RULE-SET,🛜 Torrent Clients,Torrent Clients
- RULE-SET,🛝 Testzone A,Testzone 🅰
- RULE-SET,🛝 Testzone B,Testzone 🅱
# —————————————————————— quick ip check ————————————————————— # ————————————————————————————————————————————————————————— # —————————————————————— quick ip check ————————————————————— # —————————————————————————————————————————————————————————
- DOMAIN-SUFFIX,upaiyun.com,Route Alpha - DOMAIN-SUFFIX,upaiyun.com,Route Alpha
@@ -1418,9 +1452,9 @@ rules:
- DOMAIN-SUFFIX,whatismyipaddress.com,Personal 2 - DOMAIN-SUFFIX,whatismyipaddress.com,Personal 2
# ———————————————————————— udp catcher —————————————————————— # ————————————————————————————————————————————————————————— # ———————————————————————— udp catcher —————————————————————— # —————————————————————————————————————————————————————————
- AND((NETWORK,udp),(RULE-SET,Telegram)),UDP Catcher - AND,((NETWORK,udp),(RULE-SET,Telegram)),UDP Catcher
- AND((NETWORK,udp),(RULE-SET,Discord)),UDP Catcher - AND,((NETWORK,udp),(RULE-SET,Discord)),UDP Catcher
- AND((NETWORK,udp),(RULE-SET,WhatsApp)),UDP Catcher - AND,((NETWORK,udp),(RULE-SET,WhatsApp)),UDP Catcher
# ————————————————————— by private lists ———————————————————— # ————————————————————————————————————————————————————————— # ————————————————————— by private lists ———————————————————— # —————————————————————————————————————————————————————————
- RULE-SET,📃 Persistent Proxy,Persistent Proxy - RULE-SET,📃 Persistent Proxy,Persistent Proxy
@@ -1509,10 +1543,8 @@ rules:
- RULE-SET,🚫 Adblock List GL,Adblock 🗺️ - RULE-SET,🚫 Adblock List GL,Adblock 🗺️
# ———————————— by service group (manual country) ———————————— # ————————————————————————————————————————————————————————— # ———————————— by service group (manual country) ———————————— # —————————————————————————————————————————————————————————
- OR,((RULE-SET,📦 RU Services Manual),(GEOIP,RU),(GEOSITE,category-ru)),RU Services - OR,((RULE-SET,📦 US Services Manual),(GEOIP,US)),US Services
- OR,((RULE-SET,📦 US Services Manual),(GEOIP,US),US Services - OR,((RULE-SET,📦 CN Services Manual),(GEOIP,US)),CN Services
- OR,((RULE-SET,📦 CN Services Manual),(GEOIP,US),CN Services
- OR,((RULE-SET,📦 EU Services Manual),(GEOIP,UK),EU Services
- MATCH,FALLBACK - MATCH,FALLBACK

View File

@@ -0,0 +1,10 @@
payload:
- SRC-IP-CIDR,192.168.14.1/24
- SRC-IP-CIDR,192.168.24.1/24
- SRC-IP-CIDR,192.168.34.1/24
- SRC-IP-CIDR,192.168.44.5/24
- SRC-IP-CIDR,192.168.54.5/24
- SRC-IP-CIDR,192.168.64.5/24
- SRC-IP-CIDR,192.168.74.5/24
- SRC-IP-CIDR,192.168.84.5/24
- SRC-IP-CIDR,192.168.94.5/24