Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
A CLI tool for automating the importing, securing and usage of NordVPN OpenVPN servers through NetworkManager.
|Build Status| |GitHub tag| |AUR| |license| |GitHub issues|
I don’t plan to actively maintain this repository any further. I
haven’t used NordVPN’s services in quite some time and lacking an
account also makes testing it more difficult. If you are interested in
becoming a maintainer, please contact me at nordnm@ross.ch
and I can
provide direct access to the repository.
This tool automates the importing and secures the usage of NordVPN (and eventually any) OpenVPN configurations through Network Manager.
Disclaimer: I am not associated with
Tesonet <https://tesonet.com>
/NordVPN <https://nordvpn.com>
in
any shape or form, nor do I recommend their services for sensitive
traffic (or any other private VPN provider for that matter). If you plan
on using this tool for anonymity much beyond circumventing geo-blocking,
I would recommend a different approach.
Using a self-hosted VPN solution (such as
Algo <https://github.com/trailofbits/algo>
) provides higher
assurance that your traffic isn’t being monitored by a bad actor. Better
yet, use TOR or another mix network <https://en.wikipedia.org/wiki/Mix_network>
.
WebRTC Privacy Warning: This tool can’t protect against IP leaks
through WebRTC in browsers. For more information: The WebRTC “bug” <https://www.bestvpn.com/a-complete-guide-to-ip-leaks/#webrtc>
__
If you encounter a problem or have a feature request, please make an issue report and it will be looked into ASAP.
DNS leaks <https://en.wikipedia.org/wiki/DNS_leak>
__.1.1 Arch (AUR)
Use your preferred method of installing packages via AUR. An easy option
is to use `yay <https://github.com/Jguer/yay>`__:
::
yay -S nordnm
1.2 Debian/Ubuntu
::
wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add - sudo apt-add-repository "https://dl.bintray.com/chadsr/nordnm-deb main" sudo apt update && sudo apt install nordnm
1.3 RPM Based Distributions (Fedora, CentOS, etc)
::
wget https://bintray.com/chadsr/nordnm-rpm/rpm -O bintray-chadsr-nordnm-rpm.repo
sudo mv bintray-chadsr-nordnm-rpm.repo /etc/yum.repos.d/
sudo yum install nordnm
1.4 Python PIP
~~~~~~~~~~~~~~
**Note:** If you install via PIP, system dependencies will need to be
installed manually. It is therefore recommended to install via your
system package manager. If your system is not yet listed above, leave an
issue and it can be added ASAP.
*If your default Python version is 2.x (check using ``python -V``), you
will need to use pip3 below*
System Install
^^^^^^^^^^^^^^
::
sudo -H pip install nordnm
User Install
^^^^^^^^^^^^
::
pip install --user nordnm
2. Usage
--------
::
usage: nordnm [-h] [-v] [-k] [-i] [-a [COUNTRY_CODE] [VPN_CATEGORY] [PROTOCOL]] ...
optional arguments:
-h, --help show this help message and exit
-v, --version Display the package version.
-k, --kill-switch Sets a network kill-switch, to disable the active network interface when an active VPN connection disconnects.
-i, --disable-ipv6 Disable IPv6 when enabling a VPN connection
-a [COUNTRY_CODE] [VPN_CATEGORY] [PROTOCOL], --auto-connect [COUNTRY_CODE] [VPN_CATEGORY] [PROTOCOL]
Configure NetworkManager to auto-connect to the chosen server type. Takes country code, category and protocol.
commands:
Each command has its own help page, which can be accessed via nordnm <COMMAND> --help
remove (r) Remove active connections, auto-connect, kill-switch, disabling ipv6, data, mac settings or all.
update (u) Update a specified setting.
list (l) List the specified information.
sync (s) Synchronise the optimal servers (based on load and latency) to NetworkManager.
import (i) Import an OpenVPN config file to NetworkManager.
mac (m) Global NetworkManager MAC address preferences. This command will affect ALL NetworkManager connections permanently.
**Note:** Each command has its own help section, which can be acccessed
via ``nordnm <COMMAND> --help``.
2.1 Example Usage
~~~~~~~~~~~~~~~~~
- **View available categories and countries:**
::
sudo nordnm list --categories --countries
- **Synchronise current optimal servers, activate the kill-switch and
auto-connect to a “normal” UDP server in the US:**
::
sudo nordnm sync -ka us normal udp
- **Same as above, but don’t check for latest configuration files:**
::
sudo nordnm sync -nka us normal udp
- **View metrics of the synchronised servers:**
::
sudo nordnm list --active-servers
- **Set your MAC address to be randomised each time you connect to a
network:**
::
sudo nordnm mac --random
- **Change the auto-connect to another synchronised server:**
::
sudo nordnm -a ru p2p udp
- **Import a specific OpenVPN configuration file while still using the
killswitch and autoconnect features (Experimental):**
::
sudo nordnm import /home/foo/config.ovpn -ak -u username -p password
- **Update the settings:**
::
sudo nordnm update --settings
- **Update the user credentials:**
::
sudo nordnm update --credentials
- **Disable the network kill-switch:**
::
sudo nordnm remove --kill-switch
- **Remove all settings and files:**
::
sudo nordnm remove --all
.. |Build Status| image:: https://travis-ci.org/Chadsr/NordVPN-NetworkManager.svg?branch=master
:target: https://travis-ci.org/Chadsr/NordVPN-NetworkManager
.. |GitHub tag| image:: https://img.shields.io/github/tag/Chadsr/NordVPN-NetworkManager.svg
:target: https://github.com/Chadsr/NordVPN-NetworkManager/releases
.. |AUR| image:: https://img.shields.io/aur/version/nordnm.svg
:target: https://aur.archlinux.org/packages/nordnm/
.. |license| image:: https://img.shields.io/github/license/Chadsr/NordVPN-NetworkManager.svg
:target: https://github.com/Chadsr/NordVPN-NetworkManager/blob/master/LICENSE
.. |GitHub issues| image:: https://img.shields.io/github/issues/Chadsr/NordVPN-NetworkManager.svg
:target: https://github.com/Chadsr/NordVPN-NetworkManager/issues
FAQs
A CLI tool for automating the importing, securing and usage of NordVPN OpenVPN servers through NetworkManager.
We found that nordnm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.