update configs
This commit is contained in:
1 parent
55b6eb58f0
commit
d95e442015
7 files changed
+694
-440
No files matched your search
+134
-107
@@ -1,18 +1,64 @@
|
||||
anchors:
|
||||
reserved_ips: &reserved_ips
|
||||
- 0.0.0.0/8
|
||||
- 10.0.0.0/8
|
||||
- 100.64.0.0/10
|
||||
- 127.0.0.0/8
|
||||
- 169.254.0.0/16
|
||||
- 172.16.0.0/12
|
||||
- 192.0.0.0/24
|
||||
- 192.0.2.0/24
|
||||
- 192.88.99.0/24
|
||||
- 192.168.0.0/16
|
||||
- 198.51.100.0/24
|
||||
- 203.0.113.0/24
|
||||
- 224.0.0.0/3
|
||||
|
||||
dns_ru: &dns_ru
|
||||
- https://77.88.8.8/dns-query#DIRECT
|
||||
- https://8.8.8.8/dns-query#DIRECT
|
||||
|
||||
dns_proxy: &dns_proxy
|
||||
- https://1.1.1.1/dns-query#VPN
|
||||
- https://dns.google/dns-query#VPN
|
||||
|
||||
pr_http: &pr_http
|
||||
type: http
|
||||
interval: 86400
|
||||
proxy: VPN
|
||||
|
||||
rp_classical: &rp_classical
|
||||
<<: *pr_http
|
||||
behavior: classical
|
||||
format: yaml
|
||||
|
||||
rp_domain: &rp_domain
|
||||
<<: *pr_http
|
||||
behavior: domain
|
||||
format: mrs
|
||||
|
||||
rp_ipcidr: &rp_ipcidr
|
||||
<<: *pr_http
|
||||
behavior: ipcidr
|
||||
format: mrs
|
||||
|
||||
mode: rule
|
||||
log-level: warning
|
||||
ipv6: false
|
||||
unified-delay: true
|
||||
tcp-concurrent: true
|
||||
enable-process: true
|
||||
find-process-mode: strict
|
||||
keep-alive-idle: 120
|
||||
keep-alive-interval: 30
|
||||
external-controller: 127.0.0.1:9090
|
||||
external-ui: ./ui
|
||||
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
|
||||
|
||||
# geodata-mode: true
|
||||
# geo-auto-update: true
|
||||
# geo-update-interval: 24
|
||||
# geox-url:
|
||||
# geoip: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.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"
|
||||
profile:
|
||||
store-selected: true
|
||||
store-fake-ip: true
|
||||
tracing: false
|
||||
|
||||
tun:
|
||||
enable: true
|
||||
@@ -24,8 +70,8 @@ tun:
|
||||
- any:53
|
||||
- tcp://any:53
|
||||
# endpoint-independent-nat: true
|
||||
exclude-package:
|
||||
- com.android.captiveportallogin
|
||||
route-exclude-address: *reserved_ips
|
||||
exclude-package: ["az.vtb.android", "business.gid.hero", "business.gid.universe", "chat.strelka", "com.allgoritm.youla", "com.asmo.infometeos", "com.birzha_rt", "com.bogg.art.vkt", "com.dartit.mobileagent", "com.dartit.rtcabinet", "com.equeo.megafondraiv", "com.gmeteos.infometeos", "com.goodok.mts", "com.grotem.match", "com.horosho.tips", "com.indygomobi.detifm", "com.indygomobi.relaxfm", "com.indygomobi.zenit", "com.iwedia.ui.beeline.atv", "com.kazanexpress.ke_app", "com.lamoda.lite", "com.lenta.employee", "com.lenta.lentochka_service", "com.magnit.delivery.courier", "com.match.club", "com.matchtv.rustore", "com.mcd.superapp", "com.mcptt", "com.megafon.kk", "com.megafon.maps", "com.megafon.mcca.android.store", "com.megafon.rk", "com.mts.who_calls", "com.my.mygamesapp", "com.navplatform.navigator.public", "com.pobeda.anniversary", "com.pogoda.infometeos", "com.programmisty.emiasapp", "com.rostelecom.printservice", "com.rzd.eventsrzd", "com.sdkit.search.app", "com.spbtv.rosing", "com.vk.admin", "com.vk.calls", "com.vk.love", "com.vk.mail", "com.vk.tv", "com.vkusvill.courier", "com.vkusvill.vacancy", "com.wbextdelivery", "com.wbpoint.android.prod.release", "com.wbstream_app", "com.wildberries.consultations", "com.wildberries.wbkey", "com.wms_mm_point.mm_delivery_point", "com.yandex.aliceapp", "com.yandex.browser.lite", "com.yandex.shedevrus", "games.my.cloud", "games.my.cloud.tv", "intech.global.com.beeline", "me.membrana.kids.parent.app", "megafon.transport.mobile", "org.rtk.cleaning", "ru.beeline.beebookreader", "ru.beeline.dol", "ru.beeline.messengerx", "ru.beeline.mwpsapp", "ru.beeline.pro", "ru.cdek.courier", "ru.cdek.ek5", "ru.compass.tag", "ru.gazprompay.android", "ru.gid.app", "ru.gid.eventsapp", "ru.gid.most", "ru.gosuslugi.migrant", "ru.gosuslugi.volunteer", "ru.hh.android", "ru.hh.employer.android", "ru.ideast.championat", "ru.ideast.humor", "ru.ideast.nrj", "ru.ideast.romantika", "ru.ideast.ru101.rustore", "ru.imteleport.plp2", "ru.intech.lki", "ru.leroymerlin.employee", "ru.lifepay.pos.alfapos", "ru.lifepay.pos.vtb", "ru.litres.android", "ru.litres.android.readfree", "ru.litres.androidtv", "ru.livelib.client", "ru.m4bank.softpos.alfaru", "ru.m4bank.softpos.rshb", "ru.m4bank.softpos.vtbpos", "ru.magnit.hrtest.android", "ru.magnit.mesmag", "ru.magnit.tag", "ru.magnit.tms.armhde", "ru.magnit.vendorapp", "ru.mail.biz.avocado", "ru.mail.cloud", "ru.mail.horo.android", "ru.mail.intranet", "ru.mail.my", "ru.mail.search.electroscope", "ru.megafon.vn.client", "ru.megalabs.multifon", "ru.mgfoms.pandora", "ru.mntk.dostavka.prod", "ru.mts.books.droid", "ru.mts.live.app", "ru.mts.mtscode", "ru.mts.music.android", "ru.mts.pay", "ru.mts.twomem", "ru.mts.vdome.resident", "ru.mybook", "ru.netbynet.app.personal_cabinet", "ru.ntv.client", "ru.ntv.client.tv", "ru.ntv.today", "ru.ntvplus.service", "ru.ok.dating", "ru.onlime.my.app", "ru.ozon.chatzone", "ru.ozon.fintech.apvz", "ru.ozon.fintech.sme", "ru.ozon.flex", "ru.ozon.fresh", "ru.ozon.hire", "ru.ozon.magistral", "ru.ozon.maple_app", "ru.ozon.ozon_pvz", "ru.ozon.profit", "ru.ozon.select", "ru.ozon.seller_app", "ru.ozon.tv", "ru.pikabu.android", "ru.profmedia.avtoradio", "ru.profmedia.likefm", "ru.rambler.horoscopes.twa", "ru.ritmmedia.yappy", "ru.rostelecom.ideas", "ru.rostelecom.vatsmobilelk", "ru.rshb.dboul", "ru.rshb.digitalcoworkeroffice", "ru.rshb.ips_qr", "ru.rshb.privatebusiness", "ru.rshb.svoe_rodnoe", "ru.rshb.svoedom_android", "ru.rshb.svojfermer", "ru.rt.key", "ru.rt.life", "ru.rt.masterkey", "ru.rt.mb_installer", "ru.rt.mobileoffice", "ru.rt.ritm", "ru.rt.smarthome", "ru.rt.video.app.mobile", "ru.rt.video.app.mobile.b2b", "ru.rt.video.app.tv", "ru.rt.videocomfort", "ru.rt.wfm", "ru.rtdc.kakdela", "ru.russianpost.pechkin", "ru.rzd.cargolk", "ru.rzd.newsdo.skills", "ru.setka", "ru.systtech.megafon.mobile", "ru.tander.mobile_scout_flutter", "ru.tntmusic.tv", "ru.tutu.etrains", "ru.tutu.tutu_emp", "ru.utk.dostavka", "ru.vk.hrtek", "ru.vkpm.comedy", "ru.vtb.corporate.android.main_application", "ru.vtb.invest", "ru.vtb.smb", "ru.wb.courier", "ru.wb.go", "ru.wb.guru", "ru.wb.wband", "ru.wildberries.books", "ru.wildberries.manager", "ru.wildberries.team", "ru.wildberries.team2", "ru.wildberries.wbpayclient", "ru.wink.music", "ru.wink.music.tv", "ru.x5.foodru.rs", "ru.x5.key", "ru.x5.mfpnew", "ru.x5.mrm_android.personaldevice", "ru.x5.opermax.aura", "ru.x5.rooms", "ru.x5.wl.slata", "ru.x5.wrs2", "ru.x5.x5job", "ru.yandex.mobile.fmradio", "ru.yandex.searchplugin", "ru.yandex.telemost", "ru.yozhka", "ruagro.start.tech", "tech.clink.emias.emiasqrcode", "travel.ozon.mobile", "tv.ntvplus.app", "tv.ntvplus.app.tv", "wb.partners", "wildberries.business", "club.skllzz.fitness", "com.apegroup.mcdonaldsrussia", "com.bankffin.portfolio", "com.bastion", "com.bifit.rncbbeta", "ru.spb.parking", "com.whsd.whsdapp", "com.orgp.spbpodorozhnik", "ru.ftc.tc", "com.carshering", "com.citymobil", "com.taxsee.taxsee", "ru.yandex.uber", "ru.taxovichkof.android", "ru.rolf.rolf", "ruLine truncated
|
||||
|
||||
dns:
|
||||
enable: true
|
||||
@@ -37,20 +83,9 @@ dns:
|
||||
ipv6: false
|
||||
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
|
||||
nameserver:
|
||||
- https://dns10.quad9.net/dns-query
|
||||
- https://dns.aa.net.uk/dns-query
|
||||
proxy-server-nameserver:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
# direct-nameserver:
|
||||
fake-ip-filter-mode: blacklist
|
||||
fake-ip-filter:
|
||||
- rule-set:geosite-private
|
||||
- '+.lan'
|
||||
- '+.local'
|
||||
- '+.pool.ntp.org'
|
||||
@@ -61,23 +96,28 @@ dns:
|
||||
- '+.push.apple.com'
|
||||
- '+.apple.com'
|
||||
- '+.4829152.xyz'
|
||||
|
||||
find-process-mode: always
|
||||
|
||||
keep-alive-idle: 120
|
||||
keep-alive-interval: 30
|
||||
|
||||
profile:
|
||||
store-selected: true
|
||||
store-fake-ip: true
|
||||
tracing: false
|
||||
direct-nameserver-follow-policy: true
|
||||
default-nameserver:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
nameserver: *dns_ru
|
||||
proxy-server-nameserver: *dns_ru
|
||||
direct-nameserver: *dns_ru
|
||||
nameserver-policy:
|
||||
rule-set:geosite-private:
|
||||
- system
|
||||
rule-set:oisd-big:
|
||||
- rcode://refused
|
||||
"rule-set:telegram,ru-bundle": *dns_proxy
|
||||
|
||||
sniffer:
|
||||
enable: true
|
||||
force-dns-mapping: true
|
||||
parse-pure-ip: true
|
||||
override-destination: false
|
||||
sniff:
|
||||
HTTP:
|
||||
ports: [80, 8080-8880]
|
||||
override-destination: true
|
||||
TLS:
|
||||
ports: [443, 8443]
|
||||
QUIC:
|
||||
@@ -93,6 +133,7 @@ sniffer:
|
||||
- '+.push.apple.com'
|
||||
- '+.apple.com'
|
||||
- '+.4829152.xyz'
|
||||
skip-dst-address: *reserved_ips
|
||||
|
||||
proxy-providers:
|
||||
remnawave:
|
||||
@@ -113,7 +154,7 @@ proxy-providers:
|
||||
udp-over-tcp: true
|
||||
|
||||
proxy-groups:
|
||||
- name: Fastest
|
||||
- name: ⚡ Самый быстрый
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Auto.png
|
||||
type: url-test
|
||||
url: http://www.gstatic.com/generate_204
|
||||
@@ -124,22 +165,24 @@ proxy-groups:
|
||||
use:
|
||||
- remnawave
|
||||
|
||||
- name: PROXY
|
||||
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Proxy.png
|
||||
- name: VPN
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Hijacking.png
|
||||
type: select
|
||||
url: http://www.gstatic.com/generate_204
|
||||
proxies:
|
||||
- Fastest
|
||||
- ⚡ Самый быстрый
|
||||
- DIRECT
|
||||
use:
|
||||
- remnawave
|
||||
|
||||
- name: RU-Banned
|
||||
- name: Блокировки РФ
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Russia.png
|
||||
type: select
|
||||
proxies:
|
||||
- PROXY
|
||||
- VPN
|
||||
- DIRECT
|
||||
use:
|
||||
- remnawave
|
||||
|
||||
- name: Реклама
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Advertising.png
|
||||
@@ -148,87 +191,76 @@ proxy-groups:
|
||||
- REJECT
|
||||
- DIRECT
|
||||
|
||||
- name: Остальные сайты
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Global.png
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
- VPN
|
||||
use:
|
||||
- remnawave
|
||||
|
||||
rule-providers:
|
||||
oisd-big:
|
||||
type: http
|
||||
behavior: domain
|
||||
format: mrs
|
||||
<<: *rp_domain
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/oisd/big.mrs
|
||||
interval: 86400
|
||||
path: ./rules/oisd/big.mrs
|
||||
|
||||
# bld-agregator:
|
||||
# type: http
|
||||
# behavior: domain
|
||||
# format: mrs
|
||||
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/bld-agregator.mrs
|
||||
# interval: 86400
|
||||
# path: ./rules/oisd/bld-agregator.mrs
|
||||
geosite-private:
|
||||
<<: *rp_domain
|
||||
url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/private.mrs
|
||||
path: ./rules/geo/geosite/private.mrs
|
||||
|
||||
geoip-private:
|
||||
<<: *rp_ipcidr
|
||||
url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geoip/private.mrs
|
||||
path: ./rules/geo/geoip/private.mrs
|
||||
|
||||
# refilter_domains:
|
||||
# type: http
|
||||
# behavior: domain
|
||||
# format: mrs
|
||||
# <<: *rp_domain
|
||||
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/domain-rule.mrs
|
||||
# interval: 86400
|
||||
# path: ./re-filter/domain-rule.mrs
|
||||
# path: ./rules/re-filter/domain-rule.mrs
|
||||
|
||||
# refilter_ipsum:
|
||||
# type: http
|
||||
# behavior: ipcidr
|
||||
# format: mrs
|
||||
# <<: *rp_ipcidr
|
||||
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/ip-rule.mrs
|
||||
# interval: 86400
|
||||
# path: ./re-filter/ip-rule.mrs
|
||||
# path: ./rules/re-filter/ip-rule.mrs
|
||||
|
||||
cloudflare:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
format: mrs
|
||||
url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geoip/cloudflare.mrs
|
||||
interval: 86400
|
||||
<<: *rp_ipcidr
|
||||
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cloudflare.mrs
|
||||
path: ./rules/geoip/cloudflare.mrs
|
||||
|
||||
telegram-ip:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
format: text
|
||||
url: https://core.telegram.org/resources/cidr.txt
|
||||
interval: 86400
|
||||
path: ./rules/services/telegram-ip.txt
|
||||
telegram:
|
||||
<<: *rp_domain
|
||||
url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geosite/telegram.mrs
|
||||
path: ./rules/geosite/telegram.mrs
|
||||
|
||||
telegram-ips:
|
||||
<<: *rp_ipcidr
|
||||
url: https://github.com/MetaCubeX/meta-rules-dat/raw/meta/geo/geoip/telegram.mrs
|
||||
path: ./rules/geoip/telegram.mrs
|
||||
|
||||
games-direct:
|
||||
type: http
|
||||
behavior: classical
|
||||
format: yaml
|
||||
<<: *rp_classical
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/games-direct.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/games-direct.yaml
|
||||
|
||||
ru-app-list:
|
||||
type: http
|
||||
behavior: classical
|
||||
format: yaml
|
||||
<<: *rp_classical
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/other/ru-app-list.yaml
|
||||
interval: 86400
|
||||
path: ./rules/ru-bundle/ru-app-list.yaml
|
||||
path: ./rules/ru/ru-app-list.yaml
|
||||
|
||||
rknasnblock:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
format: mrs
|
||||
<<: *rp_ipcidr
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/ru-bundle/rknasnblock.mrs
|
||||
interval: 86400
|
||||
path: ./rules/ru-bundle/rknasnblock.mrs
|
||||
path: ./rules/ru/rknasnblock.mrs
|
||||
|
||||
# include: itdoginfo-inside-russia + no-russia-hosts + antifilter-community
|
||||
ru-bundle:
|
||||
type: http
|
||||
behavior: domain
|
||||
format: mrs
|
||||
<<: *rp_domain
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/ru-bundle/rule.mrs
|
||||
interval: 86400
|
||||
path: ./rules/ru-bundle/rule.mrs
|
||||
path: ./rules/ru/ru-bundle.mrs
|
||||
|
||||
apps_ipcheck:
|
||||
type: inline
|
||||
@@ -242,25 +274,20 @@ rule-providers:
|
||||
- DOMAIN,ip-api.com
|
||||
|
||||
rules:
|
||||
- RULE-SET,apps_ipcheck,PROXY
|
||||
|
||||
# === REJECT ===
|
||||
- RULE-SET,oisd-big,Реклама
|
||||
# - RULE-SET,bld-agregator,Реклама
|
||||
|
||||
- RULE-SET,apps_ipcheck,VPN
|
||||
# === DIRECT (priority) ===
|
||||
- RULE-SET,geoip-private,DIRECT,no-resolve
|
||||
- RULE-SET,geosite-private,DIRECT
|
||||
- RULE-SET,games-direct,DIRECT
|
||||
- RULE-SET,ru-app-list,DIRECT
|
||||
|
||||
# === REJECT ===
|
||||
- RULE-SET,oisd-big,Реклама
|
||||
# === PROXY ===
|
||||
- RULE-SET,telegram-ip,PROXY,no-resolve
|
||||
|
||||
- RULE-SET,cloudflare,PROXY
|
||||
# - RULE-SET,refilter_ipsum,PROXY,no-resolve
|
||||
# - RULE-SET,refilter_domains,PROXY
|
||||
|
||||
- RULE-SET,rknasnblock,RU-Banned,no-resolve
|
||||
- RULE-SET,ru-bundle,RU-Banned
|
||||
|
||||
- OR,((RULE-SET,telegram),(RULE-SET,telegram-ips)),VPN
|
||||
- RULE-SET,cloudflare,VPN
|
||||
# - RULE-SET,refilter_ipsum,VPN,no-resolve
|
||||
# - RULE-SET,refilter_domains,VPN
|
||||
- RULE-SET,rknasnblock,Блокировки РФ,no-resolve
|
||||
- RULE-SET,ru-bundle,Блокировки РФ
|
||||
# === DIRECT ===
|
||||
- MATCH,DIRECT
|
||||
- MATCH,Остальные сайты
|
||||
Reference in new issue
Block a user