Configure Linux Desktop Network Manager and OpenVPN Clients

Step 1: Prerequisites

This is a Step-By-Step guide to configure Linux Desktop Network Manager and  OpenVPN Clients and it is not recommended to miss any of the steps if you are new to this.This guide is based on Mint 18.2 Network Manager and OpenVPN 2.4.0 and is valid as of February 2017.
Configure Linux Desktop Network Manager and OpenVPN Clients does not support connection to BolehVPN cloak configuration. Please send a request to us if you need to install the scramble cloak OpenVPN in your Linux. Please state your Linux distros but we can only provide the .deb or .rpm installer.

  1. Prerequisites to configure Linux Desktop Network Manager with BolehVPN

    Before starting the configuration, please ensure that you have installed Network Manager’s OpenVPN extensions. We are assuming that you do know how to install Linux application from your package manager.

      1. Install the following with your package manager (this guide is based on Debian-based distros, including Ubuntu and MINT 18.1)
        network-manager-openvpn and network-manager-openvpn-gnome
      2. To begin configure Linux Desktop Network Manager with BolehVPN, you will need to download your configuration files from your Dashboard and select the Linux_iOS inline format. Extract the zip files after completing the download.


Step 2: Configure Linux Desktop Network Manager and OpenVPN Clients

  1. Open your Network Connections by clicking connection icon at bottom right desktop.
  2. At Network Connections, click Add button.
  3. You will be prompted to choose a connection type. 
  4. Click the drop-down menu and select “Import a saved VPN configuration”.
  5. Click Create button to import saved VPN configuration.
  6. Browse to extracted configuration file which you already download on Step 1. Below is the example of several of BolehVPN configuration files list.
  7. Select one configuration file which you want from the list. For example, select IPv4-FullyRouted-TCP-Germany and click Open.
  8. This will bring you to Editing panel. You can change connection name at top of the panel if you want. At bottom right of the panel, there is Advanced button. Click it.
  9. Go to Security tab and you should see options like example below.
  10. Click the HMAC Authentication drop-down menu and select “SHA-512”.
  11. Then, go to TLS Authentication tab.
  12. At Subject Match empty box, type “/CN=bviserver”. Then click OK button at bottom right.
  13. Click Save after completing all above steps.
  14. Click connection icon at bottom right desktop again. There should be VPN Connection option which you already add and configure. Select VPN Connection and click to activate it. Wait for a few seconds and you will be notified “Connected to the VPN”.
  15. Open web browser and visit any of the geo-location websites, such to check your location and IP and if it shows the right location as stated by the configuration that you imported earlier, you have successfully connected.

Step 3: Additional Settings

Addendum IPv6 Additional Settings (Only if you are connecting to our dualstack (IPv6/IPv4 servers)

After importing the ovpn, go to IPv6 Settings tab and click on Routes…

Enable the option ‘Use this connection only for resources on its network’.

Save and continue with the rest of the configuration.

VPN DNS not pushed to network manager

Navigate to the file /etc/NetworkManager/NetworkManager.conf.

Locate the dns=dnsmasq line and comment it out so it will look like #dns=dnsmasq