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