Hi Team,
Is it possible to copy the default wireguard keys from one device to another? This is again from fault tolerance perspective so that if one device fails I can keep my other device ready.
Hi Team,
Is it possible to copy the default wireguard keys from one device to another? This is again from fault tolerance perspective so that if one device fails I can keep my other device ready.
This depends on the VyOS version used.
Starting VyOS 1.4 the private key is embeded in the active configuration so you can extract it easily. With VyOS 1.3 you can find the key in /config/auth/wireguard/default/private.key
and /config/auth/wireguard/default/public.key
- simply copy those files to the other router and restore file permissions.
Thanks for the help and much appreciated
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.