major update configs
This commit is contained in:
+6
-6
@@ -2,7 +2,7 @@
|
||||
|
||||
> 💡 **Рекомендуемые приложения:**
|
||||
> * **Android:** **FlClashX**
|
||||
> * **iOS:** **Clash Mi**
|
||||
> * **iOS:** **Karing**
|
||||
> * **Windows:** **Koala Clash**
|
||||
>
|
||||
>
|
||||
@@ -40,19 +40,19 @@
|
||||
|
||||
| Клиент | Ядро / Тип | Ссылка |
|
||||
| --- | --- | --- |
|
||||
| **Nikki** | Mihomo | [GitHub](https://github.com/nikkinikki-org/OpenWrt-nikki) | Основной клиент для OpenWRT с веб-интерфейсом |
|
||||
| **Nikki** | Mihomo | [GitHub](https://github.com/nikkinikki-org/OpenWrt-nikki) |
|
||||
| **Clashoo** | Universal | [GitHub](https://github.com/kenzok8/openwrt-clashoo) |
|
||||
|
||||
---
|
||||
|
||||
### ⚠️ Важные особенности и ограничения клиентуры
|
||||
### ⚠️ Важные особенности и ограничения клиентов
|
||||
|
||||
* **Clash Verge Rev / Clash Party**:
|
||||
* ❌ **Не поддерживает передачу HWID** в заголовках запросов при получении подписки.
|
||||
|
||||
|
||||
* **Karing**:
|
||||
* ❌ **Не поддерживает автоматический парсинг правил Clash / Mihomo** напрямую из конфигурации подписки.
|
||||
* ⚠️ **Поддерживает автоматическое подтягивание правил**, но они могут слегка отличаться от главного конфига Mihomo.
|
||||
|
||||
|
||||
* **Koala Clash / FlClashX**:
|
||||
@@ -78,9 +78,9 @@
|
||||
|
||||
---
|
||||
|
||||
## 🎛️ Инструкция по интерфейсу: Выбор режимов и серверов
|
||||
## 🎛️ Инструкция для FlClashX (белый список): Выбор режимов и серверов
|
||||
|
||||
на вкладке управления трафиком (**Прокси**) отображаются группы переключения режимов и локаций.
|
||||

|
||||
|
||||
---
|
||||
|
||||
|
||||
+19
-86
@@ -2,6 +2,9 @@ mode: rule
|
||||
log-level: warning
|
||||
unified-delay: true
|
||||
tcp-concurrent: true
|
||||
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
|
||||
@@ -13,7 +16,7 @@ tcp-concurrent: true
|
||||
|
||||
tun:
|
||||
enable: true
|
||||
stack: mixed
|
||||
stack: gvisor
|
||||
auto-route: true
|
||||
auto-detect-interface: true
|
||||
strict-route: true
|
||||
@@ -60,7 +63,6 @@ dns:
|
||||
- '+.4829152.xyz'
|
||||
|
||||
find-process-mode: always
|
||||
global-client-fingerprint: chrome
|
||||
|
||||
keep-alive-idle: 120
|
||||
keep-alive-interval: 30
|
||||
@@ -132,22 +134,6 @@ proxy-groups:
|
||||
use:
|
||||
- remnawave
|
||||
|
||||
- name: Youtube
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/YouTube.png
|
||||
type: select
|
||||
url: http://www.gstatic.com/generate_204
|
||||
proxies:
|
||||
- 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:
|
||||
- PROXY
|
||||
- DIRECT
|
||||
|
||||
- name: RU-Banned
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Russia.png
|
||||
type: select
|
||||
@@ -179,36 +165,21 @@ rule-providers:
|
||||
# interval: 86400
|
||||
# path: ./rules/oisd/bld-agregator.mrs
|
||||
|
||||
refilter_domains:
|
||||
type: http
|
||||
behavior: domain
|
||||
format: mrs
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/domain-rule.mrs
|
||||
interval: 86400
|
||||
path: ./re-filter/domain-rule.mrs
|
||||
|
||||
refilter_ipsum:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
format: mrs
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/ip-rule.mrs
|
||||
interval: 86400
|
||||
path: ./re-filter/ip-rule.mrs
|
||||
|
||||
# proxy-domain:
|
||||
# refilter_domains:
|
||||
# type: http
|
||||
# behavior: classical
|
||||
# url: https://antifilter.ludik.icu/proxy-domain.yaml
|
||||
# behavior: domain
|
||||
# format: mrs
|
||||
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/domain-rule.mrs
|
||||
# interval: 86400
|
||||
# path: ./rules/custom/proxy-domain.yaml
|
||||
# path: ./re-filter/domain-rule.mrs
|
||||
|
||||
android-app-list:
|
||||
type: http
|
||||
behavior: classical
|
||||
format: yaml
|
||||
url: https://git.ludik.icu/admin/122/raw/branch/master/clash/rules/android-apps.yaml
|
||||
interval: 86400
|
||||
path: ./rules/custom/android-app-list.yaml
|
||||
# refilter_ipsum:
|
||||
# type: http
|
||||
# behavior: ipcidr
|
||||
# format: mrs
|
||||
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/ip-rule.mrs
|
||||
# interval: 86400
|
||||
# path: ./re-filter/ip-rule.mrs
|
||||
|
||||
cloudflare:
|
||||
type: http
|
||||
@@ -218,34 +189,6 @@ rule-providers:
|
||||
interval: 86400
|
||||
path: ./rules/geoip/cloudflare.mrs
|
||||
|
||||
youtube:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/YouTube/YouTube.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/youtube.yaml
|
||||
|
||||
discord-domain:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/fildunsky/clash_discord/main/discord-domain.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/discord.yaml
|
||||
|
||||
discord-ip:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/fildunsky/clash_discord/refs/heads/main/discord-ip.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/discord-ip.yaml
|
||||
|
||||
telegram:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Telegram/Telegram.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/telegram.yaml
|
||||
|
||||
telegram-ip:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
@@ -303,28 +246,18 @@ rules:
|
||||
|
||||
# === REJECT ===
|
||||
- RULE-SET,oisd-big,Реклама
|
||||
# - RULE-SET,bld-agregator,REJECT
|
||||
# - RULE-SET,bld-agregator,Реклама
|
||||
|
||||
# === DIRECT (priority) ===
|
||||
- RULE-SET,games-direct,DIRECT
|
||||
- RULE-SET,ru-app-list,DIRECT
|
||||
|
||||
# === PROXY ===
|
||||
# - PROCESS-NAME,RobloxPlayerBeta.exe,PROXY
|
||||
# - PROCESS-NAME,RobloxCrashHandler.exe,PROXY
|
||||
# - PROCESS-NAME,RobloxPlayerInstaller.exe,PROXY
|
||||
- PROCESS-NAME,discord.exe,Discord
|
||||
- RULE-SET,discord-domain,Discord
|
||||
- RULE-SET,discord-ip,Discord,no-resolve
|
||||
- RULE-SET,telegram-ip,PROXY,no-resolve
|
||||
- RULE-SET,telegram,PROXY
|
||||
- RULE-SET,youtube,Youtube
|
||||
|
||||
- RULE-SET,cloudflare,PROXY
|
||||
- RULE-SET,refilter_ipsum,PROXY,no-resolve
|
||||
- RULE-SET,refilter_domains,PROXY
|
||||
# - RULE-SET,proxy-domain,PROXY
|
||||
- RULE-SET,android-app-list,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
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
|
||||
config clashoo 'config'
|
||||
option redir_port '7891'
|
||||
option http_port '8080'
|
||||
option socks_port '1080'
|
||||
option mixed_port '7890'
|
||||
option enable '1'
|
||||
option dash_port '9090'
|
||||
option dashboard_panel 'metacubexd'
|
||||
option level 'warning'
|
||||
option core '3'
|
||||
option allow_lan '1'
|
||||
option dnsforwader '1'
|
||||
option subcri 'meta'
|
||||
option cusrule '0'
|
||||
option dnscache '1'
|
||||
option p_mode 'rule'
|
||||
option append_rules '0'
|
||||
option enhanced_mode 'fake-ip'
|
||||
option fake_ip_range '198.18.0.1/16'
|
||||
option listen_port '1053'
|
||||
option interf '0'
|
||||
option download_core 'amd64-compatible'
|
||||
option dcore '3'
|
||||
option same_tag '1'
|
||||
option geoip_source '3'
|
||||
option geodata_loader 'memconservative'
|
||||
option tproxy_port '7982'
|
||||
option access_control '0'
|
||||
option acl_migrated '1'
|
||||
option tcp_mode 'tun'
|
||||
option tun_mode '0'
|
||||
option core_mirror_prefix 'https://gh-proxy.com/'
|
||||
option core_download_advanced '0'
|
||||
list fallback_filter_ipcidr '240.0.0.0/4'
|
||||
option dns_migrated '3'
|
||||
option udp_mode 'tun'
|
||||
option ipv4_dns_hijack '1'
|
||||
option ipv4_proxy '1'
|
||||
option fake_ip_ping_hijack '1'
|
||||
option enable_udp '1'
|
||||
option stack 'system'
|
||||
option bypass_port_mode 'common'
|
||||
option sniffer_streaming '1'
|
||||
option selection_cache '1'
|
||||
option fake_ip_cache '1'
|
||||
option enable_dns '1'
|
||||
option disable_quic_gso '1'
|
||||
option smart_policy_priority 'Premium:0.9;SG:1.3'
|
||||
option smart_prefer_asn '1'
|
||||
option smart_collect_size '100'
|
||||
option smart_collect_rate '1'
|
||||
option smart_lgbm_update_interval '72'
|
||||
option smart_lgbm_url 'https://github.com/vernesong/mihomo/releases/download/LightGBM-Model/Model.bin'
|
||||
option auto_update_time '72'
|
||||
option auto_subscription_update '1'
|
||||
option subscription_update_interval '72'
|
||||
option auto_clear_log '1'
|
||||
option clear_time '72'
|
||||
option core_type 'mihomo'
|
||||
option subscribe_url ''
|
||||
option config_name 'router'
|
||||
option sub_ua 'mihomo'
|
||||
option use_config '/usr/share/clashoo/config/sub/router.yaml'
|
||||
option config_type '1'
|
||||
option dash_pass ''
|
||||
option primary_proxy_group 'PROXY'
|
||||
option fake_ip_filter_mode 'blacklist'
|
||||
list fake_ip_filter '*.lan'
|
||||
list fake_ip_filter '*.local'
|
||||
list default_nameserver '77.88.8.8'
|
||||
list default_nameserver '1.1.1.1'
|
||||
list default_nameserver '8.8.8.8'
|
||||
|
||||
config hosts
|
||||
option enabled '0'
|
||||
option adress '*.clash.dev'
|
||||
option ip '127.0.0.1'
|
||||
|
||||
config hosts
|
||||
option enabled '0'
|
||||
option adress 'alpha.clash.dev'
|
||||
option ip '::1'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'nameserver'
|
||||
option ser_address '77.88.8.8'
|
||||
option protocol 'udp://'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'nameserver'
|
||||
option ser_address '77.88.8.1'
|
||||
option protocol 'udp://'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'direct-nameserver'
|
||||
option ser_address '77.88.8.8'
|
||||
option protocol 'udp://'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'direct-nameserver'
|
||||
option ser_address '77.88.8.1'
|
||||
option protocol 'tls://'
|
||||
option ser_port '853'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'proxy-server-nameserver'
|
||||
option ser_address '1.1.1.1'
|
||||
option protocol 'tls://'
|
||||
option ser_port '853'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'proxy-server-nameserver'
|
||||
option ser_address '8.8.8.8'
|
||||
option protocol 'tls://'
|
||||
option ser_port '853'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'fallback'
|
||||
option ser_address 'https://cloudflare-dns.com/dns-query'
|
||||
option protocol 'none'
|
||||
|
||||
config dnsservers
|
||||
option ser_type 'fallback'
|
||||
option ser_address 'https://dns.google/dns-query'
|
||||
option protocol 'none'
|
||||
+23
-80
@@ -7,7 +7,7 @@ unified-delay: true
|
||||
tcp-concurrent: true
|
||||
external-controller: 0.0.0.0:9090
|
||||
external-ui: ./ui
|
||||
external-ui-url: "https://github.com/Zephyruso/zashboard/releases/latest/download/dist.zip"
|
||||
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
|
||||
|
||||
# geodata-mode: true
|
||||
# geo-auto-update: true
|
||||
@@ -53,7 +53,6 @@ dns:
|
||||
- '+.4829152.xyz'
|
||||
|
||||
find-process-mode: off
|
||||
global-client-fingerprint: chrome
|
||||
|
||||
keep-alive-idle: 120
|
||||
keep-alive-interval: 30
|
||||
@@ -127,22 +126,6 @@ proxy-groups:
|
||||
use:
|
||||
- remnawave
|
||||
|
||||
- name: Youtube
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/YouTube.png
|
||||
type: select
|
||||
url: http://www.gstatic.com/generate_204
|
||||
proxies:
|
||||
- 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:
|
||||
- PROXY
|
||||
- DIRECT
|
||||
|
||||
- name: RU-Banned
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Russia.png
|
||||
type: select
|
||||
@@ -150,12 +133,12 @@ proxy-groups:
|
||||
- PROXY
|
||||
- DIRECT
|
||||
|
||||
- name: Реклама
|
||||
icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Advertising.png
|
||||
type: select
|
||||
proxies:
|
||||
- REJECT
|
||||
- DIRECT
|
||||
# - name: Реклама
|
||||
# icon: https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Advertising.png
|
||||
# type: select
|
||||
# proxies:
|
||||
# - REJECT
|
||||
# - DIRECT
|
||||
|
||||
rule-providers:
|
||||
# oisd-big:
|
||||
@@ -174,28 +157,21 @@ rule-providers:
|
||||
# interval: 86400
|
||||
# path: ./rules/oisd/bld-agregator.mrs
|
||||
|
||||
refilter_domains:
|
||||
type: http
|
||||
behavior: domain
|
||||
format: mrs
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/domain-rule.mrs
|
||||
interval: 86400
|
||||
path: ./re-filter/domain-rule.mrs
|
||||
|
||||
refilter_ipsum:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
format: mrs
|
||||
url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/ip-rule.mrs
|
||||
interval: 86400
|
||||
path: ./re-filter/ip-rule.mrs
|
||||
|
||||
# proxy-domain:
|
||||
# refilter_domains:
|
||||
# type: http
|
||||
# behavior: classical
|
||||
# url: https://antifilter.ludik.icu/proxy-domain.yaml
|
||||
# behavior: domain
|
||||
# format: mrs
|
||||
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/domain-rule.mrs
|
||||
# interval: 86400
|
||||
# path: ./rules/custom/proxy-domain.yaml
|
||||
# path: ./re-filter/domain-rule.mrs
|
||||
|
||||
# refilter_ipsum:
|
||||
# type: http
|
||||
# behavior: ipcidr
|
||||
# format: mrs
|
||||
# url: https://github.com/legiz-ru/mihomo-rule-sets/raw/main/re-filter/ip-rule.mrs
|
||||
# interval: 86400
|
||||
# path: ./re-filter/ip-rule.mrs
|
||||
|
||||
cloudflare:
|
||||
type: http
|
||||
@@ -205,34 +181,6 @@ rule-providers:
|
||||
interval: 86400
|
||||
path: ./rules/geoip/cloudflare.mrs
|
||||
|
||||
youtube:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/YouTube/YouTube.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/youtube.yaml
|
||||
|
||||
discord-domain:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/fildunsky/clash_discord/main/discord-domain.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/discord.yaml
|
||||
|
||||
discord-ip:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/fildunsky/clash_discord/refs/heads/main/discord-ip.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/discord-ip.yaml
|
||||
|
||||
telegram:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Telegram/Telegram.yaml
|
||||
interval: 86400
|
||||
path: ./rules/services/telegram.yaml
|
||||
|
||||
telegram-ip:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
@@ -261,19 +209,14 @@ rule-providers:
|
||||
rules:
|
||||
# === REJECT ===
|
||||
# - RULE-SET,oisd-big,Реклама
|
||||
# - RULE-SET,bld-agregator,REJECT
|
||||
# - RULE-SET,bld-agregator,Реклама
|
||||
|
||||
# === PROXY ===
|
||||
- RULE-SET,discord-domain,Discord
|
||||
- RULE-SET,discord-ip,Discord,no-resolve
|
||||
- RULE-SET,telegram-ip,PROXY,no-resolve
|
||||
- RULE-SET,telegram,PROXY
|
||||
- RULE-SET,youtube,Youtube
|
||||
|
||||
- RULE-SET,cloudflare,PROXY
|
||||
- RULE-SET,refilter_ipsum,PROXY,no-resolve
|
||||
- RULE-SET,refilter_domains,PROXY
|
||||
# - RULE-SET,proxy-domain,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
|
||||
|
||||
@@ -14,7 +14,7 @@ payload:
|
||||
- PROCESS-NAME,ru.zen.android
|
||||
- PROCESS-NAME,live.vkplay.app
|
||||
|
||||
# Все сервисы Яндекса (в white list оптом)
|
||||
# Все сервисы Яндекса
|
||||
- PROCESS-NAME,com.yandex.browser
|
||||
- PROCESS-NAME,com.yandex.bank
|
||||
- PROCESS-NAME,com.yandex.lavka
|
||||
@@ -59,7 +59,7 @@ payload:
|
||||
- PROCESS-NAME,ru.ozon.fintech.finance
|
||||
- PROCESS-NAME,com.avito.android
|
||||
|
||||
# Банки (Альфа, ВТБ, Газпромбанк, Т-Банк, Сбер, МТС Банк, НСПК)
|
||||
# Банки
|
||||
- PROCESS-NAME,ru.alfabank.mobile.android
|
||||
- PROCESS-NAME,ru.alfabank.oavdo.amc
|
||||
- PROCESS-NAME,ru.alfadirect.app
|
||||
@@ -116,7 +116,7 @@ payload:
|
||||
- PROCESS-NAME,ru.gosuslugi.school
|
||||
- PROCESS-NAME,ru.altarix.mos.pgu
|
||||
|
||||
# Rutube (государственное СМИ, в white list)
|
||||
# Rutube
|
||||
- PROCESS-NAME,ru.rutube.app
|
||||
- PROCESS-NAME,ru.rutube.RutubeKids
|
||||
- PROCESS-NAME,ru.rutube.studio
|
||||
|
||||
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"dns": {
|
||||
"rules": [
|
||||
{
|
||||
"server": "remote",
|
||||
"query_type": [
|
||||
"A",
|
||||
"AAAA"
|
||||
]
|
||||
},
|
||||
{
|
||||
"server": "local",
|
||||
"outbound": "any"
|
||||
}
|
||||
],
|
||||
"fakeip": {
|
||||
"enabled": true,
|
||||
"inet4_range": "198.18.0.0/15",
|
||||
"inet6_range": "fc00::/18"
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"tag": "cf-dns",
|
||||
"address": "tls://1.1.1.1"
|
||||
},
|
||||
{
|
||||
"tag": "local",
|
||||
"detour": "direct",
|
||||
"address": "tcp://1.1.1.1",
|
||||
"strategy": "ipv4_only",
|
||||
"address_strategy": "prefer_ipv4"
|
||||
},
|
||||
{
|
||||
"tag": "remote",
|
||||
"address": "fakeip"
|
||||
}
|
||||
],
|
||||
"independent_cache": true
|
||||
},
|
||||
"log": {
|
||||
"level": "debug",
|
||||
"disabled": true,
|
||||
"timestamp": true
|
||||
},
|
||||
"route": {
|
||||
"rules": [
|
||||
{
|
||||
"action": "sniff"
|
||||
},
|
||||
{
|
||||
"mode": "or",
|
||||
"type": "logical",
|
||||
"rules": [
|
||||
{
|
||||
"protocol": "dns"
|
||||
},
|
||||
{
|
||||
"port": 53
|
||||
}
|
||||
],
|
||||
"action": "hijack-dns"
|
||||
},
|
||||
{
|
||||
"outbound": "direct",
|
||||
"ip_is_private": true
|
||||
},
|
||||
{
|
||||
"outbound": "PROXY",
|
||||
"domain_suffix": [
|
||||
"ipwho.is",
|
||||
"ipapi.is",
|
||||
"ipapi.co",
|
||||
"api.ip.sb",
|
||||
"ip-api.com"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outbound": "direct",
|
||||
"rule_set": [
|
||||
"ru-app-list"
|
||||
]
|
||||
},
|
||||
{
|
||||
"geoip": [
|
||||
"telegram"
|
||||
],
|
||||
"geosite": [
|
||||
"telegram"
|
||||
],
|
||||
"outbound": "PROXY"
|
||||
},
|
||||
{
|
||||
"geoip": [
|
||||
"cloudflare"
|
||||
],
|
||||
"outbound": "PROXY"
|
||||
},
|
||||
{
|
||||
"outbound": "PROXY",
|
||||
"rule_set": [
|
||||
"refilter_ipsum",
|
||||
"refilter_domains"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outbound": "RU-Banned",
|
||||
"rule_set": [
|
||||
"rknasnblock",
|
||||
"ru-bundle"
|
||||
]
|
||||
}
|
||||
],
|
||||
"rule_set": [
|
||||
{
|
||||
"tag": "ru-app-list",
|
||||
"url": "https://raw.githubusercontent.com/legiz-ru/sb-rule-sets/main/ru-app-list.srs",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"download_detour": "PROXY"
|
||||
},
|
||||
{
|
||||
"tag": "refilter_domains",
|
||||
"url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-domain-refilter_domains.srs",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"download_detour": "PROXY"
|
||||
},
|
||||
{
|
||||
"tag": "refilter_ipsum",
|
||||
"url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-ip-refilter_ipsum.srs",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"download_detour": "PROXY"
|
||||
},
|
||||
{
|
||||
"tag": "rknasnblock",
|
||||
"url": "https://github.com/legiz-ru/sb-rule-sets/raw/main/rknasnblock.srs",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"download_detour": "PROXY"
|
||||
},
|
||||
{
|
||||
"tag": "ru-bundle",
|
||||
"url": "https://github.com/legiz-ru/sb-rule-sets/raw/main/ru-bundle.srs",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"download_detour": "PROXY"
|
||||
}
|
||||
],
|
||||
"override_android_vpn": true,
|
||||
"auto_detect_interface": true
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"mtu": 9000,
|
||||
"tag": "tun-in",
|
||||
"type": "tun",
|
||||
"sniff": true,
|
||||
"stack": "mixed",
|
||||
"platform": {
|
||||
"http_proxy": {
|
||||
"server": "127.0.0.1",
|
||||
"enabled": true,
|
||||
"server_port": 2412
|
||||
}
|
||||
},
|
||||
"auto_route": true,
|
||||
"strict_route": true,
|
||||
"inet4_address": "172.19.0.1/30",
|
||||
"inet6_address": "fdfe:dcba:9876::1/126",
|
||||
"interface_name": "tun125",
|
||||
"endpoint_independent_nat": true
|
||||
},
|
||||
{
|
||||
"tag": "mixed-in",
|
||||
"type": "mixed",
|
||||
"sniff": true,
|
||||
"users": [],
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 2412,
|
||||
"set_system_proxy": false
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"tag": "→ Remnawave",
|
||||
"type": "selector",
|
||||
"outbounds": null,
|
||||
"interrupt_exist_connections": true
|
||||
},
|
||||
{
|
||||
"tag": "Fastest",
|
||||
"url": "http://www.gstatic.com/generate_204",
|
||||
"type": "urltest",
|
||||
"interval": "30s",
|
||||
"outbounds": [
|
||||
"→ Remnawave"
|
||||
],
|
||||
"tolerance": 50
|
||||
},
|
||||
{
|
||||
"tag": "PROXY",
|
||||
"type": "selector",
|
||||
"outbounds": [
|
||||
"Fastest",
|
||||
"→ Remnawave",
|
||||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "RU-Banned",
|
||||
"type": "selector",
|
||||
"outbounds": [
|
||||
"PROXY",
|
||||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "Реклама",
|
||||
"type": "selector",
|
||||
"outbounds": [
|
||||
"block",
|
||||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "direct",
|
||||
"type": "direct"
|
||||
},
|
||||
{
|
||||
"tag": "block",
|
||||
"type": "block"
|
||||
}
|
||||
],
|
||||
"experimental": {
|
||||
"clash_api": {
|
||||
"external_ui": "metacubexd",
|
||||
"default_mode": "rule",
|
||||
"external_controller": "127.0.0.1:9090",
|
||||
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
|
||||
"external_ui_download_detour": "direct"
|
||||
},
|
||||
"cache_file": {
|
||||
"path": "remnawave.db",
|
||||
"enabled": true,
|
||||
"cache_id": "remnawave",
|
||||
"store_fakeip": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user