mihomo-kit/templates/groups/45-hy2.yaml
2026-10-18 19:29:39 +03:00

22 lines
809 B
YAML

# own hysteria2 servers: the fastest alive one; pin one in the dashboard if needed
- name: MY
type: url-test
proxies: [${HY2_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 (hy2_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 #@hy2_exit
type: url-test #@hy2_exit
use: [${SUB_LIST}] #@hy2_exit
exclude-filter: "(?i)🇷🇺|\\bru\\b|russia|росси|моск" #@hy2_exit
url: "https://www.gstatic.com/generate_204" #@hy2_exit
interval: 300 #@hy2_exit
tolerance: 300 #@hy2_exit
lazy: false #@hy2_exit