This commit is contained in:
2025-08-04 09:57:00 +03:00
3 changed files with 52 additions and 28 deletions

View File

@@ -24,6 +24,13 @@ log-level: info
disable-keep-alive: true
# interface-name: en0 # Outbound interface name
# enable model auto update, the default is false
lgbm-auto-update: true
# model auto update interval, the default is 72 (hours)
lgbm-update-interval: 72
# model update url
lgbm-url: "https://github.com/vernesong/mihomo/releases/download/LightGBM-Model/Model.bin"
# ————————————————————————————————————— hosts ————————————————————————————————————
hosts:
@@ -31,6 +38,8 @@ hosts:
profile:
store-selected: true
store-fake-ip: true
#smart-collector-size: data collection file size, the default is 100 (MB)
smart-collector-size: 100
# ———————————————————————————————————— sniffer ———————————————————————————————————
sniffer:
@@ -152,6 +161,18 @@ dns:
- arza-1
- Un1c4d3
np-vpn-list_smart_gr: &np_vpn_list_smart_gr
type: smart
policy-priority: "Premium:0.9;SG:1.3"
uselightgbm: true
collectdata: true
strategy: 'sticky-sessions'
sample-rate: 1
use:
- xfizz
- arza-1
- Un1c4d3
np-vpn-list_balancer: &np_vpn_list_balancer
type: load-balance
strategy: sticky-sessions
@@ -335,8 +356,19 @@ proxy-groups:
# —————————————— url tested for non-personal vpn —————————————
- name: ⌚ Europe 🌍
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland"
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Spain|UK|Switzerland|Italy|Norway|Belgium"
<<: [*np_vpn_list_url_test, *health_check_for_load_balancers]
# ————————————— smart groups for non-personal vpn —————————————
- name: 🧠 Europe 🌍
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Spain|UK|Switzerland|Italy|Norway|Belgium"
<<: [*np_vpn_list_smart_gr, *health_check_for_load_balancers]
- name: 🧠 All non-personal
disable-udp: false
filter: ""
<<: [*np_vpn_list_smart_gr, *health_check_for_selectors]
# ———————————— load balancers for non-personal vpn ———————————
- name: ⚖️ Asia 🌍
@@ -347,7 +379,7 @@ proxy-groups:
- name: ⚖️ Europe 🌍
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland"
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Spain|UK|Switzerland|Italy|Norway|Belgium"
<<: [*np_vpn_list_balancer, *health_check_for_load_balancers]
hidden: true
@@ -388,7 +420,7 @@ proxy-groups:
- name: 🔢 Europe 🌍
disable-udp: false
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Moldova"
filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Spain|UK|Switzerland|Italy|Norway|Belgium|Moldova"
<<: [*np_vpn_list_selector, *health_check_for_selectors]
- name: 🔢 Kazakhstan 🌍
@@ -411,21 +443,6 @@ proxy-groups:
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✅"
@@ -437,9 +454,7 @@ proxy-groups:
type: select
proxies:
- 🔢 Russian 🌍
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- 🧠 Europe 🌍
- ⚖️ Europe 🌍
- ⚖️ Russian 🌍
- ⚖️ Personal VPN
@@ -453,7 +468,7 @@ proxy-groups:
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Fast Servers
- 🧠 Europe 🌍
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
@@ -471,11 +486,11 @@ proxy-groups:
- name: ✳️ Adaptaion
type: select
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Fast Servers
- 🧠 Europe 🌍
- 🧠 All non-personal
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
@@ -483,11 +498,11 @@ proxy-groups:
- name: ✳️ Antifilter
type: select
proxies:
- 🔢 Fast Servers
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- ⚖️ Fast Servers
- 🧠 Europe 🌍
- 🧠 All non-personal
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
@@ -498,6 +513,7 @@ proxy-groups:
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- 🧠 Europe 🌍
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
@@ -508,6 +524,7 @@ proxy-groups:
- 🔢 Personal VPN
- 🔢 Europe 🌍
- ⌚ Europe 🌍
- 🧠 Europe 🌍
- ⚖️ Personal VPN
- ⚖️ Europe 🌍
<<: *health_check_for_selectors
@@ -523,11 +540,12 @@ proxy-groups:
- 🔢 Kazakhstan 🌍
- 🔢 Personal VPN
- ⌚ Europe 🌍
- 🧠 Europe 🌍
- 🧠 All non-personal
- ⚖️ Russian 🌍
- ⚖️ Europe 🌍
- ⚖️ USA 🌍
- ⚖️ Asia 🌍
- ⚖️ Fast Servers
- ⚖️ Personal VPN
<<: *health_check_for_selectors

View File

@@ -15,3 +15,4 @@ payload:
- DOMAIN-SUFFIX,notion.new
- DOMAIN-SUFFIX,notion.site
- DOMAIN-SUFFIX,notion.so
- DOMAIN-SUFFIX,notionusercontent.com

View File

@@ -27,5 +27,10 @@ iptables -t nat -C OUTPUT -p tcp -j CLASH_REDIR 2>/dev/null || \
iptables -t nat -A OUTPUT -p tcp -j CLASH_REDIR
# Редирект вайргарда от Netbird неа порт 7982
# Перенаправляем трафик от интерфейса netbird в clash
iptables -t nat -C PREROUTING -i wt0 -p tcp -j REDIRECT --to-port 7892 2>/dev/null || \
iptables -t nat -A PREROUTING -i wt0 -p tcp -j REDIRECT --to-port 7892
iptables -t nat -A PREROUTING -i wt0 -p tcp -j REDIRECT --to-port 7892
# Перенаправляем трафик от интерфейса wireguard в clash
iptables -t nat -C PREROUTING -i wg0 -p tcp -j REDIRECT --to-port 7892 2>/dev/null || \
iptables -t nat -A PREROUTING -i wg0 -p tcp -j REDIRECT --to-port 7892