CyberGhost offers a command-based Linux app which establishes a VPN connection via the OpenVPN protocol and allows for a high-degree of customization in terms of how you connect, as well as facilitating the use of our Streaming and Torrent-optimized servers.
Supported Linux Distributions:
- Ubuntu 16 (all iterations)
- Ubuntu 18 (all iterations)
- Fedora 29
All you'll need is to add a new Linux Device in your CyberGhost account (on our website), then download and install the app, after which you'll be all set to connect to the VPN (including the use of specialized Torrent and Streaming solutions).
1. Login with your Premium account at http://account.cyberghostvpn.com/
2. Click on 'My Devices' and in the 'Add a new device' section > click 'Linux'.
3. At the following screens, click "Continue" > "CREATE"
4. In the 'Settings' tab, do as follows:
- Set a Name for the device (ex: Linux App)
- Make a note of the Username and Password generated there*
- Select your Linux Distribution
- Click DOWNLOAD LINUX APP (save the file somewhere accessible on your machine)
*NOTE: For the Linux app, ALL you will need is to note the credentials (username and password) generated in this screen, no need to choose a country or any other options
5. Click SAVE
Note: You can always come back to this device and click EDIT in order to retrieve the username and password generated for this connection
For this tutorial, we'll be using Ubuntu 18 but the same steps apply to all supported distributions.
1. Unzip the contents of the compressed folder to your computer (we will extract and rename the folder to cyberghost, on the Desktop for the purpose of this tutorial)
NOTE: You can use the Extract Here option, then select the extracted folder and press F2 to rename it to a simpler name, like cyberghost.
3. Open a Terminal window and navigate to the CyberGhost folder to install the app
If Terminal isn’t visible on the Launch bar, click on the ‘Show Applications’ button (in the bottom-left part of the screen) > then type in 'Terminal' in the search field:
4. In the terminal window enter the following commands and confirm with 'Enter'
For this this example, the commands would be "cd Desktop/cyberghost" (without the quotes) > press Enter
NOTE: Terminal takes into account case-sensitive characters so make sure you type in each folder name exactly as is (with capital letters where the case applies)
5. Once in the CyberGhost folder, type in "bash install.sh" (no quotes) > press Enter
Make sure you choose "Y" (yes) if asked to install Python 3 and OpenVPN.
6. During the installation, you will be asked for 3 separate sets of credentials:
- When the installation asks for the [sudo] password for (your device name) > make sure you enter the Password for your Ubuntu user (the one you use to login)
- Afterwards, you'll be asked for your CyberGhost account Credentials (username and password) > this refers to your Premium Username and Password (the one you used to login to your online CyberGhost account)
- Finally, you'll be asked for the server authentication credentials, the username and password generated when you created the device in Step 1.
NOTE: The credentials illustrated below are not valid, they are simply for informative purposes
You can use the COPY button next to the username and password (it will copy it each one to the clipboard and you can right-click > Paste it in Terminal)
First, Copy > Paste the Username, then copy/paste the Password
As exemplified below:
Once you see the message "installation completed ...", you're ready to start using the app.
Simply type in 'cyberghostvpn' and press Enter to see the list of available commands.
Now, to learn how to quickly connect to the VPN, please see the following articles: