Aegis-VPN v3.0.0 #10
rabindra789
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's New
This is a major version release — the largest update since the project started.
Bug Fixes
add_client.sh— Fixed undefined$CLIENT_IPvariable that silently wrote broken peer entriesadd_client.sh— Fixed IP collision bug when re-adding clients after deletion (replacedls | grep -cwith lock file + counter)manage_clients.sh— Fixed destructivesedregex that could corruptwg0.confon client removal (rewritten withawk)setup.sh— Fixed typo/etc/systl.conf→/etc/sysctl.conf(IP forwarding was not persisting across reboots)New Features
Server-Side Key Rotation (
aegis-vpn rotate-server)Resolves #5. Rotates the WireGuard server private key with minimal client disruption:
wg set— interface stays up, no firewall flush--qrflag re-displays QR codes for all clients after rotationClient Key Rotation (
aegis-vpn rotate <client>)Regenerates a single client's keys without changing their IP, DNS, or tunnel mode. New QR code displayed automatically.
Status Dashboard (
aegis-vpn status)Shows WireGuard service state, uptime, and per-peer bandwidth (sent/received) via
wg show transfer.Backup & Restore (
aegis-vpn backup/aegis-vpn restore <file>)Creates a timestamped tarball of
/etc/wireguard/andclients/. Restore stops WireGuard, extracts, and restarts cleanly.Config Validation (
aegis-vpn check)Validates
wg0.confintegrity: checks key formats, detects orphaned peers (in server config but no client file), and detects orphaned client files (no matching server peer).DNS Selection
When adding a client, choose your DNS resolver: Cloudflare, Google, Quad9, or custom.
Split Tunneling
When adding a client, choose between full tunnel (
0.0.0.0/0) or VPN-only subnet routing.Log Rotation
Logs auto-rotate at 10 MB, keeping 3 rotations.
Hardening
scripts/lib.shshared library — eliminates duplicated constants across all scriptsip route(removes hardcodedenX0)set -euo pipefailacross all scripts[a-zA-Z0-9_-], max 32 chars)CLI / UX
wg showdata (replaces log file parsing)listwith Name / IPv4 / IPv6 / Status / Last Handshakeaegis-vpn --help,aegis-vpn versionNew Files
scripts/lib.shscripts/rotate_server.shscripts/rotate_client.shscripts/backup_restore.shscripts/validate.shUpgrade from v1.x
No migration needed — existing
clients/*.confand/etc/wireguard/wg0.confremain compatible.Run
aegis-vpn checkafter upgrading to verify config integrity.This discussion was created from the release Aegis-VPN v3.0.0.
All reactions