A simple, lightweight, zero-dependency VPN management toolkit for Linux (Fedora, Ubuntu, Arch), supporting OpenVPN and WireGuard.
Easily manage VPN profiles, connect/disconnect, and add/remove configs β all from the command line.
- π List available VPN profiles (
myvpn list) - π‘ Show active VPN connections (
myvpn status) - π Connect to OpenVPN or WireGuard (
myvpn connect <name>) - π Disconnect VPN (
myvpn disconnect <name>) - β Add new VPN configurations (
myvpn add openvpn <file.ovpn>/myvpn add wireguard <file.conf>) - π Remove VPN configurations safely (
myvpn remove <name>) - β Zero extra dependencies (uses only Bash, OpenVPN, WireGuard, systemctl)
Run a single command to install the toolkit:
curl -s https://raw.githubusercontent.com/nexoslabs/vpn-toolkit/main/install.sh | sudo bashThis will:
- Install OpenVPN and WireGuard if missing.
- Download
myvpn.shinto/usr/local/bin/myvpn. - Make it executable.
No other dependencies are required.
# List available VPN profiles
myvpn list
# Show active VPN connections
myvpn status
# Connect to a VPN
myvpn connect <name>
# Disconnect a VPN
myvpn disconnect <name>
# Add a new OpenVPN configuration
myvpn add openvpn ~/Downloads/myvpn.ovpn
# Add a new WireGuard configuration
myvpn add wireguard ~/Downloads/home.conf
# Remove a VPN configuration
myvpn remove <name>myvpn add openvpn ~/Downloads/work.ovpn
myvpn connect work
myvpn status
myvpn disconnect work
myvpn remove workWe β€οΈ contributions! Follow these steps to contribute:
- π΄ Fork the repository
- πΏ Create a new branch (
git checkout -b feature/AmazingFeature) - πΎ Commit your changes (
git commit -m 'Add some AmazingFeature') - π Push to the branch (
git push origin feature/AmazingFeature) - π Open a Pull Request
π See our Contribution Guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for details.
π¬ Join us on Discord: Click Here
π¦ Follow on Twitter: @nexoslabs
π§ Email: contact@nexoscreation.tech
Made with β€οΈ by the @nexoslabs Team
- OpenVPN configs should be placed in
/etc/openvpn/client/and WireGuard configs in/etc/wireguard/. - The toolkit relies on system-provided
wg-quickandopenvpn-client@.servicefor starting/stopping connections. - Always run
myvpn connect <name>with sudo if required by system services.
Built with β€οΈ for Linux users who want a simple, fast VPN CLI manager.