Generate WireGuard peer config
wg_config_generateGenerate a fresh WireGuard keypair and ready-to-paste client config. Read-only operation prints config and keys without modifying any interface.
Instructions
Generate a fresh WireGuard keypair and a ready-to-paste client config. Read-only — it does NOT modify any interface; it just prints the config and keys for you to use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | DNS server for the client | |
| address | No | client tunnel address, e.g. 10.0.0.2/32 | |
| allowed_ips | No | routes through the tunnel (default 0.0.0.0/0, ::/0) | |
| server_endpoint | No | server host:port, e.g. vpn.example.com:51820 | |
| server_public_key | No | the server's public key |