NordVPN icon

NordVPN for Linux

Privacy and security for Linux users

OpenSSF Scorecard

About | Versioning | Contributing | Building | Troubleshooting | Installing

#

About

The [NordVPN](https://nordvpn.com/features/) Linux application provides a simple and user-friendly command line interface for accessing all the different features of NordVPN. Users can choose from a list of server locations around the world, or let the application automatically select the best server for them. They can also customize their connection settings, such as choosing a specific protocol or enabling the kill switch feature. The application manages: - network interfaces using [WireGuard](https://www.wireguard.com/) (NordLynx) and tun (OpenVPN), - firewall with the help of [nftables](https://nftables.org), - routing via the [netlink](https://www.man7.org/linux/man-pages/man7/netlink.7.html) kernel interface and - DNS using systemd-resolved, resolvconf, or NetworkManager depending on what is available on the system. --- ## Versioning The project follows [semver](https://semver.org/). Version tags and release branches must be named accordingly. ## Contributing We are happy to accept contributions for the project. Please check out [CONTRIBUTE.md](./CONTRIBUTE.md) for more details on how to do so. ## Building You can find everything related to building, testing and environment setup in [BUILD.md](./BUILD.md). ## Troubleshooting ### Collecting diagnostics If you run into an issue, you can collect diagnostic logs and system information to share with NordVPN support: ```sh nordvpn diagnostics ``` This gathers daemon and CLI logs, network and DNS configuration, firewall rules, and system information into a zip file. The file may contain sensitive information about your system and configuration, so share it only with our support team through a secure channel. ### Log level The log verbosity of the NordVPN daemons can be changed at runtime without restarting by writing to: - `/run/nordvpn/loglevel` for DEB and RPM - `/var/snap/nordvpn/common/run/nordvpn/loglevel` for SNAP Example: ```sh echo "debug" | sudo tee /run/nordvpn/loglevel ``` Valid values are `debug`, `info`, `warn`, `error`, `fatal` and `off`. ### libtelio log level The verbosity of libtelio can be changed by writing to: - `/run/nordvpn/teliologlevel` for DEB and RPM - `/var/snap/nordvpn/common/run/nordvpn/teliologlevel` for SNAP Example: ```sh echo "debug" | sudo tee /run/nordvpn/teliologlevel ``` Valid values are `debug`, `info`, `warn`, `error` and `trace`. libtelio log level is capped by the global log level. E.g. lib level logs will be printed only if global level logs are equal or higher. Global `debug` log level matches both `debug` and `trace` for the lib log level. Unlike the global log level, the changes require a daemon restart to take effect. ### Meshnet peer routing not working on Fedora with Docker installed When Docker is installed on Fedora, it drops all forwarded traffic that does not come from Docker. As a result, Meshnet routing through a Fedora machine will not work. To fix this, create `/etc/docker/daemon.json` with the following content: ```json { "ip-forward-no-drop": true } ``` Then reboot the system, for example: ```sh sudo reboot ``` ## Installing For installing an already released version please follow the instructions on our [official page](https://nordvpn.com/download/linux/#install-nordvpn). ### Supported distros Distributions are not supported after their end of life. ### OpenVPN data channel offload (DCO) The bundled OpenVPN can encrypt tunnel traffic in the kernel instead of userspace using [Data Channel Offload](https://community.openvpn.net/openvpn/wiki/DataChannelOffload). It is attempted automatically and falls back to the userspace tunnel when not available. The bundled OpenVPN is 2.7, for this OpenVPN version DCO only works if the `ovpn` module is in the tree (Linux 6.16+) To confirm it's active, first connect: ```bash nordvpn connect ``` And then check the interface kind while connected (`ovpn` when offloaded, `tun` when not): ```bash ip -d link show nordtun ``` The old openvpn-dco-dkms module is not supported for OpenVPN 2.7+ --- This project is licensed under the terms of the [GNU General Public License v3.0](./LICENSE.md) only. The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.