OpenVPN

How to connect to OpenVPN via shell:

1. Open terminal (keyboard shortcut: Ctrl + Alt + T).
2. Install OpenVPN client by entering:

sudo apt-get install openvpn

(if you are requested a password, enter the password which you have used when creating your account).
3. Navigate to OpenVPN configuration directory with command:

cd /etc/openvpn

4. Download OpenVPN configuration files with command

sudo wget https://nordvpn.com/api/files/zip

4.1. In case you will get `ERROR: The certificate of `nordvpn.com’ is not trusted.`, please install `ca-certificates` package with command:

apt-get install ca-certificates

5. If you do not have `unzip` package installed, download it by typing in:

sudo apt-get install unzip

6. Extract `config.zip` with command:

sudo unzip zip

7. Remove files which will be no longer used:

sudo rm zip

8. To see the list of all available servers, simply enter the

ls -al

command and it will print full configuration file list.
9. Choose a server which you would like to connect to.
10. Start OpenVPN with a chosen configuration by entering:

sudo openvpn [file name]

For example:

sudo openvpn de117.nordvpn.com.udp1194.ovpn

11. OpenVPN will ask you for credentials, so simply enter those in with your NordVPN account credentials.
12. You have successfully connected to VPN. To disconnect from the OpenVPN connection simply open terminal and press Ctrl + C on your keyboard.


How to connect to OpenVPN via Network Manager: