I want to configure the WireGuard add-on through the add-on configuration to completely avoid using a text editor. To do this, I need to add the private and public keys for the peer and server. However, the private key for the client is not being added. What am I doing wrong? Here is my add-on configuration.
server:
host: 177.37.187.107
addresses:
- 10.10.1.1
dns:
- 192.168.0.1
public_key: JSxaZeBOjbjaVNouxATdnOpryu9bLVmqd/VdScbPHQA=
private_key: L36svVoi8/VE0Gxd6TD4lCw7jJbc/Bf+JKreXAaX5+U=
peers:
- name: user-1
addresses:
- 10.10.1.2
endpoint: 177.37.187.107:51821
allowed_ips: []
client_allowed_ips:
- 192.168.0.0/24
- 10.10.10.0/24
public_key: QNLXV8lrsPnKOd011DO8g5DWyad6iHJDSVOD6yOqjiE=
private_key: kRltxveV0CbHv2vFiRU7GMPNB4Ur7UsaM8k5WqZEsJk=
client.conf
[Interface]
Address = 10.10.1.2/24
DNS = 192.168.0.1
[Peer]
PublicKey = JSxaZeBOjbjaVNouxATdnOpryu9bLVmqd/VdScbPHQA=
Endpoint = 177.37.187.107:51821
AllowedIPs = 192.168.0.0/24, 10.10.10.0/24
PersistentKeepalive = 25