Package Details: openvpn-nordvpn 0.1.39-0

Git Clone URL: https://aur.archlinux.org/openvpn-nordvpn.git (read-only, click to copy)
Package Base: openvpn-nordvpn
Description: OpenVPN helper script for nordvpn.com
Upstream URL: https://github.com/nstinus/nordvpn
Keywords: nordvpn openvpn
Licenses: MIT
Provides: nordvpn
Submitter: nstinus
Maintainer: nstinus
Last Packager: nstinus
Votes: 22
Popularity: 0.002399
First Submitted: 2017-02-01 16:40
Last Updated: 2019-05-12 13:20

Dependencies (17)

Required by (0)

Sources (1)

Pinned Comments

nstinus commented on 2017-03-06 14:31

Thank you for your support!

This package is comprised of a convenience utility to start, stop, list the servers. It also downloads and installs config files from nordvpn. See its help for available commands and usage (sudo nordvpn -h).

For any issue or feature request, please do so on https://github.com/nstinus/nordvpn/issues.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Anonymous comment on 2017-05-24 21:48

@nstinus I figured it out, in the end. All it took was changing from using this to just regular openvpn and faffing around with some bash scripts to automate it. now everything works much better and no more mismatched updates :))

ata commented on 2017-05-23 20:32

sha256sums=('acb78bf11748362bd84dbcdfb6f6e2d8b5a1e9539b8a3451e4a69a820459fbe2')


change its

ata commented on 2017-05-23 19:06

00 4017k 100 4017k 0 0 673k 0 0:00:05 0:00:05 --:--:-- 835k
==> source ile sha256sums dosyası doğrulanıyor...
zip ... BAŞARISIZ
==> HATA: Bir ya da daha fazla dosya doğrulama kontrolünü geçemedi.

nstinus commented on 2017-05-19 06:18

@DryEagle I share your frustration. The idea initially was that these sums are here for a good reason: they "protect" you from malicious vpn files. Back when that started, they updated perhaps twice a week, so it was ok. Now, it can be several times a day... To address this, I see two options:

1. As you proposed, skip the checksum. But then, if you want a fresh set of config files, you'll need to re- build and install the package. Sounds pretty dirty and you have no way of knowing that the files are outdated.
2. Have nordvpn handle the download-modify-install of the config files; perhaps with a new command. That is what other vpn scripts do I believe (private-internet-access-vpn). It is cleaner and this package will almost never change.

Note that according to sanyika, nordvpn is actively working on a linux desktop application. That probably explains why they do not really want to address my complains.

Anonymous comment on 2017-05-18 15:50

Can you just put 'SKIP' in the pkgbuild shasums and then we won't constantly have this version mismatch? Not the most elegant solution but better than always having version mismatches...

hutliver commented on 2017-05-18 04:07

@sanyika @nstinus somehow everything works now.. thanks for the help!

nstinus commented on 2017-05-15 23:37

@sanyika. Your proposition is a good idea. Just make sure you remove the auth-user-pass directive from the config file when using openvpn directly.

For information, in the package sources, "./make.sh update" can help a little with updating the shas.

Anonymous comment on 2017-05-15 20:21

@hutliver yes seems theres something wrong with your authentication. Does connection work if you try to connect with openvpn by yourself? "sudo openvpn server...ovpn" and enter your login data there?

@all zip file got new sha256 again, when update fails you can manually edit the PGKBUILD and enter "8ab427fd39d577edf4bc9dcbe50bba0a06acb5276ec124a9db10806c5e49a273" as sha256 for newest NordVPN given zip file.

nstinus commented on 2017-05-15 14:51

@hutliver: There is indeed no documentation, mainly because there isn't much to document.
This package installs the openvpn config files and a shell script "nordvpn" which is merely a helper to invoke systemctl properly. Feel free to look at its source.
In regards to /etc/openvpn/client/nordvpn/credentials.conf, you are correct, it should be: first line with the login and second line with the password. Try running the script with the option -v, it will show the commands it runs.

For example:
% sudo nordvpn -v stop
+ shift
+ getopts vh opt
+ command=stop
+ shift
+ case $command in
++ get_service
++ systemctl --type=service
++ grep openvpn-client@nordvpn
++ awk '{print $1}'
+ service=openvpn-client@nordvpn_sg5.service
+ test -z openvpn-client@nordvpn_sg5.service
+ systemctl stop openvpn-client@nordvpn_sg5.service

From there, systemctl looks for the file under
% sudo ls -l /etc/openvpn/client/nordvpn_sg5.conf
lrwxrwxrwx 1 root root 56 May 15 07:46 /etc/openvpn/client/nordvpn_sg5.conf -> /etc/openvpn/client/nordvpn/sg5.nordvpn.com.udp1194.ovpn

Which contains the path to the credentials file mentioned above:
% sudo grep cred /etc/openvpn/client/nordvpn/sg5.nordvpn.com.udp1194.ovpn
auth-user-pass /etc/openvpn/client/nordvpn/credentials.conf

The auth-user-pass directive is well documented in openvpn.

From the looks of it, it seems your credentials are invalid. Have you been able to connect to nordvpn from another platform?

hutliver commented on 2017-05-15 08:34

@sanyika:
AUTH: Received control message: AUTH_FAILED
May 15 15:32:47 thinkpad openvpn[11498]: SIGTERM[soft,auth-failure] received, process exiting

what should be the layout of the config file? I just replaced the username and password with my credentials on different lines.. there's no documentation ..