Skip to content

🔑 A CLI tool to automate and manage WireGuard® peers. Made to complement the existing wireguard-tools subset.

License

Notifications You must be signed in to change notification settings

nathanlytang/wg-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wg-cli

A tool to automate and manage WireGuard™ peers.


Install

  1. Clone the repository or download and unzip the .tar file into /etc/wg-cli/.
  2. Compile wg-cli.c if cloning the repository.
  3. Copy the binary into /usr/local/bin/.
  4. Fill out template.conf in /etc/wg-cli/, leaving "PrivateKey" and "Address" blank.

Usage

  • 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 🚧

About

🔑 A CLI tool to automate and manage WireGuard® peers. Made to complement the existing wireguard-tools subset.

Topics

Resources

License

Stars

Watchers

Forks