How to Set Up and Use NordVPN on Linux in 2026

nordvpn on linux guide

Last Updated on November 15, 2026 by Walter

NordVPN ships an official Linux client that works on Debian, Ubuntu, Fedora and other major distributions. You can install it with one script, sign in from the terminal and control the tunnel without a desktop app. This guide covers the current commands, the parts that changed in recent client versions, and the fixes for the errors we see most often.

Install NordVPN on Linux (CLI and GUI)

The official script detects your package manager, adds the NordVPN repository and installs the client. Run it in a terminal and follow the prompts.

sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)

If curl is missing, use the wget form instead. Both commands do the same job and both need a working internet connection.

sh <(wget -qO - https://downloads.nordcdn.com/apps/linux/install.sh)

Recent client versions install a graphical app alongside the command line tool. To ask for it explicitly, add the GUI flag to the end of the command.

sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh) -p nordvpn-gui

Prefer the package manager? On Debian, Ubuntu or Mint, download the repository package, install it, then install the client from apt.

wget https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn-release/nordvpn-release_1.0.0_all.deb
sudo apt install ./nordvpn-release_1.0.0_all.deb
sudo apt update
sudo apt install nordvpn

On Fedora, enable the NordVPN repository and install the package with dnf. Check the result with nordvpn version before you move on. If the client reports a permission error for /run/nordvpn/nordvpnd.sock, add your user to the nordvpn group and reboot.

sudo usermod -aG nordvpn $USER

Log In to NordVPN on Linux

On a desktop, the login command opens a browser window and finishes the sign-in there. The terminal also prints a link, which helps when the browser fails to reopen the app.

nordvpn login

If the browser cannot hand control back to the client, copy the link behind the Continue button and pass it in quotes.

nordvpn login --callback "LINK"

On a server or any machine without a browser, use an access token instead. Create the token in your NordVPN account dashboard under Advanced settings, then paste it at the hidden prompt. Token login does not support multi-factor authentication, so keep that in mind before you enable MFA on the account.

nordvpn login --token

When you log out, the client invalidates the token by default. Add the persist flag if you plan to reuse the same token later.

nordvpn logout --persist-token

Connect and Check the Connection

With no arguments, connect picks the recommended server for your location. You can also name a country, a city or a specific server, which is what you want when a streaming catalogue depends on the exit country.

nordvpn connect
nordvpn connect us
nordvpn connect Germany
nordvpn connect jp35

Check the tunnel with status, and list the available locations when you need a different country. The short forms c and d save typing once you use the client every day.

nordvpn status
nordvpn countries
nordvpn disconnect

In client version 6.0 and later, auto-connect no longer targets a specific server number. Choose a country, a city or a server group instead, or leave it on the fastest server.

See also  5 Best VPNs for Israel in 2026: Israeli IP Servers Compared

Settings We Turn On First

A fresh Linux install leaves the kill switch and LAN discovery off. These are the settings that matter for a desktop, a laptop and a headless server.

Setting Command Why
Kill switch nordvpn set killswitch on Blocks traffic if the tunnel drops
LAN discovery nordvpn set lan-discovery on Keeps printers and local devices reachable
SSH allowlist nordvpn allowlist add port 22 Stops a remote session locking you out
Auto-connect nordvpn set autoconnect on Connects at boot
Protocol nordvpn set protocol nordlynx Fast default on most networks
Custom DNS nordvpn set dns 1.1.1.1 1.0.0.1 Fixes slow or failing lookups

If you run the client over SSH, turn on LAN discovery and allow port 22 before you enable the kill switch. Otherwise the first disconnect can cut the session you're working in, and you'll need console access to recover it.

Manual OpenVPN on Linux (Optional)

The native client is the easier route, but some servers and routers still use OpenVPN profiles. Install OpenVPN and unzip, download the NordVPN configuration bundle, and start the profile you need.

sudo apt install openvpn unzip
sudo wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip
sudo unzip ovpn.zip -d /etc/openvpn/nordvpn
cd /etc/openvpn/nordvpn/ovpn_udp
sudo openvpn us1234.nordvpn.com.udp.ovpn

OpenVPN asks for a username and password when it starts. Use the service credentials from the NordVPN account dashboard, not the email login. The TCP folder works the same way when UDP is blocked on your network.

Troubleshooting NordVPN on Linux

These are the five issues we see in support threads most often, with the fix that usually solves them.

  • Permission denied for nordvpnd.sock: add your user to the nordvpn group with the command from the install section, then reboot.
  • Login opens a browser but never returns: use the callback link form, or switch to token login on a headless machine.
  • Connected but no internet: turn the kill switch off for a moment to test, then check the protocol and DNS settings.
  • Slow speed after connecting: switch to another city in the same country, or change the protocol to nordlynx.
  • Client won't update: the Linux app does not update itself, so run apt update and apt install nordvpn again.
See also  How to Watch Hotstar in Europe (Best Method in 2026)

If a change makes things worse, reset the client to its defaults with nordvpn set defaults and connect again. That clears experimental settings without removing the account.

FAQ

Is there a NordVPN GUI for Linux?

Yes. Current installers include a graphical app, and you can request it with the GUI flag if your first install only added the command line client.

Which Linux distributions are supported?

The official client supports Debian, Ubuntu, Mint, Fedora and other common distributions. The script detects apt, dnf, yum or zypper and uses the right package manager.

Does the Linux app update itself?

No. Update it through your package manager, then check the version with nordvpn version. A stale client is a common cause of connection errors after a server change.

Can I log in without a browser?

Yes. Create an access token in your account and run nordvpn login --token. Token login skips multi-factor authentication, so use it only on a machine you control.

Does the kill switch work on Linux?

Yes, but it's off by default. Turn it on with nordvpn set killswitch on and allow your SSH port first if you manage the machine remotely.

Conclusion

Installing NordVPN on Linux takes one script, one login and a short settings pass. Use the official installer, log in with a browser or a token, connect to the country you need and turn on the kill switch before you trust the tunnel with real traffic. The same account also covers your router through our NordVPN on MikroTik guide, and our NordVPN on pfSense setup follows the same server and credential model.

Leave a Reply

Your email address will not be published. Required fields are marked *