NordVPN. Cannot connect using Slackware64 on Desktop.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Nothing there to configure. Probably you guys messed up OpenVPN config to the point that ideally would be to reinstall everything OpenVPN related.
Anyway: works using KDE Plasma Network Manager (so any GUI will do) and works when starting manually (well need to create file and edit ovpn to reflect the change).
firewall needs to be configured for tun nothing more.
howto (manual)
1) create a text file with your credentials in separate lines. save it in /etc/openvpn
2) edit Nordvpn *.ovpn file and modify this line
auth-user-pass
to this
auth-user-pass some_file.txt
save it and run
3)
cd /etc/openvpn && sudo openvpn *.ovpn &
howto Kde Plasma
1) open Configure Network Connections
2) press + in the left column
3) scroll down to Import VPN connection...
4) uload ovpn file
5) enter username
6) after connecting to ISP, select VPN connection from drop-down menu, enter password
it works either way for me.
Thanks for your solution, mate. I was very upset and frustrated before. My apologies!
No, the problem is related to VPN provider apps. As long as one is using linux defautls, (preferably OpenVPN) all works irrelewant of VPN provider's customizations.
It took me 5min to set OpenVPN with NordVPN.
There are more complicated (if needed to circumvent firewall for example) ways to set up OpenVPN.
More importantly, VPN provider will have OS related howtos or one can contact them and they should help.
I never had an isdue with OpenVPN, but I never used browser plugins or VPN provider's aps.
Main reason being that irreleva t of OS they tend to fail at some point.
There are only two reasons to disable ipv6 (second conditional):
1) privacy issues
2) DNS leak if using VPN (a - disable ipv6 in browser, b- didable ipv6 system wide)
However presence or absence of ipv6 will not affect connrctivity. If it does then the isdue is with the machine particular config)
needed changing. To login to a NordVPN browser-plugin one has to input user account details; when reloading browser tabs or in the nm-applet, the credentials should be those generated in a second step one can do after logging into one's NordVPN account on-line as described in those threads.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011
Rep:
Quote:
Originally Posted by brobr
Maybe, but a major problem suddenly arose when
Code:
auth-user-pass
needed changing. To login to a NordVPN browser-plugin one has to input user account details; when reloading browser tabs or in the nm-applet, the credentials should be those generated in a second step one can do after logging into one's NordVPN account on-line as described in those threads.
I never used nm applet for VPN conection management so I can't tell how it works. I would never re-load browser for VPN.
KDE Plasma Network Manager handles simple ovpn file without issue (including NordVPN). Less obvious VPN configs require manual input but work anyway. Changes to ovpn file are not limited to NordVPN. This seems more common approach. I don't know what caused this though as credentials are saved in plain text.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,157
Original Poster
Rep:
Quote:
Originally Posted by hitest
cwizardone,
The Google Chrome NordVPN extension solution is dead simple and an easy fix.
Works. Interesting. Tried it in Vivaldi and the nordvpn connection only works for whatever connections are made from inside of Vivaldi. Fired up two other browsers and they don't use the nordvpn connection. That is fine. The extension does make it easier to connect and disconnect.
Thanks!
Works. Interesting. Tried it in Vivaldi and the nordvpn connection only works for whatever connections are made from inside of Vivaldi. Fired up two other browsers and they don't use the nordvpn connection. That is fine. The extension does make it easier to connect and disconnect.
Thanks!
You're welcome, cwizardone! A big shout-out to leclerc78 for the solution.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,157
Original Poster
Rep:
It has been quite a while since I looked at extensions, so I just checked and found the same, for all practical purposes, extension is now available for Firefox. Looks and works the same as the extension for chrome and its clones.
Thanks, again.
It has been quite a while since I looked at extensions, so I just checked and found the same, for all practical purposes, extension is now available for Firefox. Looks and works the same as the extension for chrome and its clones.
Thanks, again.
You're welcome. Just installed it on FF. Thanks for the tip. Cool!
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011
Rep:
@hitest and @cwizardone
Probably too late but final guestion/solution: why don't you guys set up wireguard (NordVPN provides config files for wireguard)?
It will solve your authentication issues. Just remember to adjust your iptables config for wg0
Maybe this will help if not now then in the future with similar problems. I would test it even just as an excersise.
@hitest and @cwizardone
Probably too late but final guestion/solution: why don't you guys set up wireguard (NordVPN provides config files for wireguard)?
It will solve your authentication issues. Just remember to adjust your iptables config for wg0
Maybe this will help if not now then in the future with similar problems. I would test it even just as an excersise.
Good luck
Good morning, Aeterna! It's never too late, mate. If you feel like it you could perhaps post your solution to the Slackware documentation project. A suggestion. We appreciate your input.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011
Rep:
Quote:
Originally Posted by hitest
Good morning, Aeterna! It's never too late, mate. If you feel like it you could perhaps post your solution to the Slackware documentation project. A suggestion. We appreciate your input.
@hitest and @cwizardone
Probably too late but final guestion/solution: why don't you guys set up wireguard (NordVPN provides config files for wireguard)?
It will solve your authentication issues. Just remember to adjust your iptables config for wg0
Maybe this will help if not now then in the future with similar problems. I would test it even just as an excersise.
Good luck
Learn something new everyday. I will look into WireGuard also when I have some free time, brief searches online give it praises; although, I have no issues with OpenVPN.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011
Rep:
This is simple how to set up wireguard. If someone follow these steps successfully I will add howto to https://docs.slackware.com/
1) download wireguard config files from your VPN provider
2) wireguard accepts only 7-letter names
2a) wireguard interface name is created from config so if config name is aaaaaa0.conf then interface created will be named aaaaaa0
2b) following accepted rule rename downloaded wireguard config file to wg0.conf
3) add wireguard config file named wg0.conf to Network Manager (it is impossible as of now to directly add wireguard config file to NetworkManager)
Quote:
nmcli connection import type wireguard file "wg0.conf"
this will add wireguard config to Network Manager
4) Now you can connect to wireguard from Network Manager
that is all
Notes 2:
iptables changes are simple following tun0 or eth0 or wlan0. For multiple wgX interfaces use wg+
Notes 3:
default Slackware kernel has wireguard and friends enabled.
Notes 4:
check if wireguard is up and working:
Quote:
sudo wg
Quote:
ifconfig -a
Quote:
netstat -pantul
Notes 5:
forgot to add: while automatic connection with wireguard is fine for desktop, it is problematic with mobile. In the case that you don't want auto
connection to wireguard run:
Quote:
nmcli connection modify wg0 connection.autoconnect no
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.