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, Auto-connect, and automated Kill Switch.
This tutorial explains how to download and install the NordVPN app on Fedora and QubesOS distributions, log in, and connect to our servers. You can also find descriptions of various settings.
Downloading the app.
1. Download the NordVPN Linux client by opening the terminal, writing the command below, and following any on-screen instructions:
sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)
Note: If you do not have a curl package, evidenced by the fact that the above does not work, you can alternatively use this command:
sh <(wget -qO - https://downloads.nordcdn.com/apps/linux/install.sh)
2. Log in to your NordVPN account:
3. Connect to a NordVPN server:
To access the NordVPN client settings, type the nordvpn command in the Terminal.
Here is a list of available commands:
Log in: nordvpn login
Connect to VPN: nordvpn connect or nordvpn c
To connect to specific servers, use: nordvpn connect <country_code server_number> (e.g., nordvpn connect uk715)
Disconnect from VPN: nordvpn disconnect or nordvpn d
Set a configuration option: nordvpn set or nordvpn s
Enable or disable CyberSec: nordvpn set cybersec on or off
Enable or disable Kill Switch: nordvpn set killswitch on or off
Enable or disable Autoconnect: nordvpn set autoconnect on or off.
You can set a specific server for automatic connection using nordvpn set autoconnect on country_code+server_number. For example: nordvpn set autoconnect on us2435.
Set custom DNS: nordvpn set dns 18.104.22.168 22.214.171.124 (you can set up a single DNS or two like shown in this command)
Switch between UDP and TCP protocols: nordvpn set protocol udp or tcp
Enable or disable Obfuscated Servers: nordvpn set obfuscate on or off
Open incoming port 22 (the port number can be different): nordvpn whitelist add port 22
Remove the rule added with the above command: nordvpn whitelist remove port 22
Add a rule to whitelist your specified subnet: nordvpn whitelist add subnet 192.168.0.0/16
Remove a rule to whitelist your specified subnet: nordvpn whitelist remove subnet 192.168.0.0/16
See the current settings: nordvpn settings
See the connection status: nordvpn status
See the country list: nordvpn countries
See the city list: nordvpn cities. E.g.: nordvpn cities united_states
See a list of available server groups: nordvpn groups
Log out: nordvpn logout
See the list of commands or help for one command: nordvpn help or nordvpn h
You can see the full list of commands by running the man nordvpn command in the terminal.
Tip: Your VPN connection safety depends on your account password too. Don't forget to use a strong password on your account, as it will help you to avoid credential stuffing attacks and will keep your connections safe and uninterrupted.
As generating and remembering strong and secure passwords is not an easy task, we recommend downloading our free password manager — NordPass. It generates secure passwords for you and stores them safely, letting you avoid time-wasting password resets in the future.