mihomo-kit/templates/groups/45-hy2.yaml
2026-10-11 10:46:04 +03:00

20 lines
746 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
tolerance: 50
lazy: false
# 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