跳转到内容
shoes

wireguard_outer_chain.yaml

所有示例

使用前请修改地址、凭据、证书路径和其他部署相关的值。这是完整的源文件,但不保证未经修改即可在你的机器上运行。请阅读文件中的注释了解前置条件,然后对修改后的文件运行 shoes check。

examples/wireguard_outer_chain.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

查看此修订版本的源文件