Important note: Please make sure that you run an IPv4 Internet connection. Some Internet Service Providers already connect with the IPv6 protocol, which is not supported by CyberGhost. While the CyberGhost client takes care of deactivating IPv6 under Windows, users of native protocols have to do this manually. If IPv6 is not deactivated, data might leak outside the IPv4 VPN tunnel!
On Androids below 4.x it's a tricky task to get your device to support OpenVPN, for they have to be 'rooted' and 'modded' beforehand. More downsides: A rooted/modded device looses its guarantee and there's always a possibility to damage it. Most users might therefore be better off using the L2TP or IPSec protocol or, if both are not available, the PPTP protocol. L2TP and IPSec as well as PPTP are very easy to configure and also part of every Premium and Premium Plus subscription.
|Disclaimer: Please note, that CyberGhost is not to be made responsible for any damage done to the device in order to get root access and neither provides any guarantee nor pays any compensation in case the device malfunctions after rooting/modding it.
Visit your CyberGhost VPN online account.
Click on the menu entry 'My Devices' and then on button 'Add Device'.
In the list of Operating Systems you can CyberGhost use with, please click on 'Other' to be able to setup all necessary options for the OpenVPN protocol. When done the screen extends and gives way to 'Create new credentials'. Do it by clicking on the respective button.
Scroll up the page. As you see, the placeholder for a new device is now replaced by 'Linux, Router, etc.'. Click on that button:
Type a name for your new device and activate the wanted extra features, provided with each Premium subscription:
Scroll down and generate the login and configuration data for the OpenVPN protocol:
- Protocol: Choose the OpenVPN protocol you want to use:
- OpenVPN (UDP): UDP allows higher speed than the TCP version, but can result in broken downloads in some cases. This is the default setting.
- OpenVPN (TCP): 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.
- 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. (If you want or need different PPTP, L2TP or OpenVPN connections in different countries, repeat all steps for every country.)
- Server group: Depending on the chosen country as well as the availability of different server types as an attribute of your current plan you can also define a server group to use:
- Standard Server: This is the group of all paid service servers (Special Edition, Premium, Premium Plus)
- Premium Server: This is the smaller group of all exclusive servers for Premium subscribers (Premium, Premium Plus)
- NoSpy Server: This is the group of all exclusive NoSpy servers for Premium subscribers with special extensions.
After setting up your connection wishes please note down the following data sets. You will need them to configure your device:
- Server: This is the address of the country (server) you want to be connected with, e.g. '1-ro.cg-dialup.net'. Note: This address changes with every country you have chosen in the step before. The actual single server to be used will be chosen automatically by CyberGhost.
- User name: A solely for protocol usage generated user name. This is NOT your regular CyberGhost account user name.
- Password: A solely for protocol usage generated password. This is NOT your regular CyberGhost account password.
Once done, please download the configuration file. For that please click on 'Download Configuration' and save the file on your computer. It's a ZIP file, which contains the following single configuration files:
- ca.crt: This is the certificate of the certification authority
- client.crt: This is the user certification file
- client.key: This is your private key file
- openvpn.ovpn: This is your OpenVPN configuration file
In case you downloaded the file to your device and don't have a file tool on your Smartphone or Tablet to unzip the archive, download the file to your PC instead and unzip it there before copying the containing single files to your device. Also, if you have problems copying files to your device, send yourself an email with all files attached and save them on your SD card or your device memory.
If you want to surf from different countries, rename the unzipped OpenVPN configuration file from 'openvpn.ovpn' to e.g. 'CG_RO_NoSpy.ovpn' (or whatever location/server group combination you have chosen while setting up the configuration file in your account management).
Choose then a different location and a different server group (if available) and download the next zipped configuration file. Unzip it, rename the containing 'OpenVPN.ovpn' as well und copy it inside the folder with the other configuration files already downloaded. The remaining certificate and key files do not need to be copied again, for you already have them from the first download.
For two different countries you need for example do the following steps:
The folder now consists of the following files (regarding the example above):
After modding your device it might be, that OpenVPN is already pre-installed. To make sure, please check the folder '/system/bin/openvpn' or '/system/xbin/openvpn' for the appropriate binary.
If OpenVPN is not pre-installed, you need to:
- Download and install the app 'BusyBox' from the Android Market. It's recommended to allow automatic updates. Also have an eye on the installation folder: If BusyBox is not installed to '/system/xbin' it might not work properly.
- Download and install the apps 'OpenVPN installer' and 'OpenVPN settings' from the Android Market.
- Create a folder called 'openvpn' on your SD card. Please note, that Android is case-sensitive. The resulting path should be '/sdcard/openvpn'.
After installation is done, copy the CyberGhost VPN configuration file(s) you downloaded from your account, into the 'openvpn' folder on your device’s SD card.
Now start ‘OpenVPN Settings’ and enable ‘OpenVPN’. You will be asked to enter your credentials which consist of 1) the user name created in step 1, and 2) the password, also created in step 1. DO NOT use your regular CyberGhost user name and password, which you use to login in the client and your account management!
Please note: Depending on the Android kernel, your device might run with a different TUN driver (the file name is ‘tun.ko’). If OpenVPN connects to the VPN, but remains unusable, try activating the option ‘Load tun kernel module’ in ‘OpenVPN Settings’. This will load the driver before OpenVPN.
Again: Modding and rooting an Android devices is nothing you do between a coffee and a snack. You need to have some solid background knowledge you won't find here, for it's not ours to give you instructions for modding your device. You can loose your device's guarantee and might destroy it. So, if you need to find out, how to mod, please consult the respective boards, which can be found after a short Google search.