Skip to main content
Version: 7.24

peers


interface/wireguard/peers​

Type: Directory

FlagNameDescription
Xdisableddisabled
Ddynamicdynamic
ArgumentTypeDescription
interface ( mandatory )iface_enum
namestring
public-keystring
private-keyalt { private-key: enum (none | auto) { none:0, auto:1 } , private-key: string }
endpoint-addressaddress (flags=46D)
endpoint-portnum
allowed-address ( mandatory )multi { allowed-address: address (flags=46/) }
preshared-keyalt { preshared-key: enum (none | auto) { none:0, auto:1 } , preshared-key: string }
persistent-keepalivetime
client-addressmulti { client-address: address (flags=46/) }
client-dnsmulti { client-dns: address (flags=46D) }
client-endpointaddress (flags=46D)
client-keepalivetime
client-listen-portnum
client-allowed-addressmulti { client-allowed-address: address (flags=46/) }
responderbool
Read-only ArgumentTypeDescription
current-endpoint-addressaddress (flags=46)
current-endpoint-portnum
rxnum
txnum
last-handshaketime