Score:1

Cannot log into Nord VPN

in flag

I have been able to add the repo and install the nordvpn package from apt. However, when attempting to log in from the command line, I get the following:

$ sudo nordvpn login
Continue in the browser: https://zwyr157wwiu6eior.com/v1/users/oauth/login-redirect?attempt=a6d25b0a-06d6-402c-af15-908d0627644a

The link redirects to the Nord VPN login on the browser, which I am able to successfully do, however when it attempts to redirect to the NordVPN app, nothing happens. Selecting the NordVPN app from the applications list in the side bar does not successfully start the application either.

The last time I tried logging in from another linux PC I was able to login directly from the command line without any issues. Any ideas on what I'm missing?

ChanganAuto avatar
us flag
You need to ask NordVPN
ar flag
You should not use sudo with NordVPN.
in flag
@user68186 can you elaborate? The last time I had it working on Mint Linux, it would not work without issuing a sudo command. Seems to work fine without sudo on Ubuntu.
ar flag
If you look at the [NordVPN's official guide](https://gobestvpn.com/guide/nordvpn-linux/) you will see that `sudo` is used only for installation of the software. The rest of the commands don't have the `sudo` prefix. As you said, it works without `sudo`. Using `sudo` when it is not meant to for is a potential security issue.
Score:3
vn flag

Although the previous answers may have worked before they do not work as of 9 August, 2023. The new way to login via the Ubuntu CLI is to use the --token flag: nordvpn login --token <your generated token from the portal>

In order to get the generated token you need to login to your NordVPN account portal, then head on to Nord VPN -> scroll down until you see Set up Nord VPN manually -> complete MFA steps here -> Then under Access Token generate a new Token -> setup the Expiry date (either 30 days or never) -> Copy and Close.

After that you may use the nordvpn login --token <generated token>.

Hope this is helpful.

Cheers!!

Score:3
sn flag

I had the same problem and found a solution in this forum: https://discourse.lubuntu.me/t/how-to-setup-nordvpn/2958/3

The gist is: you can use nordvpn login --legacy​ in order to avoid the browser.

Raymond avatar
gs flag
worked for me too
in flag
Thanks, this worked. Also mentioned in the link you provide, is that the CLI tool doesn't work with MFA.
pierrely avatar
cn flag
I can't speak highly enough for nordvpn's support in my experience, but I did complain about the need to login through a browser, necessarily without vpn, to login to the vpn. thanks for the yip. another hidden nordvpn feature.
pierrely avatar
cn flag
you can also get stuck with the nordvpn killswitch set to on and for whatever reason that doesn't work, ubuntu cannot login to internet at all, or you cannot ping as dns resolv issue. you need to set killswitch off.
in flag
Thanks, that's good to know. I also found that, in my case, I had to change the protocol setting to TCP after install. Everything has been working great after that, except I can't get the GUI to work. But I prefer CLI anyway.
user2989643 avatar
vn flag
outdated and doesn't work as of 9 August, 2023.
Score:1
ye flag

Alternatively you can ...:

  1. Visit OpenVPN configuration files
  2. Download the specific OpenVPN configuration file which fits to your needs.
  3. In Ubuntu open Settings/Network in the section VPN press the + button.
  4. Import the downloaded configuration file and add your NordVPN credentials in the appearing dialog.
  5. Now you should see a new entry in the VPN section. Activate the new VPN connection by clicking on the slider.

The advantage of this method is, you don't need to install any third party software and it works without any complications.

Score:0
ma flag

I got the same issue, use the login flags provided :

 $ sudo nordvpn login --username YOURUSERNAME --password PASSWORDPLAINTEXT
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.