Wireguard cli reference

set wireguard async mode

set wireguard async mode on|off

Declaration: wg_set_async_mode_command src/plugins/wireguard/wireguard_cli.c line 393

Implementation: wg_set_async_mode_command_fn

show wireguard interface

show wireguard

Declaration: wg_show_itfs_command src/plugins/wireguard/wireguard_cli.c line 359

Implementation: wg_show_if_command_fn

show wireguard mode

show wireguard mode

Declaration: wg_show_modemode_command src/plugins/wireguard/wireguard_cli.c line 414

Implementation: wg_show_mode_command_fn

show wireguard peer

show wireguard peer

Declaration: wg_show_peers_command src/plugins/wireguard/wireguard_cli.c line 329

Implementation: wg_show_peer_command_fn

wireguard create

wireguard create listen-port <port> private-key <key> src <IP> [generate-key]

Create a Wireguard interface.

Declaration: wg_if_create_command src/plugins/wireguard/wireguard_cli.c line 98

Implementation: wg_if_create_cli

wireguard delete

wireguard delete <interface>

Delete a Wireguard interface.

Declaration: wg_if_delete_command src/plugins/wireguard/wireguard_cli.c line 147

Implementation: wg_if_delete_cli

wireguard peer add

wireguard peer add <wg_int> public-key <pub_key_other> endpoint <ip4_dst> allowed-ip <prefix> dst-port [port_dst] persistent-keepalive [keepalive_interval]

Declaration: wg_peer_add_command src/plugins/wireguard/wireguard_cli.c line 255

Implementation: wg_peer_add_command_fn

wireguard peer remove

wireguard peer remove <index>

Declaration: wg_peer_remove_command src/plugins/wireguard/wireguard_cli.c line 303

Implementation: wg_peer_remove_command_fn