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
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
show wireguard interface information
${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$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
Show WireGuard interface information
${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireguard --action=show-brief