mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 16:14:11 +00:00
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.
31 lines
663 B
YAML
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
|