A tool to automate and manage WireGuard™ peers.
- Clone the repository or download and unzip the .tar file into
/etc/wg-cli/
. - Compile
wg-cli.c
if cloning the repository. - Copy the binary into
/usr/local/bin/
. - Fill out
template.conf
in/etc/wg-cli/
, leaving "PrivateKey" and "Address" blank.
- create-peer: Generates a new peer configuration file and copies the peer into the Wireguard™ interface configuration file.
- remove-peer: Removes an existing peer from the interface configuration file and deletes the peer configuration file.
- show: 🚧 In progress 🚧