wireguard key generation utility
generates the wireguard default-keypair
sudo ${vyos_op_scripts_dir}/wireguard.py --genkey
generate a wireguard preshared key
${vyos_op_scripts_dir}/wireguard.py --genpsk
Generates named wireguard keypairs
sudo ${vyos_op_scripts_dir}/wireguard.py --genkey --location "$4"
Generate Client config QR code
<client-name>
Local interface used for connection
IP address/FQDN used for client connection
<hostname>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8"
IPv4/IPv6 address used by client
<x.x.x.x> <h:h:h:h:h:h:h:h>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8" --address "${10}"
IPv4/IPv6 address used by client
<x.x.x.x> <h:h:h:h:h:h:h:h>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8" --address "${10}" --address "${12}"
Show wireguard properties
Shows named wireguard keys
Show wireguard private named key
${vyos_op_scripts_dir}/wireguard.py --showpub --location "$5"
Show wireguard public named key
${vyos_op_scripts_dir}/wireguard.py --showpriv --location "$5"
Delete wireguard properties
Delete a wireguard keypair
sudo ${vyos_op_scripts_dir}/wireguard.py --delkdir --location "$4"