NordVPN Linux Commands Reference
Click For NordVPN Deal
1. Install NordVPN (Ubuntu / Debian)
After install, log out and back in (or run newgrp nordvpn).
2. Log in
Option A – Browser login (recommended)
→ Opens a URL → log in → copy code → paste back into terminal.
Option B – Service token (best for servers / Docker)
3. Basic Connect / Disconnect
Connect to a specific country:
Connect to a specific city:
4. Check Status
5. Enable Kill Switch (important)
Disable:
6. Auto-connect on Boot
7. Change Protocol (WireGuard / NordLynx)
Other options:
8. P2P Servers
9. Obfuscated Servers (for restrictive networks)
10. Whitelist Local Network (for NAS, Docker, etc.)
This is critical for Synology, Docker, Portainer, etc.
Or a specific port:
11. Logout
If You’re Using This for Docker / Routing Other Containers
Since I know you’re running Synology + Portainer stacks, the usual pattern is:
-
Run NordVPN in its own container
-
Attach other containers to that container’s network namespace
Example (conceptual):
If you want, next we can:
-
set up NordVPN as a Docker service
-
and route specific containers through it
-
without breaking local access to your Synology UI, n8n, etc.
Quick sanity test after connect
or
If the IP is not your ISP → you’re good.
Click For NordVPN Deal
Recent Posts
