mihomo-kit/templates/groups/45-sub.yaml
2026-10-21 12:08:02 +03:00

24 lines
927 B
YAML

# own servers: hysteria2 from the settings (HY2) and the "[MY] ..." nodes of the
# subscriptions (providers <id>-my); the fastest alive one; pin one in the dashboard if needed
- name: MY
type: url-test
proxies: [${HY2_LIST}] #@hy2
use: [${MY_SUB_LIST}]
url: "https://www.gstatic.com/generate_204"
interval: 300 #@!lite
interval: 600 #@lite
tolerance: 50
lazy: false #@!lite
lazy: true #@lite
# whitelist and mobile (my_exit): what own servers are reached through; switches only when the node is
# clearly worse or dead (each switch breaks everything going through MY)
- name: MY-EXIT #@my_exit
type: url-test #@my_exit
use: [${SUB_LIST}] #@my_exit
exclude-filter: "(?i)🇷🇺|\\bru\\b|russia|росси|моск" #@my_exit
url: "https://www.gstatic.com/generate_204" #@my_exit
interval: 300 #@my_exit
tolerance: 300 #@my_exit
lazy: false #@my_exit