Skip to content

Instantly share code, notes, and snippets.

@gonzaloplaza
Created December 2, 2024 20:44
Show Gist options
  • Save gonzaloplaza/ccb57e87419b070aa89605979c9e8e91 to your computer and use it in GitHub Desktop.
Save gonzaloplaza/ccb57e87419b070aa89605979c9e8e91 to your computer and use it in GitHub Desktop.
Install & Connect NordVPN - Ubuntu Server

How to install NordVPN Ubuntu/Debian servers (Without GUI)

  1. Donwload and install gpg key:
curl https://repo.nordvpn.com/gpg/nordvpn_public.asc > nordvpn-keyring.asc
sudo gpg --output=/etc/apt/trusted.gpg.d/nordvpn-keyring.gpg --dearmor nordvpn-keyring.asc
rm nordvpn-keyring.asc
  1. Add NordVPN package sources:
echo "deb [arch=amd64] http://repo.nordvpn.com/deb/nordvpn/debian stable main" | sudo tee /etc/apt/sources.list.d/nordvpn.list
  1. Install NordVPN
sudo apt update && sudo apt install nordvpn -y
  1. Add your user to the norvpn group
sudo usermod -aG nordvpn $USER
  1. Login and follow instructions (https://support.nordvpn.com/hc/en-us/articles/20226600447633-How-to-log-in-to-NordVPN-on-Linux-devices-without-a-GUI)
sudo nordvpn login
sudo norvpn login --callback "nordvpn://login?action=login&exchange_token=<TOKEN>&status=done"
  1. Connect to sever:
sudo nordvpn connect es
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment