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

@@ -19,16 +19,16 @@ bind-address: "*"
external-controller: 0.0.0.0:9090
external-controller-tls: 0.0.0.0:9443
secret: '314159271828'
external-ui: "/usr/share/openclash/ui"
# external-ui: "/usr/share/openclash/ui"
# ——————————————————————————————————————————————————————— GENERAL ———————————————————————————————————————————————————————
mode: rule
ipv6: false
unified-delay: true
log-level: info
disable-keep-alive: true
# keep-alive-interval: 15
# keep-alive-idle: 15
disable-keep-alive: false
keep-alive-interval: 15
keep-alive-idle: 600
find-process-mode: "off" # Options: always, strict, off
# 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.
@@ -61,7 +61,7 @@ hosts:
'ruler.shamanlanding.org': '192.168.10.4'
'scriptorium.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'
'zashboard.shamanlanding.org': '192.168.10.4'
@@ -187,12 +187,12 @@ dns:
# nameserver-policy:
# '+.shamanlanding.org': '192.168.10.4'
# direct-nameserver-follow-policy: true
# fallback:
fallback:
# - 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://cloudflare-dns.com/dns-query # Fallback DNS Cloudfalre
# - 1.1.1.1
# - 1.0.0.1
- 1.1.1.1
- 1.0.0.1
# - 8.8.8.8
# - 8.8.4.4
# - 9.9.9.9
@@ -368,11 +368,41 @@ dns:
exclude-filter: "(?i)nop2p"
filter-udp: &filter_udp
filter: "(?i)wg|wireguard"
exclude-filter: ""
filter-cun: &filter_cun
filter: "(?i)SS|8443"
filter: "(?i)wg|wireguard|ss"
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 ————————————————————————————————— #
set-small: &set_small
proxies:
@@ -852,7 +882,7 @@ proxy-groups:
- PASS
- REJECT-DROP
- ▣ UDP Ready
<<: [*group_selector, *set_basic, *health_check]
<<: [*group_selector, *health_check]
- name: Akamai
<<: [*set_basic, *group_selector_hidden, *health_check]
@@ -1395,7 +1425,13 @@ rules:
- GEOSITE,PRIVATE,DIRECT
- 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 ————————————————————— # —————————————————————————————————————————————————————————
- RULE-SET,🛝 Testzone A,Testzone 🅰
- RULE-SET,🛝 Testzone B,Testzone 🅱
- RULE-SET,🛜 VLAN10,VLAN10
- RULE-SET,🛜 VLAN20,VLAN10
- RULE-SET,🛜 VLAN30,VLAN20
@@ -1406,8 +1442,6 @@ rules:
- RULE-SET,🛜 Webway Unprivileged,Webway Unprivileged Clients
- RULE-SET,🛜 Smart TV Clients,Smart TV Clients
- RULE-SET,🛜 Torrent Clients,Torrent Clients
- RULE-SET,🛝 Testzone A,Testzone 🅰
- RULE-SET,🛝 Testzone B,Testzone 🅱
# —————————————————————— quick ip check ————————————————————— # —————————————————————————————————————————————————————————
- DOMAIN-SUFFIX,upaiyun.com,Route Alpha
@@ -1418,9 +1452,9 @@ rules:
- DOMAIN-SUFFIX,whatismyipaddress.com,Personal 2
# ———————————————————————— udp catcher —————————————————————— # —————————————————————————————————————————————————————————
- AND((NETWORK,udp),(RULE-SET,Telegram)),UDP Catcher
- AND((NETWORK,udp),(RULE-SET,Discord)),UDP Catcher
- AND((NETWORK,udp),(RULE-SET,WhatsApp)),UDP Catcher
- AND,((NETWORK,udp),(RULE-SET,Telegram)),UDP Catcher
- AND,((NETWORK,udp),(RULE-SET,Discord)),UDP Catcher
- AND,((NETWORK,udp),(RULE-SET,WhatsApp)),UDP Catcher
# ————————————————————— by private lists ———————————————————— # —————————————————————————————————————————————————————————
- RULE-SET,📃 Persistent Proxy,Persistent Proxy
@@ -1509,10 +1543,8 @@ rules:
- RULE-SET,🚫 Adblock List GL,Adblock 🗺️
# ———————————— 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,📦 CN Services Manual),(GEOIP,US),CN Services
- OR,((RULE-SET,📦 EU Services Manual),(GEOIP,UK),EU Services
- OR,((RULE-SET,📦 US Services Manual),(GEOIP,US)),US Services
- OR,((RULE-SET,📦 CN Services Manual),(GEOIP,US)),CN Services
- MATCH,FALLBACK