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"
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"
show wireguard interface information
sudo ${vyos_op_scripts_dir}/wireguard.py "$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"