mihomo-kit/templates/proxies/20-tailscale.yaml
2026-10-23 18:15:43 +03:00

16 lines
825 B
YAML

# Tailscale: userspace node, starts on first use. First login: open the URL
# from the nikki log ("To start this tsnet server ... go to: ..."), then
# disable key expiry for this node. Needs TS_FORCE_NOISE_443=true in the
# mihomo environment (mihomo-kit.sh fix).
- name: tailscale
type: tailscale
hostname: ${TS_HOSTNAME}
state-dir: ./tailscale
udp: true
accept-routes: true
dialer-proxy: TS-EXIT #@ts_exit
# whitelist: control and DERP over TCP through own servers (MY -> own node -> MY-EXIT); #@whitelist,!ts_exit
# MY holds hysteria2 from the settings and "[MY]" nodes of the subscriptions; empty MY is direct #@whitelist,!ts_exit
# needs the kit's core (v1.19.32-ts1, tools/core/*.patch, MetaCubeX/mihomo#3142) #@whitelist,!ts_exit
dialer-proxy: MY #@whitelist,!ts_exit