https://github.com/nathanlytang/wg-cli
🔑 A CLI tool to automate and manage WireGuard® peers. Made to complement the existing wireguard-tools subset.
https://github.com/nathanlytang/wg-cli
c cli vpn wireguard
Last synced: over 1 year ago
JSON representation
🔑 A CLI tool to automate and manage WireGuard® peers. Made to complement the existing wireguard-tools subset.
- Host: GitHub
- URL: https://github.com/nathanlytang/wg-cli
- Owner: nathanlytang
- License: mit
- Created: 2021-02-01T03:17:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-18T05:48:11.000Z (about 5 years ago)
- Last Synced: 2024-10-24T06:28:52.782Z (over 1 year ago)
- Topics: c, cli, vpn, wireguard
- Language: C
- Homepage:
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 đźš§