
wg
List of commands for wg:
-
wg:tldr:798ba wg: Show the current configuration of a wireguard interface.$ wg showconf ${wg0}try on your machineexplain this command
-
wg:tldr:a9b38 wg: Generate a public key from a private key.$ wg pubkey < ${path-to-private_key} > ${path-to-public_key}try on your machineexplain this command
-
wg:tldr:aba62 wg: Generate a public and private key.$ wg genkey | tee ${path-to-private_key} | wg pubkey > ${path-to-public_key}try on your machineexplain this command
-
wg:tldr:d876b wg: Check status of currently active interfaces.$ wgtry on your machineexplain this command