A CLI tool for automating the importing, securing and usage of NordVPN (and in the future, more) OpenVPN servers through NetworkManager.
disable-ipv6
flag which disables IPv6 via proc/sys/net/ipv6
when the VPN is up and enables it again when the VPN is down. No more relying on the fact that NetworkManager handles this correctly through connection settings.Removed the sync --update/-u
flag in favour of sync --no-update/-n
. Seems to make more sense. Most people always want to check for the latest config files, especially since nordnm already only re-downloads when there are changes.
Nordnm needs sudo, which is annoying. I don't have a solution to avoid that completely... so, nordnm now de-escalates itself, back to the user as soon as it runs, and only re-escalates when it's necessary.
Applied a patch to the auto-connect script to cover up a little deadlock if a pre-up script exists (Thanks @varqox for #119) . Hopefully a better solution to avoid the deadlock can be found eventually.
Updated the rpm package to require/use python 3.7 to temporarily fix an issue I have with needing absolute paths to python library directories. Should prevent #117 for users with up to date python versions on Fedora et al.
.nmconnection
) given to system connections in /etc/NetworkManager/system-connections
by NetworkManager. Nordnm now handles the old no extension files and the new .nmconnection
files.New, experimental import command for importing a specific OpenVPN configuration file (not just NordVPN) whilst still utilising features such as kill-switch and auto-connect. See readme for example usage.
Hard capped maximum spawned processes during benchmarking to 512, to prevent slowdown/lockup when there are large amounts of free file descriptors available.
There was an issue with python3-numpy
not meeting the required version on Ubuntu 16.04, so this is simply a patch to decrease the required numpy version to something satisfiable.
...I made a screw-up and v0.5.2 got released to PyPi with a missing fix, hence the jump in version numbers,
The tool no longer needs to modify /etc/resolv.conf directly. Thanks to the dns-priority
flag for NetworkManager connection configurations, DNS leaks can be avoided without the previous immutable attribute and custom script mess.
Full traceback is no longer shown when exiting nordnm abruptly with a keyboard interrupt.
Less waiting time when checking PyPi for the latest version number.
Fixed dependencies for the RPM package, which was previously broken.
Travis CI will now test package installations before they are released, hopefully avoiding more little issues like the one above.
A small patch to prevent nordnm breaking when DNS settings don't exist (like when you upgraded from an older version to v0.5.0)