← Work

njord

KJCWPersonalOpen sourceJul 2023

github.com/admjs/njord ↗

Python · OpenVPN · PyPI

What it is

njord wraps NordVPN's OpenVPN setup in a few lines of Python, so a script can connect, confirm it's protected, and disconnect without anyone clicking through a VPN app. It's on PyPI: pip install njord.

It reads NordVPN service credentials from a .env file or environment variables (or takes them explicitly), picks a server, and drives openvpn under sudo. Because of that it works on macOS, Apple silicon included, and Linux; Windows isn't supported, and on Linux Nord's official client may suit you better.

A small, single-purpose tool from July 2023. MIT-licensed.