NordVPN → WireGuard config

NordVPN does not publish WireGuard config files, but every piece needed to build one is retrievable. This page assembles it for you.

Everything happens in your browser

This is a static page with no server behind it. Your private key is never transmitted, stored, or logged — it never leaves this tab. You will never be asked for your NordVPN account token here. Step 2 shows you a command to run on your own machine instead.

1 Choose a server

Not every server permits torrenting.

2 Get your private key

Generate an access token at NordAccount → Generate access token, then run this on your own machine and paste the result below.

curl -s -u token:YOUR_TOKEN https://api.nordvpn.com/v1/users/services/credentials | jq -r .nordlynx_private_key

That token is a credential for your whole NordVPN account. Run the command yourself — never paste the token into a website, including this one. The key it returns is 44 characters and ends with =.

Offers the key to your browser's password manager. In Firefox, saved logins are recoverable from your profile directory by any process running as you unless a Primary Password is set. Set one first, or use a dedicated password manager.

3 Options

Advanced — defaults are fine for normal use
Your country and these checkboxes are remembered in this browser. Your private key is never saved — see the README for why.

4 Your configuration

Choose a server and paste your private key.

The downloaded file contains your private key and lands in your Downloads folder readable by any process running as you. Lock it down as you move it:

sudo install -m 600 -o root -g root ~/Downloads/wg0.conf /etc/wireguard/wg0.conf sudo wg-quick up wg0