There are two ways to set up a VPN connection with NordVPN on Ubuntu. The first one is to add NordVPN’s package repository to the apt sources and then install the nordvpn client via a simple
sudo apt install nordvpn. The second one is to install OpenVPN and configure it to use the servers of NordVPN.
This how-to was written for Ubuntu 18.04 LTS (Bionic Beaver).
NordVPN setup with NordVPN package repository
- Download the NordVPN package (.deb) for Ubuntu:
- Install the package on your Ubuntu system:
sudo dpkg --install ./nordvpn-release_1.0.0_all.deb
Note that installing this package does only add the NordVPN package repository to apt, no executable is installed.
- Install the nordvpn client software:
sudo apt update
sudo apt install nordvpn
- Connect the nordvpn client (the server is selected automatically):
The general command to connect has the form:
nordvpn connect [<country>] [<city>] | [server]
so to connect to a specific country (and city) the additional arguments must be given:
nordvpn connect United_Kingdom Manchester
To get a list of available countries and cities you can query them with:
It is also possible to give the server name directly:
NordVPN setup with OpenVPN
- Install openvpn on your Ubuntu system:
sudo apt install openvpn
- Get the OpenVPN configuration files for NordVPN:
sudo wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip
sudo unzip ./ovpn.zip
If an error is encountered during the download step above, it may be necessary to install the ca-certificate package:
sudo apt-get install ca-certificates
ovpn.zipthere will be a folder
ovpn_udpwhich contain the NordVPN server configuration files for OpenVPN.
- Connect to OpenVPN using one of the NordVPN servers:
You will need to enter your credentials for NordVPN.