A command-line tool to manage Wireguard configuration
wg-manage is a simple CLI tool that allows to keep your wireguard configurations in-sync across clients and servers by keeping a source of truth in a single yaml configuration file that's then used to generate device-specific .conf files standard Wireguard tools (wg, wg-quick, device clients) understand.
Note: The snap-packaged version of the tool is restricted to access the filesystem to home folder.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install wg-manage, simply use the following command: