A CLI-based WireGuard VPN manager written in Rust.
-
List available WireGuard VPN profiles
-
Start and stop VPN connections
-
View currently active VPN connections
-
WireGuard Configuration Editor
-
Status log for recent actions
-
Simple keyboard navigation
Make sure you have Rust installed. Then, clone the repository and build the project:
git clone https://github.com/mmrmagno/rustguard.git
cd rustguard
cargo build --release
sudo ./target/release/rustguard
Manager:
↑ / ↓ or h / j / k / l - Navigate profiles
Enter - Connect/Disconnect VPN
D - View VPN details
E - Edit WireGuard configuration
S - View status log
H - Open help screen
Q - Quit
Editor:
Normal mode: i, a, o, h/j/k/l, x, D, ?, Ctrl+S, Esc
Insert mode: Standard text input; press Esc to return to Normal mode.
-
Rust
-
WireGuard (wg-quick installed)
-
sudo privileges to manage VPNs
RustGuard is licensed under the Apache License 2.0.