wg

Manage the configuration of WireGuard interfaces.

TLDR

Check status of currently active interfaces

$ sudo wg
copy

Print a new private key

$ wg genkey
copy

Print a new public key

$ echo [private_key] | wg pubkey
copy

Generate a public and private key

$ wg genkey | tee [privatekey.txt] | wg pubkey > [publickey.txt]
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies