This commit is contained in:
2025-10-13 21:55:36 +03:00
parent 9c1935985a
commit 672df72de2
9 changed files with 2121 additions and 22 deletions

View File

@@ -0,0 +1,316 @@
# notice: update proxy provider in the `proxy-providers` section and `use` section.
# ref 1: https://wiki.metacubex.one/example/#meta
# ref 2: https://github.com/MetaCubeX/mihomo/blob/Alpha/docs/config.yaml
# ------------------------- templates -------------------------
pr:
&pr {
type: select,
proxies: [NODE-SELECT, R-RU, R-NL, R-GB, R-US, R-FR, R-DE, R-FI, R-IT, R-OTHER, ALL-NODES, AUTO-SELECT, DIRECT]
}
p: &p
type: http
interval: 3600
health-check:
enable: true
url: https://cp.cloudflare.com/generate_204
expected-status: 204
interval: 300
timeout: 1000
tolerance: 100
# ------------------------- proxy provider and config -------------------------
use: &use
type: url-test # or select
use:
- VLESS
- VIARU
proxy-providers:
VLESS:
<<: *p
type: http
url: ВСТАВЬТЕ СЫЫЛКУ НА ВАШУ ПОДПИСКУ ВЕЗДЕХОД
path: ./vless.yaml
override:
additional-prefix: "[VLESS] "
VIARU:
<<: *p
type: file
exclude-filter: "(?i)🇷🇺|via"
path: ./vless.yaml
override:
dialer-proxy: R-RU
additional-prefix: "[VIARU] "
# ------------------------- rule provider config -------------------------
rule-providers:
# https://github.com/legiz-ru/mihomo-rule-sets
oisd_big:
type: http
behavior: domain
format: mrs
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/big.mrs
path: ./oisd/big.mrs
interval: 86400
oisd_small:
type: http
behavior: domain
format: mrs
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/small.mrs
path: ./oisd/small.mrs
interval: 86400
torrent-websites:
type: http
behavior: domain
format: mrs
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/torrent-websites.mrs
path: ./rule-sets/torrent-websites.mrs
interval: 86400
torrent-trackers:
type: http
behavior: domain
format: mrs
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/torrent-trackers.mrs
path: ./rule-sets/torrent-trackers.mrs
interval: 86400
ru-bundle:
type: http
behavior: domain
format: mrs
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/ru-bundle/rule.mrs
path: ./ru-bundle/rule.mrs
interval: 86400
# https://github.com/REIJI007/AdBlock_Rule_For_Clash
adblock:
type: http
behavior: domain
format: yaml
url: https://raw.githubusercontent.com/REIJI007/AdBlock_Rule_For_Clash/main/adblock_reject.yaml
path: ./adblock_reject.yaml
interval: 86400
# ------------------------- system config -------------------------
allow-lan: true
bind-address: '*'
lan-allowed-ips:
- 0.0.0.0/0
- ::/0
authentication:
- "Mihomo:Mihomo"
skip-auth-prefixes:
- 192.168.1.0/24
mode: rule
log-level: info
ipv6: true
keep-alive-interval: 15
keep-alive-idle: 15
disable-keep-alive: true
find-process-mode: strict
external-controller: 0.0.0.0:9090
external-controller-cors:
allow-origins:
- '*'
allow-private-network: true
# external-controller-tls: 0.0.0.0:9443
external-doh-server: /dns-query
secret: 'Mihomo'
external-ui: ./ui
external-ui-name: ui-xd
external-ui-url: https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip
profile:
store-selected: true
store-fake-ip: true
unified-delay: true
tcp-concurrent: true
# routing-mark: 6666
# tls:
# certificate: ./cert.pem
# private-key: ./key.key
global-client-fingerprint: random
port: 7890
socks-port: 7891
mixed-port: 7892
redir-port: 7893
tproxy-port: 7894
# ------------------------- dns and network config -------------------------
dns:
enable: true
cache-algorithm: arc
prefer-h3: true
use-hosts: true
use-system-hosts: true
respect-rules: false
listen: 0.0.0.0:1053
ipv6: true
default-nameserver:
- 94.140.14.14
- 94.140.15.15
- 1.1.1.2
- 1.0.0.2
- '[2a10:50c0::ad1:ff]'
- '[2a10:50c0::ad2:ff]'
- '[2606:4700:4700::1112]'
- '[2606:4700:4700::1002]'
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter-mode: blacklist
fake-ip-filter:
- '*.lan'
- '+.local'
nameserver-policy:
'geosite:private':
- https://dns.adguard-dns.com/dns-query
- https://security.cloudflare-dns.com/dns-query
- quic://dns.adguard.com
- tls://dns.adguard-dns.com
- tls://security.cloudflare-dns.com
'geosite:!private':
- https://dns.adguard-dns.com/dns-query
- https://security.cloudflare-dns.com/dns-query
- quic://dns.adguard.com
- tls://dns.adguard-dns.com
- tls://security.cloudflare-dns.com
nameserver:
- https://dns.adguard-dns.com/dns-query
- https://security.cloudflare-dns.com/dns-query
- quic://dns.adguard.com
- tls://dns.adguard-dns.com
- tls://security.cloudflare-dns.com
fallback:
- https://dns.adguard-dns.com/dns-query
- https://security.cloudflare-dns.com/dns-query
- quic://dns.adguard.com
- tls://dns.adguard-dns.com
- tls://security.cloudflare-dns.com
proxy-server-nameserver:
- https://dns.adguard-dns.com/dns-query
- https://security.cloudflare-dns.com/dns-query
- quic://dns.adguard.com
- tls://dns.adguard-dns.com
- tls://security.cloudflare-dns.com
direct-nameserver:
- https://dns.adguard-dns.com/dns-query
- https://security.cloudflare-dns.com/dns-query
- quic://dns.adguard.com
- tls://dns.adguard-dns.com
- tls://security.cloudflare-dns.com
direct-nameserver-follow-policy: true
fallback-filter:
geoip: true
geoip-code: RU
geosite:
- private
ipcidr:
- 240.0.0.0/4
domain:
- '+.google.com'
- '+.youtube.com'
sniffer:
enable: true
force-dns-mapping: true
parse-pure-ip: true
override-destination: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
# force-domain:
# - +.v2ex.com
# skip-domain:
# - Mijia Cloud
# skip-src-address:
# - 192.168.0.3/32
# skip-dst-address:
# - 192.168.0.3/32
tun:
enable: true
stack: mixed
auto-route: true
auto-redirect: true
auto-detect-interface: true
dns-hijack:
- any:53
- tcp://any:53
device: Mihomo
mtu: 1420
strict-route: true
# gso: true
# gso-max-size: 65536
# udp-timeout: 300
# iproute2-table-index: 2022
# iproute2-rule-index: 9000
# ------------------------- geo data config -------------------------
# Source https://github.com/runetfreedom/russia-v2ray-rules-dat
geodata-mode: true
geodata-loader: memconservative
geo-auto-update: true
geo-update-interval: 24
geox-url:
geoip: https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/geoip.dat
geosite: https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/geosite.dat
global-ua: clash.meta
etag-support: true
# ------------------------- proxy groups and rules -------------------------
proxy-groups:
- { name: AUTO-SELECT, <<: *use, type: url-test , tolerance: 2}
- { name: NODE-SELECT, type: select, proxies: [ALL-NODES, AUTO-SELECT, R-RU, R-NL, R-GB, R-US, R-FR, R-DE, R-FI, R-IT, R-OTHER, DIRECT] }
- { name: ALL-NODES, <<: *use }
- { name: FALLBACK, <<: *use, type: fallback }
- { name: ANTI-AD, type: select, proxies: [REJECT, DIRECT, NODE-SELECT] }
- { name: Torrents, <<: *use, filter: "(?i)P2P|Torrents", exclude-filter: "(?i)noP2P" }
- { name: Cloudflare, <<: *pr }
- { name: Google, <<: *pr }
- { name: Gemini, <<: *use, filter: "(?i)Gemini" }
- { name: YouTube, <<: *use, filter: "(?i)YT" }
- { name: Telegram, <<: *pr }
# regions
# - { name: R-SELECT, <<: *pr, proxies: [DIRECT, NODE-SELECT, R-RU, R-NL, R-GB, R-US, R-FR, R-DE, R-FI, R-IT, R-OTHER, ALL-NODES, AUTO-SELECT] }
- { name: RU-BLOCKED, <<: *pr, proxies: [R-NL, R-GB, R-US, R-FR, R-DE, R-FI, R-IT, R-OTHER] }
- { name: R-RU, <<: *use, filter: "(?i)🇷🇺" }
- { name: R-NL, <<: *use, filter: "(?i)🇳🇱" }
- { name: R-GB, <<: *use, filter: "(?i)🇬🇧" }
- { name: R-US, <<: *use, filter: "(?i)🇺🇸", exclude-filter: "(?i)Gemini" }
- { name: R-FR, <<: *use, filter: "(?i)🇫🇷" }
- { name: R-DE, <<: *use, filter: "(?i)🇩🇪" }
- { name: R-FI, <<: *use, filter: "(?i)🇫🇮" }
- { name: R-IT, <<: *use, filter: "(?i)🇮🇹" }
- { name: R-OTHER, <<: *use, filter: "(?i)🇹🇷|🇮🇳|🇭🇰 🇪🇪" }
rules:
- GEOSITE,PRIVATE,DIRECT
- GEOIP,PRIVATE,DIRECT,no-resolve
- OR,((GEOSITE,category-ads-all),(GEOSITE,google-ads),(GEOSITE,yandex),(GEOIP,yandex),(GEOSITE,vk),(GEOSITE,mailru),(GEOSITE,win-spy),(GEOSITE,win-update),(GEOSITE,win-extra),(GEOIP,UA),(DOMAIN-SUFFIX,ua),(RULE-SET,oisd_big),(RULE-SET,oisd_small),(RULE-SET,adblock)),ANTI-AD
- OR,((RULE-SET,torrent-websites),(RULE-SET,torrent-trackers)),Torrents
- OR,((GEOSITE,cloudflare),(GEOIP,cloudflare)),Cloudflare
- GEOSITE,youtube,YouTube
- GEOSITE,google-gemini,Gemini
- OR,((GEOSITE,google),(GEOSITE,google),(GEOSITE,google-deepmind),(GEOSITE,google-play),(GEOSITE,google-registry),(GEOSITE,google-registry-tld),(GEOSITE,google-scholar),(GEOSITE,google-trust-services),(GEOSITE,googlefcm)),Google
- OR,((GEOSITE,telegram),(GEOIP,telegram)),Telegram
- OR,((GEOSITE,ru-blocked),(GEOIP,ru-blocked),(GEOIP,ru-blocked-community),(GEOSITE,refilter),(GEOIP,re-filter),(GEOSITE,antifilter-download-community),(RULE-SET,ru-bundle)),RU-BLOCKED
- OR,((GEOSITE,ru-available-only-inside),(GEOIP,RU),(DOMAIN-SUFFIX,ru),(DOMAIN-SUFFIX,su),(DOMAIN-SUFFIX,xn--p1ai)),R-RU
- MATCH,NODE-SELECT

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,557 @@
# —————————————————————————————————— local proxy —————————————————————————————————
port: 7890
socks-port: 7891
redir-port: 7892
tproxy-port: 7893
mixed-port: 7894
allow-lan: true
bind-address: "*"
# authentication of local SOCKS5/HTTP(S) server
# authentication:
# - "user1:pass1"
# —————————————————————————————— external controller —————————————————————————————
external-controller: 0.0.0.0:9090
secret: '314159271828'
external-ui: "/etc/clash/ui/"
# ———————————————————————————————————— general ———————————————————————————————————
mode: rule
ipv6: true
unified-delay: true
log-level: info
disable-keep-alive: true
interface-name: eth0
keep-alive-interval: 15
keep-alive-idle: 600
# ————————————————————————————————————— hosts ————————————————————————————————————
hosts:
# ———————————————————————————————————— profile ———————————————————————————————————
profile:
store-selected: true
store-fake-ip: true
# ———————————————————————————————————— sniffer ———————————————————————————————————
sniffer:
enable: true
parse-pure-ip: true
override-destination: true
sniff:
QUIC:
ports:
- 443
TLS:
ports:
- 443
- 8443
HTTP:
ports:
- 80
- 8080-8880
override-destination: true
force-domain:
- "+.netflix.com"
- "+.nflxvideo.net"
- "+.amazonaws.com"
- "+.media.dssott.com"
skip-domain:
- "+.apple.com"
- Mijia Cloud
- dlg.io.mi.com
- "+.oray.com"
- "+.sunlogin.net"
- "+.push.apple.com"
# —————————————————————————————————————— dns —————————————————————————————————————
dns:
enable: true
prefer-h3: true
ipv6: true
listen: 0.0.0.0:53
default-nameserver:
- 114.114.114.114
- 8.8.8.8
enhanced-mode: fake-ip
use-hosts: false
fake-ip-range: 198.18.0.1/16
fake-ip-filter-mode: blacklist
fake-ip-filter:
# ———————————————————— self-hosted domains ———————————————————
- '*.lan'
- '+.dts'
- '+.webway.dts'
- '+.netbird.selfhosted'
- '+.shamanlanding.org'
nameserver:
- https://purpose.shamanlanding.org/dns-query/dts-pontifex
- https://d.adguard-dns.com/dns-query/5ffb7de2
fallback:
- https://dns.google/dns-query
- https://cloudflare-dns.com/dns-query
# If IP addresses resolved with servers in `nameservers` are in the specified
# subnets below, they are considered invalid and results from `fallback`
# servers are used instead.
#
# IP address resolved with servers in `nameserver` is used when
# `fallback-filter.geoip` is true and when GEOIP of the IP address is `CN`.
#
# If `fallback-filter.geoip` is false, results from `nameserver` nameservers
# are always used if not match `fallback-filter.ipcidr`.
#
# This is a countermeasure against DNS pollution attacks.
# fallback-filter:
# geoip: true
# geoip-code: CN
# ipcidr:
# - 240.0.0.0/4
# domain:
# - '+.google.com'
# - '+.facebook.com'
# - '+.youtube.com'
# Lookup domains via specific nameservers
# nameserver-policy:
# 'www.baidu.com': '114.114.114.114'
# '+.internal.crop.com': '10.0.0.1'
# —————————————————————————————————————— tun —————————————————————————————————————
# tun:
# enable: true
# stack: mixed
# device: utun
# auto-route: true
# auto-detect-interface: true
# dns-hijack:
# - any:53
# ————————————————————————————————————— macro ————————————————————————————————————
health-check-for-providers: &health_check_for_providers
enable: true
interval: 600
url: https://www.gstatic.com/generate_204
health-check-for-selectors: &health_check_for_selectors
url: https://cp.cloudflare.com/generate_204
interval: 300
health-check-for-load-balancers: &health_check_for_load_balancers
url: https://cp.cloudflare.com/generate_204
interval: 300
default-rule-provider-config: &default_rule_provider_config
type: http
behavior: classical
interval: 86400
p-vpn-list_balancer: &p_vpn_list_balancer
type: load-balance
strategy: sticky-sessions
use:
- own
p-vpn-list_selector: &p_vpn_list_selector
type: select
use:
- own
np-vpn-list_url_test: &np_vpn_list_url_test
type: url-test
tolerance: 50
use:
- xfizz
- arza-1
- Un1c4d3
np-vpn-list_balancer: &np_vpn_list_balancer
type: load-balance
strategy: sticky-sessions
use:
- xfizz
- arza-1
- Un1c4d3
np-vpn-list_selector: &np_vpn_list_selector
type: select
use:
- xfizz
- arza-1
- Un1c4d3
default-private-proxies-lb-selector: &default_private_proxies_lb_selector
type: select
proxies:
- ⚖️ Personal VPN
# ————————————————————————————————— proxies list —————————————————————————————————
proxies:
# ——————————————————— private vpn services ———————————————————
# ———————————————————————————————— proxy providers ———————————————————————————————
proxy-providers:
# ——————————————————— private vpn services ———————————————————
#https://dexterity.shamanlanding.org/M4eh2gd/first
own:
type: http
url: "https://dexterity.shamanlanding.org/M4eh2gd/first"
interval: 3600
proxy: DIRECT
path: "./proxy_provider/own-1.txt"
exclude-filter: "(?i)xhttp"
override:
additional-prefix: "🔆 "
additional-suffix: ""
health-check:
<<: *health_check_for_providers
# ——————————————————— non-personal services ——————————————————
#https://xfizz.cc/sublink/XzU0rRmBeOZtIPprW46f2ieNFcF8PJw9?name=1Y:2213
xfizz:
type: http
url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/fizz-vpn.txt"
interval: 3600
proxy: 🔢 Personal VPN
path: "./proxy_provider/fizz-vpn.txt"
exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:"
override:
additional-prefix: ""
additional-suffix: "•𝓯"
health-check:
<<: *health_check_for_providers
#https://arza.top/sub/dGZjNHVlLDE3MzIzMDQ2MTYowA-efEYOh
arza-1:
type: http
url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/arza.txt"
interval: 3600
proxy: 🔢 Personal VPN
path: "./proxy_provider/arza.txt"
exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:"
override:
additional-prefix: ""
additional-suffix: "•𝓪"
health-check:
<<: *health_check_for_providers
#https://subs.un1c4d3.ru:52478/sub/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJQTF9WTFNTX0FMTDIxMCIsImFjY2VzcyI6InN1YnNjcmlwdGlvbiIsImlhdCI6MTczNzgwMDQwOH0.mPr4BSMMpo1mrlZPvB34IRGcn2mHOZetHXaZyebirT4
Un1c4d3:
type: http
url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/Un1c4d3.txt"
interval: 3600
proxy: DIRECT
path: "./proxy_provider/Un1c4d3.txt"
exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:"
override:
additional-prefix: ""
additional-suffix: "•𝓾"
health-check:
<<: *health_check_for_providers
# ————————————————————————————————— proxy groups —————————————————————————————————
proxy-groups:
# ————————————————————————— fallback —————————————————————————
- name: "Automatic Fallback Route"
type: fallback
proxies:
- DIRECT
hidden: true
url: 'https://cp.cloudflare.com/generate_204'
interval: 300
# —————————————— load balancers for personal vpn —————————————
- name: ⚖️ Personal VPN
disable-udp: false
<<: [*p_vpn_list_balancer, *health_check_for_load_balancers]
# —————————————— url tested for non-personal vpn —————————————
- name: ⌚ Europe 🌍
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland"
<<: [*np_vpn_list_url_test, *health_check_for_load_balancers]
# ———————————— load balancers for non-personal vpn ———————————
- name: ⚖️ Asia 🌍
disable-udp: false
filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
hidden: true
- name: ⚖️ Europe 🌍
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
hidden: true
- name: ⚖️ USA 🌍
disable-udp: false
filter: "(?i)USA|Canada"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
hidden: true
- name: ⚖️ High Bandwidth
disable-udp: false
filter: "(?i)10 Gbit"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
hidden: true
- name: ⚖️ Russian 🌍
disable-udp: false
filter: "(?i)Russia"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
hidden: true
- name: ⚖️ Fast Servers
disable-udp: false
filter: "(?i)Low Ping"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
hidden: true
# ————————————— global selectors for personal vpn ————————————
- name: 🔢 Personal VPN
disable-udp: false
<<: [*p_vpn_list_selector, *health_check_for_selectors]
# ——————————— global selectors for non-personal vpn ——————————
- name: 🔢 Asia 🌍
disable-udp: false
filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Europe 🌍
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Moldova"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Kazakhstan 🌍
disable-udp: false
filter: "(?i)Kazakhstan|KZ"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Russian 🌍
disable-udp: false
filter: "(?i)Russia"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 USA 🌍
disable-udp: false
filter: "(?i)USA|Canada"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 All non-personal
disable-udp: false
filter: ""
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Fast Servers
disable-udp: false
filter: "(?i)10 Gbit|10Gbit"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Gaming
disable-udp: false
filter: "(?i)game"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Torrent Compliant
disable-udp: false
filter: "(?i)torrent"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 TOR Compliant
disable-udp: false
filter: "(?i)TOR✅"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
# ——————— selectors for local rules ——————
- name: ✳️ YouTube
type: select
proxies:
- 🔢 Russian 🌍
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Europe 🌍
- ⚖️ Russian 🌍
- ⚖️ Personal VPN
<<: *health_check_for_selectors
- name: ✳️ Adaptaion
type: select
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Fast Servers
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
- name: ✳️ Antifilter
type: select
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Fast Servers
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
- name: ✳️ Discord
type: select
disable-udp: false
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Fast Servers
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
- name: ✳️ USA Services
type: select
disable-udp: false
proxies:
- 🔢 USA 🌍
- 🔢 Personal VPN
- ⚖️ USA 🌍
- ⚖️ Personal VPN
<<: *health_check_for_selectors
- name: ✳️ Notion
type: select
proxies:
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
- name: ✳️ AI Stuff (Western)
type: select
proxies:
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
- name: ✳️ Testzone A
type: select
proxies:
- 🔢 All non-personal
- 🔢 Russian 🌍
- 🔢 Europe 🌍
- 🔢 USA 🌍
- 🔢 Asia 🌍
- 🔢 Kazakhstan 🌍
- 🔢 Personal VPN
- ⌚ Europe 🌍
- ⚖️ Russian 🌍
- ⚖️ Europe 🌍
- ⚖️ USA 🌍
- ⚖️ Asia 🌍
- ⚖️ Fast Servers
- ⚖️ Personal VPN
<<: *health_check_for_selectors
# ———————————————————————————————— rule providers ————————————————————————————————
rule-providers:
# ———————————————————————— gitea lists ———————————————————————
AI Stuff (Western):
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/ai-stuff-western.yaml # AI Stuff
path: "./rule_provider/ai-stuff-western.yaml"
<<: *default_rule_provider_config
Discord:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/discord.yaml # AI Stuff
path: "./rule_provider/discord.yaml"
<<: *default_rule_provider_config
Notion:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/notion.yaml # Notion
path: "./rule_provider/notion.yaml"
<<: *default_rule_provider_config
Youtube:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/youtube.yaml # Youtube
path: "./rule_provider/youtube.yaml"
<<: *default_rule_provider_config
Testzone A:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/testzone-a.yaml
path: "./rule_provider/testzone-a.yaml"
<<: *default_rule_provider_config
USA Services:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/usa-services.yaml
path: "./rule_provider/usa-services.yaml"
<<: *default_rule_provider_config
# —————————————————————— adaptaion lists —————————————————————
General Direct Domain List:
url: http://purpose.shamanlanding.org:9999/direct-domain.yaml
path: "./rule_provider/direct-domain.yaml"
<<: *default_rule_provider_config
General Direct IP List:
url: http://purpose.shamanlanding.org:9999/direct-ip.yaml
path: "./rule_provider/direct-ip.yaml"
<<: *default_rule_provider_config
General Proxy Domain List:
url: http://purpose.shamanlanding.org:9999/proxy-domain.yaml
path: "./rule_provider/adaptation-domain-proxy.yaml"
<<: *default_rule_provider_config
General Proxy IP List:
url: http://purpose.shamanlanding.org:9999/proxy-ip.yaml
path: "./rule_provider/adaptation-ip-proxy.yaml"
<<: *default_rule_provider_config
# ————————————————— antifilter community list ————————————————
Antifilter IP List:
url: http://purpose.shamanlanding.org:9999/antifilter-ip.yaml
path: "./rule_provider/antifilter-ip-proxy.yaml"
<<: *default_rule_provider_config
Antifilter Community IP List:
url: http://purpose.shamanlanding.org:9999/antifilter-community-ip.yaml
path: "./rule_provider/antifilter-community-ip-proxy.yaml"
<<: *default_rule_provider_config
Antifilter Community Domain List:
url: http://purpose.shamanlanding.org:9999/antifilter-community-domain.yaml
path: "./rule_provider/antifilter-domain-proxy.yaml"
<<: *default_rule_provider_config
# ————————————————————————————————————— rules ————————————————————————————————————
rules:
# —————————————————————— by application ——————————————————————
- RULE-SET,Youtube,✳️ YouTube
- RULE-SET,Notion,✳️ Notion
- RULE-SET,Testzone A,✳️ Testzone A
- RULE-SET,AI Stuff (Western),✳️ Testzone A
- RULE-SET,Discord,✳️ Discord
- RULE-SET,USA Services,✳️ USA Services
# —————————————————————— adaptaion lists —————————————————————
- RULE-SET,General Direct Domain List,DIRECT
- RULE-SET,General Direct IP List,DIRECT
- RULE-SET,General Proxy Domain List,✳️ Adaptaion
- RULE-SET,General Proxy IP List,✳️ Adaptaion
- RULE-SET,Antifilter IP List,✳️ Antifilter
- RULE-SET,Antifilter Community IP List,✳️ Antifilter
- RULE-SET,Antifilter Community Domain List,✳️ Antifilter
- MATCH,DIRECT

