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 QR code and movile configuration for Wireguard interface
IP address or FQDN the client will connect to
<hostname>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --interface "$4" --server "$6"
IPv4/IPv6 address used on the client side
<hostname>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --interface "$4" --server "$6" --address "$8"
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 --showinterface "$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
${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireguard --action=show-brief
Show detailed wireguard interface information
${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireguard --action=show
Delete wireguard properties
Delete a wireguard keypair
sudo ${vyos_op_scripts_dir}/wireguard.py --delkdir --location "$4"