LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-04-2021, 01:02 PM   #1
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Rep: Reputation: 7
Unhappy NordVPN App - "Whoops! Cannot reach System Daemon." when running "nordvpn c"


Hello,
i have installed NordVPN App from SlackBuilds and have done the described instructions there - like adapting rc.local and rc.local_shutdown files to start and stop service automatically.

I have not done the described steps in the very first post in
this guide

When i try to run
Code:
nordvpn c
i get error
Code:
Whoops! Cannot reach System Daemon.
Apprently something is not right, could you please help me find and fix it?
thanks!
 
Old 12-04-2021, 03:42 PM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,131

Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
It would seem the /etc/rc.d/rc.nordvpn daemon has not been started or has not been made executable?

As root run,
Quote:
chmod +x /etc/rc.d/rc.nordvpn
You only have to do that once.

Rather than have it on all the time, when I need it I open a terminal and, as user run,
Quote:
sudo /etc/rc.d/rc.nordvpn start
The first time you run, nordvpn c
it will ask for your user name and password.

To shut it down run,
Quote:
sudo /etc/rc.d/rc.nordvpn stop

Last edited by cwizardone; 12-04-2021 at 03:49 PM.
 
2 members found this post helpful.
Old 12-04-2021, 04:57 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Thanks for the tutorial cwizardone! That works very well!
 
2 members found this post helpful.
Old 12-05-2021, 01:42 AM   #4
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by cwizardone View Post
It would seem the /etc/rc.d/rc.nordvpn daemon has not been started or has not been made executable?

As root run,
You only have to do that once.

Rather than have it on all the time, when I need it I open a terminal and, as user run,

The first time you run, nordvpn c
it will ask for your user name and password.

To shut it down run,
This works, thanks, do you also know where i could change the default server which the daemon would connect to?
 
Old 12-05-2021, 07:50 AM   #5
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,131

Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
Originally Posted by hitest View Post
Thanks for the tutorial cwizardone! That works very well!
You are welcome.


If you have Wireguard installed and would like Nordvpn to use it for "enhanced security,"
as root, run,
Quote:
nordvpn set technology nordlynx
after you start the daemon, but before you run, nordvpn c
It will return the message, "Technology is successfully set to 'NordLynx."
You only have to do that once.

Last edited by cwizardone; 12-05-2021 at 08:02 AM.
 
Old 12-05-2021, 08:00 AM   #6
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,131

Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
Originally Posted by glupa4e View Post
This works, thanks, do you also know where i could change the default server which the daemon would connect to?
Sorry, no I don't.
As a subscriber you have access to their online tutorials. It isn't the best documentation I've ever seen, but the answer might be there somewhere.
Good luck.
 
Old 12-05-2021, 12:50 PM   #7
~red
Member
 
Registered: Feb 2021
Location: This planet
Distribution: Arch Linux + GNOME, Slackware Current
Posts: 34
Blog Entries: 4

Rep: Reputation: Disabled
Ah this, yeah it's fixed at new version;
It has a bit more of work.

Last edited by ~red; 12-05-2021 at 02:32 PM.
 
Old 12-05-2021, 01:22 PM   #8
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
You are welcome.


If you have Wireguard installed and would like Nordvpn to use it for "enhanced security,"
as root, run,
after you start the daemon, but before you run, nordvpn c
It will return the message, "Technology is successfully set to 'NordLynx."
You only have to do that once.
Wireguard does not provide "enahnced security" in comparison to OpenVPN. Currently the only advantage is speed. On the other hand Wireguard is UDP only protocol which limits it usage to the places where VPN is allowed.

From privacy standpoint OpenVPN is still superior.
Currently wireguard is better for speed and provides good privacy, OpenVPN provides good speed and better privacy.
 
1 members found this post helpful.
Old 12-06-2021, 09:04 AM   #9
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,131

Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Nordvpn went about it a little differently.
Quote:
....To put it less technically: by implementing the out-of-the-box WireGuard protocol in our service, we would have put your privacy at risk. And we would never do this.
So we had a puzzle to solve: how can we bring WireGuard’s benefits to our users while strengthening the wobbly privacy part?

How we made it work.

We needed to find a way for the WireGuard protocol to work without posing a risk to our customers’ privacy.
And we found it. We developed something called a double NAT (Network Address Translation) system.
To put it simply, the double NAT system creates two local network interfaces for each user. The first interface assigns a local IP address to all users connected to a server. Unlike in the original WireGuard protocol, each user gets the same IP address.
Once a VPN tunnel is established, the second network interface with a dynamic NAT system kicks in. The system assigns a unique IP address for each tunnel. This way, internet packets can travel between the user and their desired destination without getting mixed up.
The double NAT system allows us to establish a secure VPN connection without storing any identifiable data on a server. Dynamic local IP addresses remain assigned only while the session is active. Meanwhile, user authentication is done with the help of a secure external database.....
The full page, https://nordvpn.com/blog/nordlynx-protocol-wireguard/

Last edited by cwizardone; 12-06-2021 at 09:09 AM.
 
