I’m trying to configure a VyOS instance to connect to a WireGuard VPN provider.
This provider is supplying both their public key but also a private key for me to use when connecting.
I can’t find a way to import a private key in the official docs, only how to generate one.
Is there a way to import a private key?
Have I maybe misunderstood something?
Example (fake) of the configuration my provider have given me:
[Interface] PrivateKey = CCDLzjaJyZRiduN4Qk4vcpPiFPDJ5a6EHSeryrbFdW8= Address = 10.0.0.5/24 DNS = 10.0.0.10, 10.0.0.11 [Peer] PublicKey = e2YIp/0hLXpUFA2pBqVvR635OLF8dP5DEpgXnSx5rn4= Endpoint = vpn.example.com:12345 AllowedIPs = 0.0.0.0/0