| .. | ||
| README.md | ||
OpenVPN GUI
A small Linux GUI for importing OpenVPN profiles and connecting or disconnecting them.
Requirements
- Python 3 with Tkinter
openvpnpkexecfrom Polkit, orsudo, so OpenVPN can create the VPN tunnel
Ubuntu/Debian example:
sudo apt install python3-tk openvpn policykit-1
Run
python3 openvpngui.py
Use
- Click Import and choose a
.ovpnor.conffile. - Give the profile a friendly name.
- Select the profile and click Connect.
- Click Disconnect to stop the active tunnel.
Imported profiles are saved in:
~/.config/openvpngui/profiles
The app also copies common relative companion files referenced by the profile, such as ca, cert, key, tls-auth, tls-crypt, pkcs12, and auth-user-pass. Profiles that reference absolute file paths still need those paths to remain available.
Notes
- Some OpenVPN profiles prompt for username/password in a terminal. For a GUI flow, use a profile with an
auth-user-passfile or embedded provider-specific authentication. - Closing the window while connected asks whether to disconnect first.