A GUI tool for managing OpenVPN connections with SAML authentication support. This application provides a user-friendly interface for connecting to OpenVPN Access Servers using the OpenVPN 3 client.
- Simple GUI interface for OpenVPN connections
- SAML authentication support
- Easy profile configuration
- Connection status monitoring
- Session details viewer
- System tray integration
- Cross-distribution compatibility
- Ubuntu/Kubuntu (Tested on Kubuntu with KDE Plasma)
- Debian-based distributions
- Fedora
- Arch Linux
- Other Linux distributions with OpenVPN3 support
- OpenVPN3 (
openvpn3) - KDE Plasma Desktop Environment
- KDialog (
kdialog) - Bash shell
- OpenVPN Access Server profile (
.ovpnfile)
-
Clone the repository:
git clone https://github.com/StefTzor/ovpn-saml-manager.git cd ovpn-saml-manager -
Run the installer:
./install.sh
The installer will:
- Check and install required dependencies
- Create necessary directories
- Set up the application structure
- Create desktop entries
- Configure initial VPN profile
-
Ensure OpenVPN3 is installed on your system:
For Ubuntu/Debian:
sudo apt-get update sudo apt-get install openvpn3
For Fedora:
sudo dnf install openvpn3-client
For Arch Linux:
sudo pacman -Sy openvpn3
-
Install KDialog if not already installed:
For Ubuntu/Debian:
sudo apt-get install kdialog
For Fedora:
sudo dnf install kde-cli-tools
For Arch Linux:
sudo pacman -S kdialog
-
Clone the repository and set up manually:
git clone https://github.com/StefTzor/ovpn-saml-manager.git cd ovpn-saml-manager mkdir -p ~/.local/share/ovpn-saml-manager mkdir -p ~/.local/bin mkdir -p ~/.local/share/applications mkdir -p ~/.config/ovpn-saml-manager cp vpn-connect vpn-config ~/.local/share/ovpn-saml-manager/ chmod +x ~/.local/share/ovpn-saml-manager/*
-
Launch OpenVPN Manager from your application menu or run:
ovpn-saml-manager
-
On first launch, you'll be prompted to configure your VPN profile
-
Select your
.ovpnprofile file when prompted -
The application will save your configuration
- Launch OpenVPN Manager from your application menu or terminal
- Use the GUI to:
- Connect to VPN
- Disconnect from VPN
- View connection details
- Reconfigure VPN profile
When connecting to a SAML-enabled OpenVPN server:
- Click "Connect VPN"
- Your default web browser will open with the SAML authentication page
- Complete the authentication process
- Return to OpenVPN Manager to see your connection status
- Application files:
~/.local/share/ovpn-saml-manager/ - Configuration:
~/.config/ovpn-saml-manager/ - Desktop entry:
~/.local/share/applications/ovpn-saml-manager.desktop - Executable links:
~/.local/bin/ovpn-saml-manager
-
OpenVPN Manager doesn't launch
- Ensure all dependencies are installed
- Check if KDE Plasma is running
- Verify file permissions
-
Cannot connect to VPN
- Verify your
.ovpnprofile is valid - Check your internet connection
- Ensure OpenVPN3 service is running
- Verify your
-
SAML authentication fails
- Check your browser's popup settings
- Verify your credentials
- Ensure your system time is correct
For troubleshooting, you can run OpenVPN Manager from the terminal to see debug output:
ovpn-saml-managerYou can also check OpenVPN3 logs:
openvpn3 log --session-path <session-path>- Fork the repository
- Create your feature 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
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenVPN team for OpenVPN3
- KDE team for KDialog and Plasma desktop environment
Project Link: https://github.com/StefTzor/ovpn-saml-manager