This guide explains how to set up a CyberGhost VPN connection on Ubuntu using OpenVPN and Network Manager. Once configured, you'll be able to connect to CyberGhost servers directly from Ubuntu's built-in network settings.
Before you begin, make sure you have the following:
- An active CyberGhost subscription.
- The latest Ubuntu updates installed.
Disable IPv6
CyberGhost's OpenVPN configuration currently supports IPv4 connections only. If IPv6 is enabled on your Ubuntu device, you may experience connectivity issues or IPv6 traffic leaks. Before proceeding, it’s recommended that you disable IPv6 on your system. For instructions, see How to Disable IPv6 on Linux.
Installing OpenVPN and Network Manager
OpenVPN is included with most recent Ubuntu releases, but it may not be installed by default on older versions. The installation process below will install both OpenVPN and the required Network Manager components. If OpenVPN isn’t already available on your system, follow these steps before continuing with the setup.
- Open your Terminal app.
- Type “sudo apt install network-manager-openvpn” and press Enter.
- If prompted, enter your password.
- Close the window once the installation finishes.
Generating OpenVPN CyberGhost Configuration File
To install CyberGhost via OpenVPN, you first need to generate and download a configuration file from your CyberGhost account.
- Open your browser and access your CyberGhost account.
- Select the VPN tab.
- Click Configure Device.
- Select OpenVPN type, server location, and server type.
- OpenVPN type: Choose the OpenVPN protocol version and mode. Options include OpenVPN TCP for more stable connections and legacy versions (OpenVPN ≤2.3 / TCP ≤2.3) for older setups or compatibility.
- Server location: Select the country or region you want to connect to from the available CyberGhost server list.
- Server type: Choose a server category based on your needs, such as Premium (general use), ZenMate Premium (specialized servers from ZenMate integration), Standard, or Gaming (optimized for lower latency and smoother gameplay).
| Important: Not all OpenVPN protocol options and server types are available for every location. Availability may vary depending on the selected server region. |
- Name the device (e.g., Ubuntu).
- Optionally, select extra features.
- Protection against malicious websites: Blocks access to known harmful or unsafe websites to help protect your device while browsing.
- Block online tracking: Prevents tracking services from monitoring your online activity across websites.
- Block ads: Reduces or blocks advertisements during browsing for a cleaner experience.
- Redirect to HTTPS: Automatically redirects connections to the more secure HTTPS version of websites when available.
- Press Save Configuration.
- On the VPN tab, select View on your newly created configuration.
- Select Download configuration.
- This will download an archive containing the OpenVPN configuration files and certificates required to set up the VPN connection.
| Important: Make sure to note down your username and password, as you will need them later when setting up CyberGhost on Ubuntu. |
Setting up CyberGhost OpenVPN on Ubuntu
Once OpenVPN is installed and you have generated and downloaded your CyberGhost OpenVPN configuration file, you can set up the VPN connection on Ubuntu. Follow the steps below to import the configuration file and connect to your chosen CyberGhost server.
- In the top-right corner, open Network settings.
- Select Wired/Wireless settings.
- In the VPN field, press the + icon.
- Select Import from file.
- Locate the downloaded archive (typically in the Downloads folder), then extract its contents to access the configuration files and certificates.
- Open the folder and select the openvpn.ovpn file.
- On the next screen, select the Identity tab and fill out your username and password (you can find it in your CyberGhost dashboard).
- Then select Add.
- After that, toggle the switch to activate CyberGhost.
Need assistance? Contact our Customer Support team:
- via email at support@cyberghost.ro
- via online request at https://support.cyberghostvpn.com/hc/en-us/requests/new
- via 24/7 Live Chat by clicking the Support button below
Comments
0 comments
Article is closed for comments.