1. Home
  2. Getting Started
  3. OpenVPN
  4. Linux
  5. OpenVPN Gnome Network Manager

OpenVPN Gnome Network Manager

OpenVPN Linux Bundled Server Profiles

Download Here

  1. Download our OpenVPN Bundled Server profiles
  2. Extra the .ZIP file
  3. Browse to the extracted folder. Enter into a country folder (eg Russia folder) and extract the profile you would like to use. This should give you another folder with 3 files in it (.key .crt .ovpn)
  4. Open up terminal and type inUbuntu/Debian:
    sudo apt-get install network-manager-openvpn-gnome

    Fedora/Redhat/Centos

    yum install network-manager-openvpn-gnome
  5. Click on your network connection > Wired connected > Wired Settings
    gnome-wired-settings 
  6. Click + and select OpenVPNgnome-add-vpn 
  7. Enter in a connection name (can be anything)
  8. Enter in the server address you are setting up
  9. Type = Password
  10. Enter in your VPN username (not your email) and password
  11. Click on CA Certifcate and browse to the Country folder/profile you extracted above and select the .CRT file
    gnome-openvpn-settings 
  12. Click on Advanced
  13. Select the same options as below
    Important

    Use custom gateway port: Enter in the portnumber that you would like to use. This must be the same as the profile you wish to use from the extract .ZIP file above


    gnome-openvpn-advanced-options 
  14. Go to Security tab and set Cipher to AES-256-CBC
    Network-Manager-Advanced-Security 
  15. Click on TLS Authentication tab
    Mode = TLS-Crypt
    File = Browse to where you extracted to profile above and select the .KEY file
    gnome-openvpn-tls-auth-settings 

To connection to the VPN, simply click on your network connection > VPN > Connect

gnome-vpn-connect-menu

DNS Issues

If you experience any DNS issues, please do the below

  • On Ubuntu 17 and above run the following commands, then re-connect to VPN
    sudo nmcli connection modify <vpn-connection-name-you-set> ipv4.dns-priority -42
    
    systemctl restart network-manager.server
  • On Ubuntu 16.04 do the below
    – Edit the fille NetworkManager.conf file under
    /etc/NetworkManager and comment out dns=dnsmasq line

    #dns=dnsmasq
  • Restart NetworkManager
    service restart network-manager
Updated on November 6, 2018

Was this article helpful?

Related Articles