update clash config

This commit is contained in:
2026-05-17 00:40:11 +03:00
parent 9175e5fdf8
commit 464d76f5b0

View File

@@ -1,5 +1,8 @@
mode: rule mode: rule
unified-delay: true unified-delay: true
endpoint-independent-nat: true
tcp-concurrent: true
geodata-mode: true geodata-mode: true
geo-auto-update: true geo-auto-update: true
geo-update-interval: 24 geo-update-interval: 24
@@ -8,11 +11,9 @@ geox-url:
geosite: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat" geosite: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country.mmdb" mmdb: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country.mmdb"
sub-url: &sub-url "ссылка на подписку"
tun: tun:
enable: true enable: true
stack: gvisor stack: system
auto-route: true auto-route: true
auto-detect-interface: true auto-detect-interface: true
strict-route: false strict-route: false
@@ -24,8 +25,6 @@ dns:
ipv6: false ipv6: false
prefer-h3: true prefer-h3: true
cache-algorithm: arc cache-algorithm: arc
use-hosts: true
use-system-hosts: true
enhanced-mode: fake-ip enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16 fake-ip-range: 198.18.0.1/16
default-nameserver: ['1.1.1.1', '1.0.0.1', '8.8.8.8', '8.8.4.4'] default-nameserver: ['1.1.1.1', '1.0.0.1', '8.8.8.8', '8.8.4.4']
@@ -41,6 +40,8 @@ dns:
# fallback-filter: # fallback-filter:
# geoip: true # geoip: true
# geoip-code: RU # geoip-code: RU
dns-hijack:
- any:53
fake-ip-filter-mode: blacklist fake-ip-filter-mode: blacklist
fake-ip-filter: fake-ip-filter:
- '*.lan' - '*.lan'
@@ -66,8 +67,8 @@ sniffer:
override-destination: true override-destination: true
TLS: TLS:
ports: [443, 8443] ports: [443, 8443]
# QUIC: QUIC:
# ports: [443, 8443] ports: [443, 8443]
skip-domain: skip-domain:
# - 'Mijia Cloud' # - 'Mijia Cloud'
- '+.lan' - '+.lan'
@@ -78,7 +79,7 @@ sniffer:
proxy-providers: proxy-providers:
remnawave: remnawave:
type: http type: http
url: *sub-url url: ""
interval: 3600 interval: 3600
proxy: DIRECT proxy: DIRECT
health-check: health-check:
@@ -127,29 +128,39 @@ proxy-groups:
type: select type: select
url: http://www.gstatic.com/generate_204 url: http://www.gstatic.com/generate_204
proxies: proxies:
- DIRECT
- PROXY - PROXY
- DIRECT
- name: Discord - name: Discord
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Discord.png icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Discord.png
type: select type: select
url: http://www.gstatic.com/generate_204 url: http://www.gstatic.com/generate_204
proxies: proxies:
- DIRECT
- PROXY - PROXY
- DIRECT
- name: RU-Banned - name: RU-Banned
type: select
proxies:
- PROXY
- DIRECT
- name: RU-Inside-Domain
type: select type: select
proxies: proxies:
- DIRECT - DIRECT
- PROXY - PROXY
- name: AD
type: select
proxies:
- REJECT
- DIRECT
rule-providers: rule-providers:
# oisd-big: oisd-big:
# behavior: domain behavior: domain
# type: http type: http
# format: mrs format: mrs
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/big.mrs url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/big.mrs
# interval: 86400 interval: 86400
# path: ./ipset/oisd/big.mrs path: ./ipset/oisd/big.mrs
# oisd-small: # oisd-small:
# behavior: domain # behavior: domain
# type: http # type: http
@@ -157,19 +168,19 @@ rule-providers:
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/small.mrs # url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/small.mrs
# interval: 86400 # interval: 86400
# path: ./ipset/oisd/small.mrs # path: ./ipset/oisd/small.mrs
# itdoginfo-domains: itdoginfo-domains:
# behavior: domain behavior: domain
# type: http type: http
# format: mrs format: mrs
# url: https://github.com/itdoginfo/allow-domains/releases/latest/download/russia_inside_domain.mrs url: https://github.com/itdoginfo/allow-domains/releases/latest/download/russia_inside_domain.mrs
# interval: 86400 interval: 86400
# path: ./ipset/itdoginfo/russia_inside_domain.mrs path: ./ipset/itdoginfo/russia_inside_domain.mrs
# antifilter-ip: antifilter-ip:
# behavior: classical behavior: classical
# type: http type: http
# url: https://antifilter.i8m3x.icu/antifilter-ip.yaml url: https://antifilter.i8m3x.icu/antifilter-ip.yaml
# interval: 86400 interval: 86400
# path: ./ipset/custom/antifilter-ip.yaml path: ./ipset/custom/antifilter-ip.yaml
antifilter-community-domain: antifilter-community-domain:
behavior: classical behavior: classical
type: http type: http
@@ -235,15 +246,16 @@ rule-providers:
rules: rules:
# === REJECT === # === REJECT ===
# - RULE-SET,oisd-small,REJECT - RULE-SET,oisd-big,AD
# - RULE-SET,oisd-big,REJECT # - RULE-SET,oisd-small,AD
# === ANDROID ===
- PROCESS-NAME,ir.ilmili.telegraph,PROXY
# === PROXY === # === PROXY ===
# - RULE-SET,itdoginfo-domains,PROXY - RULE-SET,antifilter-ip,PROXY
# - RULE-SET,antifilter-ip,PROXY
- PROCESS-NAME,discord.exe,PROXY
- RULE-SET,openai,PROXY - RULE-SET,openai,PROXY
- RULE-SET,telegram-ip,PROXY,no-resolve - RULE-SET,telegram-ip,PROXY,no-resolve
- RULE-SET,telegram,PROXY - RULE-SET,telegram,PROXY
- PROCESS-NAME,discord.exe,Discord
- RULE-SET,discord-domain,Discord - RULE-SET,discord-domain,Discord
- RULE-SET,discord-ip,Discord - RULE-SET,discord-ip,Discord
- RULE-SET,youtube,Youtube - RULE-SET,youtube,Youtube
@@ -251,5 +263,6 @@ rules:
- RULE-SET,antifilter-community-ip,PROXY - RULE-SET,antifilter-community-ip,PROXY
- RULE-SET,proxy-domain,PROXY - RULE-SET,proxy-domain,PROXY
- RULE-SET,ru-banned,RU-Banned - RULE-SET,ru-banned,RU-Banned
- RULE-SET,itdoginfo-domains,RU-Inside-Domain
# === === # === ===
- MATCH,DIRECT - MATCH,DIRECT