mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 08:14:11 +00:00
Allow client groups to select complete paths of different lengths consistently across forwarding, DNS, downloads, and carrier routes. Separate source configuration from bounded runtime plans, preserve selection boundaries and per-flow path pinning, and keep TCP/UDP rotation and automatic selection independent. Unify chain syntax while retaining legacy proxy-list alternatives, and cache up to 16 NaiveProxy sessions by selected prefix, pruning closed entries before LRU eviction without interrupting active tunnels. Add routing measurements, lifecycle coverage, and updated English and Chinese configuration guidance.
33 lines
716 B
YAML
33 lines
716 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
|
|
type: selector
|
|
default: us-east
|
|
client_chains:
|
|
- chain:
|
|
- name: us-east
|
|
address: "us.example.com:1080"
|
|
protocol:
|
|
type: socks
|
|
- chain:
|
|
- 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
|