generate_wireguard_client_config
Generates a wg0.conf client config from your keys, client address, and server endpoint. Use it to create a ready-to-use WireGuard client configuration for MikroTik without accessing 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 |