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:
    • 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. To see the list of all available servers, simply enter the following command and it will print full configuration file list.
    • ls -al
  9. Choose a server which you would like to connect to.
  10. Start OpenVPN with a chosen configuration by entering:
    • sudo openvpn [file name]
    • sudo openvpn
  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.

Related Articles