21 lines
902 B
YAML
21 lines
902 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
|
|
# street: through own servers: ts-loop -> rule IN-NAME -> MY -> hysteria2 -> FOREIGN #@street,hy2,!ts_exit
|
|
dialer-proxy: ts-loop #@street,hy2,!ts_exit
|
|
|
|
# loopback to the ts-loop inbound (templates/head/20-tailscale.yaml) #@street,hy2,!ts_exit
|
|
- name: ts-loop #@street,hy2,!ts_exit
|
|
type: socks5 #@street,hy2,!ts_exit
|
|
server: 127.0.0.1 #@street,hy2,!ts_exit
|
|
port: ${TS_LOOP_PORT} #@street,hy2,!ts_exit
|
|
udp: true #@street,hy2,!ts_exit
|