LinuxCommandLibrary

nordvpn

command-line interface for the NordVPN service, providing secure VPN

TLDR

Interactively log into a NordVPN account

$ nordvpn login
copy
Display the connection status
$ nordvpn status
copy
Connect to the nearest NordVPN server
$ nordvpn connect
copy
List all available countries
$ nordvpn countries
copy
Connect to a server in a specific country
$ nordvpn connect [Germany]
copy
Connect to a server in a specific country and city
$ nordvpn connect [Germany] [Berlin]
copy
Set autoconnect option
$ nordvpn set autoconnect on
copy

SYNOPSIS

nordvpn command [options]

DESCRIPTION

nordvpn is the command-line interface for the NordVPN service, providing secure VPN connections to servers worldwide. It manages authentication, server connections, and client settings.
The client supports various connection protocols (NordLynx/WireGuard, OpenVPN) and features like kill switch, auto-connect, and split tunneling. Server selection can be automatic (nearest/fastest) or manual by country, city, or specific server.
The NordVPN daemon must be running for the CLI to function; it's typically managed as a systemd service.

PARAMETERS

login

Authenticate with NordVPN account
logout
Log out of the current account
connect, c
Connect to a VPN server
disconnect, d
Disconnect from the VPN
status
Show current connection status
countries
List available server countries
cities _country_
List available cities in a country
set, s
Configure NordVPN settings
settings
Display current settings
whitelist
Manage whitelisted ports and subnets

CAVEATS

Requires an active NordVPN subscription. The nordvpnd daemon must be running (usually started via systemd). Initial login opens a browser for authentication. The kill switch, when enabled, blocks internet access if the VPN disconnects.

SEE ALSO

openvpn(8), wg(8), nmcli(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community