@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.
Search Criteria
Package Details: openvpn-nordvpn 0.1.41-1
Package Actions
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: | 23 |
Popularity: | 0.000000 |
First Submitted: | 2017-02-01 16:40 (UTC) |
Last Updated: | 2020-03-30 19:04 (UTC) |
Dependencies (17)
- bc (bc-ghAUR)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- fping (fping-gitAUR)
- openvpn (openvpn-gitAUR, openvpn-mbedtlsAUR)
- openvpn-update-resolv-conf-gitAUR
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR, fudo-gitAUR)
- systemd (systemd-chromiumosAUR, systemd-selinuxAUR, systemd-gitAUR, systemd-fmlAUR)
- unzip (unzip-natspecAUR, unzip-zstdAUR)
- asciidoc (asciidoc-gitAUR) (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- bash-completion (bash-completion-gitAUR) (optional) – auto-complete commands
- iputils (busybox-coreutilsAUR, iputils-gitAUR) (optional) – run ping and rank functions
- jq (jq-gitAUR, jaq-binAUR) (optional) – pick recommended server for "start" command
- python-pandas (optional) – run nordvpn infos command
- vpnfailsafe-gitAUR (optional) – use instead of update-resolv-conf if available
Required by (2)
- nordtray-bin (requires nordvpn)
- plasma6-runners-nordvpn (requires nordvpn)
Sources (1)
nstinus commented on 2017-05-19 06:18 (UTC)
<deleted-account> commented on 2017-05-18 15:50 (UTC)
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 (UTC)
@sanyika @nstinus somehow everything works now.. thanks for the help!
nstinus commented on 2017-05-15 23:37 (UTC)
@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.
<deleted-account> commented on 2017-05-15 20:21 (UTC)
@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 (UTC) (edited on 2017-05-15 14:52 (UTC) by nstinus)
@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 (UTC)
@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 ..
<deleted-account> commented on 2017-05-07 18:16 (UTC)
@hutliver: check "sudo nordvpn status"
hutliver commented on 2017-04-28 04:40 (UTC)
how do I use this package? I updated the /etc/openvpn/client/nordvpn/credentials.conf with my userid and password, try sudo nordvpn start us11 and nothing happens..
liamdawe commented on 2017-04-12 20:38 (UTC)
It fails again by the way, I guess they updated again.
Pinned Comments
nstinus commented on 2017-03-06 14:31 (UTC) (edited on 2017-07-01 08:40 (UTC) by nstinus)