vpn peer public-key
Specify a VPN peer's public key.
Syntax
Syntax Description
no
(Optional) Removes the peer public key from the VPN.
id
The VPN identifier. Must be a number in the range 0-1022 or the keyword "auto".
key
The peer's public key
Defaults
None; a peer's public key must be defined before communcations can take place.
Usage Guidelines
Each end of a WireGuard VPN has a public/private key pair. The private key is known only to that end, while the public key is shared with the VPN's peer(s).
This command provides Island with a VPN peer's public key.
If a VPN exists with the specified identifier, the existing VPN will be modified; otherwise, a new VPN with the specified identifier will be created. If "auto" is specified for the identifier, a new VPN will be created using the next available identifier.
Examples
Related Commands
Last updated