Old 12-06-2021, 09:08 PM   #10
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
Nordvpn went about it a little differently.

The full page, https://nordvpn.com/blog/nordlynx-protocol-wireguard/
Retaining client IP address is a problem, nordlynx is just a patch, not a standard, far from enhanced security and it is easy to block UDP.
 
Old 12-08-2021, 06:00 PM   #11
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,131

Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
A little more information on WireGuard,
https://www.theregister.com/2021/12/08/wireguard_linux/
 
Old 12-09-2021, 07:38 AM   #12
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
A little more information on WireGuard,
https://www.theregister.com/2021/12/08/wireguard_linux/
ok, lets go over the article:
Quote:
There's only one little problem with commercial VPNs: many of them are untrustworthy. So, what can you do? Well, run your own of course is the open-source answer. And, today, your VPN of choice is Linux's built-in VPN: WireGuard.
This is first sign of pure PR:
Wireguard as well as OpenVPN uses external services to create tunnel. The customer one way or another has to trust service provider.

Quote:
Torvalds loved WireGuard because, "Maybe the code isn't perfect, but I've skimmed it, and compared to the horrors that are OpenVPN and IPSec, it's a work of art."
Of course the code isn't perfect (no human product is perfect). As I stated before, you have serious issues with user IP address retained on the server. NordVPN uses nordlynx and Mullvard and OVPN clean data after 180s if connection is broken.
This is an issue that OpenVPN does not have to deal with. "Enhanced security" is an attempt to be on par with OpenVPN which simply does not have this problem.
Quote:
Just in terms of sheer lines of code, for example, OpenVPN weighs in at 70,000 lines of code. Or, if implemented with OpenSSL, as it usually is, it comes in at a hefty 600,000 total lines of code. WireGuard? It's a mere 4,000 lines of code. That makes it, as many security experts have pointed out, much simpler to audit for security problems.
..and what about growing number of kernel lines of code? Does it make kernel less secure? Up until now OpenVPN code was/is thoroughly audited so ona can trust OpenVPN as much as possible. On the other hand Wireguard is quite new and until year or less ago even Wireguard official site warned that this is beta software.
Quote:
He suggested it be supplemented with a new cryptographic subsystem: His own Zinc library.
ok
Quote:
Some Zine elements have been imported into the legacy crypto code in the Linux 5.5 kernel.
..and I always hear how difficult is to implement a new crypto.
Quote:
Today, WireGuard is a layer 3 secure VPN. While it started in Linux, WireGuard code quickly became cross-platform. Today it runs on Windows, macOS, BSD, iOS, and Android. Indeed, there's already a native, albeit experimental Windows WireGuard port. You name it, you can probably run WireGuard on it.
I can do the same with OpenVPN
Quote:
By itself, for example, WireGuard doesn't dynamically assign IP addresses. So, by itself, every time you use it, you get the same, easy-to-track static IP address. That, in turn, means WireGuard must log and store your IP address and timestamps. Both OpenVPN and IKEv2 avoid these security concerns by dynamically assigning IP addresses.
This is a serious privacy concern, personally for me this is no go (I would not use IKEv2 either if I can help it).

Limiting traffic to UDP only may help:

ISPs to throttle VPN Traffic
some countries make VPNs illegal and block VPNs (DPI)
streaming platforms successfully block VPNs
using OpenVPN provides an extra layer of privacy

In the future I will switch to Wiregard, after my concerns are solved but I am not in the rush.
 
Old 12-09-2021, 09:58 AM   #13
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Aeterna View Post
some countries make VPNs illegal and block VPNs (DPI)
My country doesn't block VPNs, but, my bank does. Banking transactions should be really secure. It annoys me that I can't use a VPN to login to the bank.
 
Old 12-09-2021, 10:35 AM   #14
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,131

Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
Originally Posted by hitest View Post
My country doesn't block VPNs, but, my bank does. Banking transactions should be really secure. It annoys me that I can't use a VPN to login to the bank.
I've never had any problems connecting to the banks I use when using Nordvpn's extension for Firefox.
Out of curiosity, I just fired up NordLynx, as per the instructions in post #2, above, and had no problems connecting to the same institutions.

The only site I haven't been able to connect to using a VPN is The Linux Kernel Archive.
Amazon Prime works. Netflix works, but using a VPN generates a security warning.

Last edited by cwizardone; 12-09-2021 at 11:01 AM.
 
Old 12-09-2021, 11:45 AM   #15
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by cwizardone View Post
I've never had any problems connecting to the banks I use when using Nordvpn's extension for Firefox.
You're lucky! I was able to use NordVPN to connect to my bank and then suddenly I could not. I became curious and called my bank. They confirmed that they are now blocking VPN access. Annoying.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
whoops: can anyone tell me how to fix a boot problem... raistrick Linux - Newbie 3 08-04-2003 02:56 PM
Whoops - yanc mistake and can't load X asktoby Linux - Software 11 07-31-2003 12:49 PM
zen & art of rm -rf = (whoops) / hidden home virgin Linux - Newbie 2 07-05-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration