/ip/cloud/back-to-home-user/show-client-config
show-client-config
Prints the WireGuard configuration of a user and the same configuration as a QR code. Import it in a WireGuard app. Give the user by its number or with [find name=]; a name alone is a syntax error. The configuration...
ip/cloud/back-to-home-user/show-client-config
Syscap: cloud-vpn Type: Command
打印用户的 WireGuard 配置以及同一配置的二维码。可在 WireGuard 应用中导入。通过编号或 [find name=<name>] 指定用户;仅提供名称会导致语法错误。该配置包含第二个对等体,其密钥为占位符,且 AllowedIPs = 0.0.0.0/32,不承载流量;客户端通过第一个对等体连接,路由器使用中继时也是如此。
| 只读参数 | 类型 | 描述 |
|---|---|---|
conf | string | 用户的 WireGuard 配置。 |
qr | pic | 以二维码形式表示的配置。 |