wireguard key generation utility
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"
Show wireguard properties
Show wireguard public key
${vyos_op_scripts_dir}/wireguard.py --showpub
show wireguard private key
${vyos_op_scripts_dir}/wireguard.py --showpriv
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"
show wireguard interface information
sudo wg show "$4"
show all allowed-ips for the specified interface
sudo wg show "$4" allowed-ips
show all endpoints for the specified interface
sudo wg show "$4" endpoints
show all peer IDs for the specified interface
sudo wg show "$4" peers
Delete wireguard properties
Delete a wireguard keypair
sudo ${vyos_op_scripts_dir}/wireguard.py --delkdir --location "$4"