How can we help you?

Installing and using NordVPN on RHEL and CentOS Linux

The NordVPN native application is the recommended option for connecting to NordVPN servers on your Linux device. We designed it with your experience in mind, giving easy access to features such as CyberSec, Autoconnect, and automated Kill Switch.

This tutorial explains how to download and install the NordVPN app on RHEL (Red-Hat Enterprise) and CentOS distributions, log in, and connect to our servers. You can also find an explanation of various settings.
 

1. Download the NordVPN client package file:

sudo wget -qnc https://repo.nordvpn.com/yum/nordvpn/centos/noarch/Packages/n/nordvpn-release-1.0.0-1.noarch.rpm

You will be asked to enter your root password. Enter it and proceed to the next step.


Note: you can also use this command if you do not have a wget package:

curl -sO https://repo.nordvpn.com/yum/nordvpn/centos/noarch/Packages/n/nordvpn-release-1.0.0-1.noarch.rpm


2. Open Konsole (terminal) and run the following commands.

sudo yum install nordvpn-release-1.0.0-1.noarch.rpm
sudo rpm -v --import https://repo.nordvpn.com/gpg/nordvpn_public.asc

3. Update the package list:

sudo yum update

4. Install the NordVPN app:

sudo yum install nordvpn

5. Log in to your NordVPN account:

nordvpn login

6. Connect to a NordVPN server:

nordvpn connect

Settings

To access the NordVPN client settings, type the nordvpn command in a Terminal.

Here is the list of available commands:

nordvpn login - Log in.
nordvpn connect or nordvpn c - Connect to VPN. To connect to specific servers, use nordvpn connect <country_code server_number> (eg. nordvpn connect uk715)
nordvpn disconnect or nordvpn d - Disconnect from VPN.

nordvpn set or nordvpn s - Set a configuration option. Possible options:
nordvpn set cybersec on or off - Enable or disable CyberSec
nordvpn set killswitch on or off - Enable or disable Kill Switch
nordvpn set autoconnect on or off - Enable or disable Autoconnect. You can set a specific server for automatic connection using nordvpn set autoconnect on country_code+server_number. Example: nordvpn set autoconnect on us2435.
nordvpn set protocol udp or tcp - Switch between UDP and TCP protocols
nordvpn set obfuscate on or off - Enable or disable Obfuscated Servers.

nordvpn whitelist add port 22 - Open incoming port 22 (the port number can be different)
nordvpn whitelist remove port 22 - Remove the rule added with the above command
nordvpn settings - See the current settings.
nordvpn status - See the connection status.
nordvpn countries - See the country list.
nordvpn cities - See the city list.
nordvpn groups - See a list of available server groups.
nordvpn logout - Log out.
nordvpn help or nordvpn h - See the list of commands or help for one command.

You can see the full list of commands by using man nordvpn command in a terminal.

Related Articles

© Copyright 2019 all rights reservedSelf-service by