generate_wireguard_client_config
Generate a WireGuard client configuration (wg0.conf) from client keys, address, and server endpoint. Returns the ready-to-use config string without contacting the router.
Instructions
Generates a wg0.conf client config string from the given keys and server endpoint. Does not communicate with the router.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | ||
| device | No | ||
| allowed_ips | No | 0.0.0.0/0 | |
| server_port | No | ||
| client_address | Yes | ||
| server_endpoint | Yes | ||
| server_public_key | Yes | ||
| client_private_key | Yes | ||
| persistent_keepalive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |