Easily connect to and switch between, OpenVPN servers hosted by NordVPN on Linux (+patch leakes)
New release in 3 years. This is a major release that includes many improvements and bugfixes including fix for new API rate limiting set by Nordvpn, causing JSONDecodeErrors.
Some of the changes are:
New feature: Allow Openpyn to invoke sudo to run the specified command
Added MacOS manual DNS patch and revert to prevent DNS leak
[New option --add-route
to Add route to default-gateway; Needed to continue serving any service including SSH. Required on VPSs. To ensure it doesn't leak traffic use it with -f and --allow]
[Logs are now stored in ~/.local/share/openpyn/logs/
instead of /var/log/openpyn/
]
Fixed ping issue on systems with LC_NUMERIC other den en_*
Bugfix, kill_management_client() should be called before kill_openpyn
Bugfix: Revert /etc/resolv.conf only if skip_dns_patch is false
Improvement: invocations of openpyn --kill will now exit with status code 0
Add more verbose logging for JSON decode errors
Feature: NVRAM connect and kill support for Asuswrt-merlin
Note: Previously only write support was enabled meaning that a user would have to go to the web interface of the router to toggle an off/on switch, now this process is fully automated, and kill also works as a bonus. So now openpyn has full native Asuswrt-merlin support!
Bugfix (nvram) and optimisations
Bugfixes and new features for NVRAM users, external app users
Bugfix: ASUSWRT-Merlin 384.18 is now supported
Bugfix: ASUSWRT-Merlin latest is now supported
Bugfix: Improve check VPN client status for Asuswrt-merlin
Bugfix: Suppress output for VPN service connect/disconnect for Asuswrt-merlin
Bugfix: Suppress output for VPN service connect/disconnect for Asuswrt-merlin
fixed bug that stopped failover to next server. #74
A lot has changed since the last release on github.
New Features:
"-f" forces Firewall Rules to block leakage, if tunnel breaks (Experimental!) . uses iptables to block all traffic to other interfaces except internal traffic and traffic to the specific ip address of the openvpn server you are trying to connect to.
install script with "install.sh".
"-kf" clears iptables rules and kills any openvpn processes.
"-d" now displays server that are not (yet) shown on the nordVPN's site yet but their openvpn files exist.
Improvements:
Now connect to any servers residing in any country! A json file has been dynamically generated to get all country name mappings. '-ls' to list all countries and their country codes. '-d' shows openvpn (udp-tcp) support
bugfix: Removed Static osIsDebianBased = False
The major features have been implemented. Proper dns leak patching for Debian based OS's (the ones that use "/sbin/resolvconf"). Manual patching (by editing /etc/resolv.conf) for others. Bug Fixes and Improvements.