This python3 script is a Tkinter Graphical User Interface that sends requests to my.cyberghostvpn.com to get the VPN configs, and download and edit these configs.
- Download VPN File
- Aggregate certificates in the
.ovpnfile- Add user and password in auth.txt
- Edit and create multiple
.ovpnfiles for other countries, or other protocols, using the same user and password - Autoload the new file in your VPN app
(tested with OpenVPN Connect on Windows, doesn't work with linux gnome network manager, it opens the file in a text editor) - auto system theme

- Windows: Tested: Win11✔️
- Linux: Tested: Arch with Gnome ✔️
- Macos: Untested
-
Download the script
git clone https://github.com/jojo2massol/Cyberghost-OpenVPN-file-generator-GUI.git -
Install the requirements :
- Interpreter:
python3 pip install tk requests shutils sv_ttk darkdetect
- Interpreter:
-
Run the script
cd Cyberghost-OpenVPN-file-generator-GUI python main.pyThe window should open, and you can start using it.
-
Get your cookie from your browser, and paste it in the entry field
- Connect to your Cyberghost account : https://my.cyberghostvpn.com/en_US/login
- Press
F12to open the developer tools - Open the
Networktab - Refresh the page
- Click on the first entry, and search in the request headers for
cookie. - Copy the
SESSIONUSERvalue in the cookie, and paste it in the entry field in the GUI