mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 08:14:11 +00:00
Make WireGuard use the same inline client and server protocol syntax as other proxies, replacing named endpoints before release. Add automatic sharing of equivalent clients, encrypted peer chains, explicit server routing policy, and validation that rejects conflicting settings while keeping unused clients inactive. Update examples, configuration documentation, and lifecycle and interoperability coverage.
28 lines
883 B
YAML
28 lines
883 B
YAML
# Demonstration keys and credentials only. Replace them and both remote addresses.
|
|
- client_group: outer
|
|
client_proxies:
|
|
- address: "relay.example:443"
|
|
protocol:
|
|
type: tls
|
|
protocol:
|
|
type: vless
|
|
user_id: "b85798ef-e9dc-46a4-9a87-8da4499d36d0"
|
|
udp_enabled: true
|
|
|
|
- address: "0.0.0.0:1080"
|
|
protocol: {type: socks}
|
|
rules:
|
|
- masks: ["0.0.0.0/0", "::/0"]
|
|
action: allow
|
|
client_chain:
|
|
- address: "vpn.example:51820"
|
|
protocol:
|
|
type: wireguard
|
|
private_key: "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio="
|
|
public_key: "F9firNML9eGdhhroCYjRf66PZi9dgLAFP2zHPNqx0mQ="
|
|
addresses: ["10.77.0.2/32", "fd77::2/128"]
|
|
allowed_ips: ["0.0.0.0/0", "::/0"]
|
|
persistent_keepalive: 25
|
|
mtu: 1280
|
|
peer_client_chain: outer
|