Files
shoes/examples/clash_api.yaml
cfal fbcc5f9d46 Add Clash API and runtime proxy selectors (#213)
Expose runtime proxy selection and connection visibility without restarting Shoes. This adds an opt-in authenticated Clash-compatible TCP/Unix API, persistent selector choices, traffic and connection statistics, delay probes, live logs, and per-flow cancellation, with reload-aware integration across proxy protocols, DNS, and TUN.
2026-10-23 17:50:36 -04:00

31 lines
663 B
YAML

- clash_api_address: "0.0.0.0:9090"
secret: "replace-with-a-strong-controller-secret"
cors_origins:
- "https://board.zash.run"
- cache_file_path: "./cache.db"
- client_group: outbound
strategy: selector
default: us-east
client_proxies:
- name: us-east
address: "us.example.com:1080"
protocol:
type: socks
- name: eu-west
address: "eu.example.com:1080"
protocol:
type: socks
- name: local-socks
address: "0.0.0.0:1080"
protocol:
type: socks
username: example
password: "replace-with-a-proxy-password"
rules:
- mask: "0.0.0.0/0"
action: allow
client_chain: outbound