How can we help you?

How to connect to NordVPN using Linux Terminal?

Please note that since Linux has a lot of different distributions, the configuration interfaces may vary.

  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
      In case you will get `ERROR: The certificate of `’ is not trusted.`, please install `ca-certificates` package with command:
    • sudo 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 `` with command:
    • sudo unzip
  7. Remove files which will be no longer used:
    • sudo rm
  8. Enter the directory where the server configurations are. These folders are either ovpn_udp or ovpn_tcp: 
    • cd /etc/openvpn/ovpn_udp/
    • cd /etc/openvpn/ovpn_tcp/
  9. To see the list of all available servers, simply enter the following command and it will print full configuration file list.
    • ls -al
  10. Choose a server which you would like to connect to.

    For the sake of the tutorial, we have used, but you should connect to a server suggested to you at . You can find the server hostname right under the server title.
  11. Start OpenVPN with a chosen configuration by entering:
    • sudo openvpn [file name]
    • sudo openvpn
    • sudo openvpn /etc/openvpn/ovpn_udp/
  12. OpenVPN will ask you for credentials, so simply enter those in with your NordVPN account credentials.
  13. You have successfully connected to VPN. To disconnect from the OpenVPN connection simply open terminal and press Ctrl + C on your keyboard.

If you are looking for instructions on how to set up our Linux application, please check this article.

Related Articles

© copyright 2018 all rights reservedSelf-service by