wireguard key generation utility
generate a wireguard keypair
${vyos_op_scripts_dir}/wireguard.py --genkey
generate a wireguard preshared key
${vyos_op_scripts_dir}/wireguard.py --genpsk
Wireguard properties
show wireguard public key
${vyos_op_scripts_dir}/wireguard.py --showpub
show wireguard private key
${vyos_op_scripts_dir}/wireguard.py --showpriv
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