In this article, we'll guide you through NordVPN installation and usage on Linux. We offer .deb and .rpm packages compatible with Debian 11 or newer, Ubuntu 20.04 or newer, Linux Mint 21 or newer, Raspberry PI OS, and Fedora 32 or newer systems. Community-supported distributions may also work, but there is limited troubleshooting regarding distribution-specific issues. Moreover, we support GNOME and KDE desktop environments. 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 you features like auto-connect, automated Kill Switch, and Threat Protection.
Installing NordVPN GUI on Linux
To install NordVPN GUI on Linux, follow the steps below:
-
Type the following command in the terminal, and click enter:
sh <(wget -qO - https://downloads.nordcdn.com/apps/linux/install.sh) -p nordvpn-gui - Open NordVPN from your system's application menu.
- Log in to your NordVPN account.
- Connect to NordVPN.
Installing NordVPN CLI on Linux
To start using the NordVPN application for Linux, you need to download the NordVPN Linux client. You can do that in 2 ways:
- By downloading a Snap package.
Snaps are app packages for desktop, cloud, and IoT that are easy to install, secure, cross-platform, and dependency-free. If you do not have Snap pre-installed, you may follow Snap setup guides for various Linux distributions.
- By working in the terminal:
- Open the terminal.
-
Write the command below:
sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh) - Following any on-screen instructions.
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)Additionally, if you receive the following issue: Whoops! Permission denied accessing /run/nordvpn/nordvpnd.sock, all you need to do is write the following command:
sudo usermod -aG nordvpn $USERand then reboot your device.
Using NordVPN on Linux
After you have installed the NordVPN application, you can start using it!
Please note that in NordVPN Linux application version 3.18.4, network traffic from the LAN through a VPN-connected computer is blocked by default. To unblock LAN traffic, turn LAN discovery ON or add to the allowlist any subnet or IP traffic to be forwarded.
Logging in
If you're using a Linux device without a graphical user interface, follow our guide on logging in to NordVPN on Linux devices without GUI.
If you're using a Linux device with a graphical user interface, you can start using it with the commands below:
-
Log in to your NordVPN account by using this command:
nordvpn login -
Connect to a NordVPN server by using the command below:
nordvpn connect
Account and settings
Here you can find the list of available NordVPN commands for Linux.
Access the NordVPN client settings:
nordvpnGet an extensive explanation of all commands:
man nordvpnSee the list of available commands or help for a specific command:
nordvpn helpor
nordvpn hLog in log out:
nordvpn loginor
nordpvn logoutConnect to a recommended NordVPN server:
nordvpn connector
nordvpn cConnect to a specific server (e.g. nordvpn connect uk715):
nordvpn connect <country_code server_number>Disconnect from the VPN:
nordvpn disconnector
nordvpn dSee account information:
nordvpn accountRegister a new user account:
nordvpn registerRate your last connection quality (1-5):
nordvpn rateSee the current settings:
nordvpn settingsSee the connection status:
nordvpn statusSee the country list:
nordvpn countriesSee the city list (e.g. nordvpn cities united_states):
nordvpn cities See a list of available server groups:
nordvpn groupsEnable/disable consent to share app performance data:
nordvpn set analytics on/off
Specialty servers
Connect to the closest Double VPN server:
nordvpn c double_vpnConnect to a specific country using Double VPN servers:
nordvpn connect --group double_vpn <country_code>Connect to a P2P server:
nordvpn connect p2pConnect to a specific country using P2P servers:
nordvpn connect --group p2p <country_code>Connect to a Dedicated IP server:
nordvpn connect Dedicated_IP
Features and configurations
Set a configuration option:
nordvpn setor
nordvpn sEnable or disable Threat Protection:
nordvpn set threatprotectionlite onor
nordvpn set threatprotectionlite offEnable or disable Kill Switch:
nordvpn set killswitch onor
nordvpn set killswitch offEnable or disable auto-connect:
nordvpn set autoconnect onor
nordvpn set autoconnect offSet a specific server for automatic connection (e.g. nordvpn set autoconnect on us2435):
nordvpn set autoconnect on <country_code+server_number>Enable or disable notifications:
nordvpn set notify onor
nordvpn set notify offSet custom DNS (you can set up a single DNS or two, just add spaces in between):
nordvpn set dns 1.1.1.1or
nordvpn set dns 1.1.1.1 1.0.0.1Switch between UDP and TCP protocols:
nordvpn set protocol udpor
nordvpn set protocol TCPEnable or disable obfuscated servers:
nordvpn set obfuscate onor
nordvpn set obfuscate offSet connection technology (OpenVPN or NordLynx):
nordvpn set technology OpenVPNor
nordvpn set technology NordLynxTurn Meshnet on or off on your device:
nordvpn set meshnet onor
nordvpn set meshnet offTo enable or disable the post-quantum protection in NordVPN:
nordvpn set pq onornordvpn set pq off
LAN discovery and allowlists
Enable or disable LAN discovery:
nordvpn set lan-discovery enableor
nordvpn set lan-discovery disableGet more information on LAN discovery:
nordvpn set lan-discovery --help
Add or remove a rule to allowlist a specified incoming port (you can allowlist multiple ports — just separate their numbers with a space):
nordvpn whitelist add port <port>or
nordvpn whitelist remove port <port>Add or remove a rule to allowlist a specified subnet:
nordvpn whitelist add subnet <subnet>or
nordvpn whitelist remove subnet <subnet>