View File

@@ -0,0 +1,551 @@
# —————————————————————————————————— local proxy —————————————————————————————————
port: 7890
socks-port: 7891
redir-port: 7892
tproxy-port: 7893
mixed-port: 7894
allow-lan: true
bind-address: "*"
# authentication of local SOCKS5/HTTP(S) server
# authentication:
# - "user1:pass1"
# —————————————————————————————— external controller —————————————————————————————
external-controller: 0.0.0.0:9090
secret: '314159271828'
external-ui: "/etc/clash/ui/"
# ———————————————————————————————————— general ———————————————————————————————————
mode: rule
ipv6: true
unified-delay: true
log-level: info
disable-keep-alive: true
interface-name: eth0
keep-alive-interval: 15
keep-alive-idle: 600
# ————————————————————————————————————— hosts ————————————————————————————————————
hosts:
# ———————————————————————————————————— profile ———————————————————————————————————
profile:
store-selected: true
store-fake-ip: true
# ———————————————————————————————————— sniffer ———————————————————————————————————
sniffer:
enable: true
parse-pure-ip: true
override-destination: true
sniff:
QUIC:
ports:
- 443
TLS:
ports:
- 443
- 8443
HTTP:
ports:
- 80
- 8080-8880
override-destination: true
force-domain:
- "+.netflix.com"
- "+.nflxvideo.net"
- "+.amazonaws.com"
- "+.media.dssott.com"
skip-domain:
- "+.apple.com"
- Mijia Cloud
- dlg.io.mi.com
- "+.oray.com"
- "+.sunlogin.net"
- "+.push.apple.com"
# —————————————————————————————————————— dns —————————————————————————————————————
dns:
enable: true
prefer-h3: true
ipv6: true
listen: 0.0.0.0:53
default-nameserver:
- 114.114.114.114
- 8.8.8.8
enhanced-mode: fake-ip
use-hosts: false
fake-ip-range: 198.18.0.1/16
fake-ip-filter-mode: blacklist
fake-ip-filter:
# ———————————————————— self-hosted domains ———————————————————
- '*.lan'
- '+.dts'
- '+.webway.dts'
- '+.netbird.selfhosted'
- '+.shamanlanding.org'
nameserver:
- https://purpose.shamanlanding.org/dns-query/dts-pontifex
- https://d.adguard-dns.com/dns-query/5ffb7de2
fallback:
- https://dns.google/dns-query
- https://cloudflare-dns.com/dns-query
# If IP addresses resolved with servers in `nameservers` are in the specified
# subnets below, they are considered invalid and results from `fallback`
# servers are used instead.
#
# IP address resolved with servers in `nameserver` is used when
# `fallback-filter.geoip` is true and when GEOIP of the IP address is `CN`.
#
# If `fallback-filter.geoip` is false, results from `nameserver` nameservers
# are always used if not match `fallback-filter.ipcidr`.
#
# This is a countermeasure against DNS pollution attacks.
# fallback-filter:
# geoip: true
# geoip-code: CN
# ipcidr:
# - 240.0.0.0/4
# domain:
# - '+.google.com'
# - '+.facebook.com'
# - '+.youtube.com'
# Lookup domains via specific nameservers
# nameserver-policy:
# 'www.baidu.com': '114.114.114.114'
# '+.internal.crop.com': '10.0.0.1'
# —————————————————————————————————————— tun —————————————————————————————————————
tun:
enable: true
stack: mixed
device: utun
auto-route: true
auto-detect-interface: true
dns-hijack:
- any:53
# ————————————————————————————————————— macro ————————————————————————————————————
health-check-for-providers: &health_check_for_providers
enable: true
interval: 600
url: http://www.gstatic.com/generate_204
health-check-for-selectors: &health_check_for_selectors
url: https://cp.cloudflare.com/generate_204
interval: 300
health-check-for-load-balancers: &health_check_for_load_balancers
url: https://cp.cloudflare.com/generate_204
interval: 300
default-rule-provider-config: &default_rule_provider_config
type: http
behavior: classical
interval: 86400
p-vpn-list_balancer: &p_vpn_list_balancer
type: load-balance
strategy: sticky-sessions
use:
- own
p-vpn-list_selector: &p_vpn_list_selector
type: select
use:
- own
np-vpn-list_url_test: &np_vpn_list_url_test
type: url-test
tolerance: 50
use:
- xfizz
- arza-1
- Un1c4d3
np-vpn-list_balancer: &np_vpn_list_balancer
type: load-balance
strategy: sticky-sessions
use:
- xfizz
- arza-1
- Un1c4d3
np-vpn-list_selector: &np_vpn_list_selector
type: select
use:
- xfizz
- arza-1
- Un1c4d3
default-private-proxies-lb-selector: &default_private_proxies_lb_selector
type: select
proxies:
- ⚖️ Personal VPN
# ————————————————————————————————— proxies list —————————————————————————————————
proxies:
# ——————————————————— private vpn services ———————————————————
# ———————————————————————————————— proxy providers ———————————————————————————————
proxy-providers:
# ——————————————————— private vpn services ———————————————————
#https://dexterity.shamanlanding.org/M4eh2gd/first
own:
type: http
url: "https://dexterity.shamanlanding.org/M4eh2gd/first"
interval: 3600
proxy: DIRECT
path: "./proxy_provider/own-1.txt"
exclude-filter: "(?i)xhttp"
override:
additional-prefix: "🔆 "
additional-suffix: ""
health-check:
<<: *health_check_for_providers
# ——————————————————— non-personal services ——————————————————
#https://xfizz.cc/sublink/XzU0rRmBeOZtIPprW46f2ieNFcF8PJw9?name=1Y:2213
xfizz:
type: http
url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/fizz-vpn.txt"
interval: 3600
proxy: 🔢 Personal VPN
path: "./proxy_provider/fizz-vpn.txt"
exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:"
override:
additional-prefix: ""
additional-suffix: "•𝓯"
health-check:
<<: *health_check_for_providers
#https://arza.top/sub/dGZjNHVlLDE3MzIzMDQ2MTYowA-efEYOh
arza-1:
type: http
url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/arza.txt"
interval: 3600
proxy: 🔢 Personal VPN
path: "./proxy_provider/arza.txt"
exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:"
override:
additional-prefix: ""
additional-suffix: "•𝓪"
health-check:
<<: *health_check_for_providers
#https://subs.un1c4d3.ru:52478/sub/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJQTF9WTFNTX0FMTDIxMCIsImFjY2VzcyI6InN1YnNjcmlwdGlvbiIsImlhdCI6MTczNzgwMDQwOH0.mPr4BSMMpo1mrlZPvB34IRGcn2mHOZetHXaZyebirT4
Un1c4d3:
type: http
url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/Un1c4d3.txt"
interval: 3600
proxy: DIRECT
path: "./proxy_provider/Un1c4d3.txt"
exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:"
override:
additional-prefix: ""
additional-suffix: "•𝓾"
health-check:
<<: *health_check_for_providers
# ————————————————————————————————— proxy groups —————————————————————————————————
proxy-groups:
# ————————————————————————— fallback —————————————————————————
- name: "Automatic Fallback Route"
type: fallback
proxies:
- DIRECT
hidden: true
url: 'https://cp.cloudflare.com/generate_204'
interval: 300
# —————————————— load balancers for personal vpn —————————————
- name: ⚖️ Personal VPN
disable-udp: false
<<: [*p_vpn_list_balancer, *health_check_for_load_balancers]
# —————————————— url tested for non-personal vpn —————————————
- name: ⌚ Europe
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland"
<<: [*np_vpn_list_url_test, *health_check_for_load_balancers]
# ———————————— load balancers for non-personal vpn ———————————
- name: ⚖️ Russian
disable-udp: false
filter: "(?i)Russia"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
- name: ⚖️ Europe
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
- name: ⚖️ USA
disable-udp: false
filter: "(?i)USA|Canada"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
- name: ⚖️ Asia
disable-udp: false
filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
- name: ⚖️ High Bandwidth
disable-udp: false
filter: "(?i)10 Gbit"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
- name: ⚖️ Fast Servers
disable-udp: false
filter: "(?i)Low Ping"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
# ————————————— global selectors for personal vpn ————————————
- name: 🔢 Personal VPN
disable-udp: false
<<: [*p_vpn_list_selector, *health_check_for_selectors]
# ——————————— global selectors for non-personal vpn ——————————
- name: 🔢 Russian
disable-udp: false
filter: "(?i)Russia"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Europe
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Moldova"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 USA
disable-udp: false
filter: "(?i)USA|Canada"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Asia
disable-udp: false
filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Kazakhstan
disable-udp: false
filter: "(?i)Kazakhstan|KZ"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 All non-personal
disable-udp: false
filter: ""
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Gaming
disable-udp: false
filter: "(?i)game"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Torrent Compliant
disable-udp: false
filter: "(?i)torrent"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 TOR Compliant
disable-udp: false
filter: "(?i)TOR✅"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Fast Servers
disable-udp: false
filter: "(?i)10 Gbit|10Gbit"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
# ——————— selectors for local rules ——————
- name: ✳️ YouTube
type: select
proxies:
- 🔢 Russian
- 🔢 Personal VPN
- 🔢 Europe
- ⌚ Europe
- ⚖️ Europe
- ⚖️ Russian
- ⚖️ Personal VPN
<<: *health_check_for_selectors
- name: ✳️ Adaptaion
type: select
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe
- ⌚ Europe
- ⚖️ Fast Servers
- ⚖️ Personal VPN
- ⚖️ Europe
<<: *health_check_for_selectors
- name: ✳️ Antifilter
type: select
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe
- ⌚ Europe
- ⚖️ Fast Servers
- ⚖️ Personal VPN
- ⚖️ Europe
<<: *health_check_for_selectors
- name: ✳️ Discord
icon: ./icon/png/discord.png
type: select
disable-udp: false
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe
- ⌚ Europe
- ⚖️ Fast Servers
- ⚖️ Personal VPN
- ⚖️ Europe
<<: *health_check_for_selectors
- name: ✳️ USA Services
type: select
disable-udp: false
proxies:
- 🔢 USA
- 🔢 Personal VPN
- ⚖️ USA
- ⚖️ Personal VPN
<<: *health_check_for_selectors
- name: ✳️ Notion
type: select
proxies:
- 🔢 Personal VPN
- 🔢 Europe
- ⌚ Europe
- ⚖️ Personal VPN
- ⚖️ Europe
<<: *health_check_for_selectors
- name: ✳️ AI Stuff (Western)
icon: ./icon/png/openai.png
type: select
proxies:
- 🔢 Personal VPN
- 🔢 Europe
- ⌚ Europe
- ⚖️ Personal VPN
- ⚖️ Europe
<<: *health_check_for_selectors
- name: ✳️ Testzone A
type: select
proxies:
- 🔢 All non-personal
- 🔢 Russian
- 🔢 Europe
- 🔢 USA
- 🔢 Asia
- 🔢 Kazakhstan
- 🔢 Personal VPN
- ⌚ Europe
- ⚖️ Russian
- ⚖️ Europe
- ⚖️ USA
- ⚖️ Asia
- ⚖️ Fast Servers
- ⚖️ Personal VPN
<<: *health_check_for_selectors
# ———————————————————————————————— rule providers ————————————————————————————————
rule-providers:
# ———————————————————————— gitea lists ———————————————————————
AI Stuff (Western):
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/ai-stuff-western.yaml # AI Stuff
path: "./rule_provider/ai-stuff-western.yaml"
<<: *default_rule_provider_config
Discord:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/discord.yaml # AI Stuff
path: "./rule_provider/discord.yaml"
<<: *default_rule_provider_config
Notion:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/notion.yaml # Notion
path: "./rule_provider/notion.yaml"
<<: *default_rule_provider_config
Youtube:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/youtube.yaml # Youtube
path: "./rule_provider/youtube.yaml"
<<: *default_rule_provider_config
Testzone A:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/testzone-a.yaml
path: "./rule_provider/testzone-a.yaml"
<<: *default_rule_provider_config
USA Services:
url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/usa-services.yaml
path: "./rule_provider/usa-services.yaml"
<<: *default_rule_provider_config
# —————————————————————— adaptaion lists —————————————————————
General Direct Domain List:
url: http://purpose.shamanlanding.org:9999/direct-domain.yaml
path: "./rule_provider/direct-domain.yaml"
<<: *default_rule_provider_config
General Direct IP List:
url: http://purpose.shamanlanding.org:9999/direct-ip.yaml
path: "./rule_provider/direct-ip.yaml"
<<: *default_rule_provider_config
General Proxy Domain List:
url: http://purpose.shamanlanding.org:9999/proxy-domain.yaml
path: "./rule_provider/adaptation-domain-proxy.yaml"
<<: *default_rule_provider_config
General Proxy IP List:
url: http://purpose.shamanlanding.org:9999/proxy-ip.yaml
path: "./rule_provider/adaptation-ip-proxy.yaml"
<<: *default_rule_provider_config
# ————————————————— antifilter community list ————————————————
Antifilter IP List:
url: http://purpose.shamanlanding.org:9999/antifilter-ip.yaml
path: "./rule_provider/antifilter-ip-proxy.yaml"
<<: *default_rule_provider_config
Antifilter Community IP List:
url: http://purpose.shamanlanding.org:9999/antifilter-community-ip.yaml
path: "./rule_provider/antifilter-community-ip-proxy.yaml"
<<: *default_rule_provider_config
Antifilter Community Domain List:
url: http://purpose.shamanlanding.org:9999/antifilter-community-domain.yaml
path: "./rule_provider/antifilter-domain-proxy.yaml"
<<: *default_rule_provider_config
# ————————————————————————————————————— rules ————————————————————————————————————
rules:
# —————————————————————— by application ——————————————————————
- RULE-SET,Youtube,✳️ YouTube
- RULE-SET,Notion,✳️ Notion
- RULE-SET,Testzone A,✳️ Testzone A
- RULE-SET,AI Stuff (Western),✳️ Testzone A
- RULE-SET,Discord,✳️ Discord
- RULE-SET,USA Services,✳️ USA Services
# —————————————————————— adaptaion lists —————————————————————
- RULE-SET,General Direct Domain List,DIRECT
- RULE-SET,General Direct IP List,DIRECT
- RULE-SET,General Proxy Domain List,✳️ Adaptaion
- RULE-SET,General Proxy IP List,✳️ Adaptaion
- RULE-SET,Antifilter IP List,✳️ Antifilter
- RULE-SET,Antifilter Community IP List,✳️ Antifilter
- RULE-SET,Antifilter Community Domain List,✳️ Antifilter
- MATCH,DIRECT

File diff suppressed because it is too large Load Diff