This instruction covers Kodi installations with OpenELEC 5 and 7 as well as LibreELEC 7 final, LibreELEC 8 Alpha and LibreELEC 9 with the 'VPN Manager for OpenVPN'. OpenELEC 6 doesn't support OpenVPN and will be covered in a separate article.
Disclaimer: Please keep in mind that, although the technical process is as thoroughly documented as possible, you need to have at least some technical understanding. There's always a chance for an overseen mistake and/or things have changed and the article is not updated yet.
Step 1: Configure an OpenVPN connection from your CyberGhost Account
First, visit your CyberGhost VPN online account and login with your Premium Username and Password
Click on 'My Devices' and in the 'Add a new device' section > click 'Others'.
At the following screens, click "Create login credentials" > CREATE
In the Settings tab, type in a name for your device, then switch to the Configuration tab.
In the Configuration tab, choose your desired Extra Features, the OpenVPN protocol and your desired country and server group, as described below:
- Protocol: Kodi configurations, please choose OpenVPN
- Country: Since native protocol connections may only be used with exactly one server you now have to choose the country you want to surf from; the server to be used in this country will be chosen by CyberGhost automatically.
- Server group: Choose the server group and the OpenVPN protocol (UDP or TCP) you want to use:
UDP allows higher speed than the TCP version, but can result in broken downloads in some cases. This is the default setting.
TCP allows more stable connections than the UDP version, but is a bit slower. Choose this version, if you have recurrent connection issues such as sudden disconnections.
After setting up your connection wishes please make a note of the following, as you will need them to configure the connection:
- User name: A solely for this protocol generated user name. This is NOT your regular CyberGhost account user name, it's used only to authenticate with our servers via Manual Configurations.
- Password (you need to check the "Show Password" option in order to see it): A solely for protocol usage generated password. This is NOT your regular CyberGhost account Password, it's used only to authenticate with our servers via Manual Configurations.
Once done, please download the configuration file. For that please click on 'Download Configuration' and download the config file to your computer (it's recommended that you create a special folder for the config, somewhere accessible like your Desktop and Extract/Copy thecontents of the .zip file there).
Finally click SAVE
Now, the saved config is a ZIP file, which contains the following single files:
- ca.crt: This is the certificate of the certification authority (THIS WILL NOT BE NEEDED FOR THIS TYPE OF CONFIGURATION)
- client.crt: This is the user certification file
- client.key: This is your private key file
- openvpn.ovpn: This is your OpenVPN configuration file (THIS WILL NOT BE NEEDED FOR THIS TYPE OF CONFIGURATION)
Only copy the the 'client.crt' and 'client.key' files from the zipped configuration file to a folder on your desktop.
Step 2: Get VPN Manager for OpenVPN
To make sure, the VPN Manager gets updated properly, download the complete repository instead just the single add-on and copy the unzipped file to the folder with the certificate and the key.
Now copy all files to your device. For that you need access to the file system on your OpenELEC/LibreELEC device. The easiest way is by using a FTP client like Filezilla:
- First check for the OpenELEC/LibreELEC network IP address, usually something like '192.168.178.XXX' and note it. If you don't know how to find it, have a look at 'System > System info > Summary > IP address' in your Kodi media center.
- Start Filezilla, click on 'File > Site manager' > New Site > Name it 'Kodi' (or whatever you wish)
- Enter the 'Server' address (this is the network address of your OpenELEC/LibreELEC device), e. g. '192.168.178.25'
- Choose 'SFTP' as the 'Protocol'
- Choose 'Normal' as 'Connection type'
- Enter the 'User name' of OpenELEC/LibreELEC, usually 'root'
- Enter 'Password' for OpenELEC (usually 'openelec'), resp LibreELEC (usually 'libreelec') - you can set a personalized password in SETTINGS > LIbreElec > Services > SSH section
- Click on 'Connect'
- Filezilla opens the file system of your Kodi installation right inside the folder 'storage'. Create a new folder called 'downloads' or 'VPN' or whatever you want to call it.
- Open the newly created download folder and copy all files into it (namely the files 'client.crt', 'client.key' and the zipped repository file named 'repository.zomboided.plugins-1.0.0.zip' ).
Step 3: Install VPN Manager for OpenVPN
Start your Kodi. Here we use LibreELEC with the Estuary skin to illustrate the general way, so you might have to adapt some steps, but in essence there are no big differences between the distributions and/or skins and when it comes to configure the VPN Manager it's all over the same procedure.
In case the installation of apps from unknown sources is deactivated (which is the default setting), first open the system settings and move to 'Add-ons'. There you activate the slider for the entry 'Unknown sources'.
Now go back to the main screen, activate 'Add-ons' and click on 'Install from zip file':
Move to the folder, where you copied the three files from the last step to.
Mark the repository and click on 'OK'.
Back in the Add-on Browser click on 'Install from repository', choose the 'Zomboided Add-on Repository', click on 'Services', then on 'VPN Manager for OpenVPN' and at last on 'Install'.
Step 4: Configure VPN Manager for OpenVPN
After installation move to 'My add-ons' and open the entry 'Services':
Open 'VPN Manager for OpenVPN' and click on 'Configure'.
You can use the Wizard or do it manually, like we do it here (although the steps are the same). In the tab 'VPN Configuration' choose 'CyberGhost' as the 'VPN Provider' and enter the user name and the password you noted in step 1. DO NOT use your regular CyberGhost credentials.
Click on 'OK' and select the connection profile, which fits your subscription: 'Premium and Premium Plus Account' or 'Promo Account':
The next step is about the two files you saved from the downloaded configuration file.
Click on 'OK' and then select the user certificate ('client.crt') and the user key ('client.key'). Once done, the VPN Manager will connect to your first VPN.