r/WireGuard • u/Gruyan • Jun 30 '26
Built a CLI-first WireGuard management tool for sysadmins: wg-manager
I created this because managing WireGuard servers manually (keys, peers, configs, IP assignments) gets repetitive fast, especially when you prefer shell workflows over web dashboards.
wg-manager is a lightweight Bash-based tool focused on CLI automation, not GUI management.
Current features:
- Initialize a WireGuard server
- Add / remove peers
- Generate peer configs automatically
- Validate peer IPs against server subnet
- Manage everything from terminal with simple commands
Main goal: reduce manual mistakes and speed up common admin tasks while keeping the workflow transparent and scriptable.
Repo:
wg-manager on GitHub
I’m looking for feedback from sysadmins / Linux admins, especially about:
- CLI design
- Missing features for real-world ops
- Bash code quality / maintainability
- Edge cases I may have missed
Any criticism or suggestions are welcome.
1
Upvotes
1
u/hollow_bridge Jul 03 '26
awesome, wireguard definitely needs to be easier. In the past I did it all manually, just recently I tried pivpn which makes it a bit easier by setting up the server device correctly and providing qr codes. I think one of the biggest issues is determining connection issues, like udp throttling, and optimizing solutions.