Generate Wireguard keys
Generate Client config QR code
<client-name>
Local interface used for connection
IP address/FQDN used for client connection
<hostname>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8"
IPv4/IPv6 address used by client
<x.x.x.x> <h:h:h:h:h:h:h:h>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8" --address "${10}"
IPv4/IPv6 address used by client
<x.x.x.x> <h:h:h:h:h:h:h:h>
sudo ${vyos_op_scripts_dir}/wireguard_client.py --name "$4" --interface "$6" --server "$8" --address "${10}" --address "${12}"
Show Wireguard properties
Show Wireguard keys
Show Wireguard public keys
${vyos_op_scripts_dir}/wireguard.py --showpub
Show Wireguard private keys
${vyos_op_scripts_dir}/wireguard.py --showpriv
${vyos_op_scripts_dir}/wireguard.py --showpub --showpriv
Show Wireguard interface information
sudo ${vyos_op_scripts_dir}/wireguard.py --showinterface "$4"
Show all IP addresses allowed 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
Shows current configuration and device information
sudo wg show "$4"
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"