mihomo-kit/templates/proxies/30-own_srv.yaml

9 lines
540 B
YAML

# own servers of the settings (LuCI "Свои серверы", /etc/nikki/my-servers): one JSON
# proxy per line, as mihomo's own config would have it; the kit puts dialer-proxy in
# front: whitelist and the phone through MY-EXIT, else with UPLINK (CSQTT, pools) through it.
# A server with an entry of its own (LuCI "Вход") keeps it in every profile
- {"dialer-proxy": "MY-EXIT", ${@@OWN_PLAIN} #@my_exit
- {"dialer-proxy": "UPLINK", ${@@OWN_PLAIN} #@uplink,!my_exit
- {${@@OWN_PLAIN} #@!my_exit,!uplink
${@@OWN_ENTRY}