LinuxQuestions.org
Visit Jeremy's Blog.
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-06-2023, 09:06 AM   #61
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,350

Rep: Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748
Thumbs up


Quote:
Originally Posted by Aeterna View Post
I am not spamming.

This was very simple. 10minutes to buy NortVPN and connect from Slackware OpenVPN.
See attached picture.

https://i.ibb.co/nM0PvvL/Nord-VPN-connect.png
link to picture is small unfortunately Cloudflare still thinks that pictures are dangerous.

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!
 
Old 12-06-2023, 09:55 AM   #62
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 brobr View Post
NordVPN has changed author/passwd credentials as described in these threads; an extra layer has been added:
https://www.linuxquestions.org/quest...ed-4175727216/
https://www.linuxquestions.org/quest...pn-4175726456/
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)

Last edited by Aeterna; 12-06-2023 at 10:59 AM.
 
2 members found this post helpful.
Old 12-06-2023, 11:46 AM   #63
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Rep: Reputation: 239Reputation: 239Reputation: 239
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.
 
Old 12-06-2023, 12:48 PM   #64
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 brobr View Post
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.

Last edited by Aeterna; 12-06-2023 at 09:11 PM.
 
Old 12-06-2023, 02:43 PM   #65
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,350

Rep: Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748
cwizardone,

The Google Chrome NordVPN extension solution is dead simple and an easy fix.
 
1 members found this post helpful.
Old 12-06-2023, 04:17 PM   #66
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,157

Original Poster
Rep: Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325
Quote:
Originally Posted by hitest View Post
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!
 
1 members found this post helpful.
Old 12-06-2023, 05:01 PM   #67
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,350

Rep: Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748
Cool

Quote:
Originally Posted by cwizardone View Post
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.
 
1 members found this post helpful.
Old 12-06-2023, 05:21 PM   #68
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,157

Original Poster
Rep: Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325
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.
 
1 members found this post helpful.
Old 12-06-2023, 06:32 PM   #69
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,350

Rep: Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748
Cool

Quote:
Originally Posted by cwizardone View Post
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!
 
1 members found this post helpful.
Old 12-07-2023, 07:34 AM   #70
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
@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
 
1 members found this post helpful.
Old 12-07-2023, 10:01 AM   #71
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,350

Rep: Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748
Smile

Quote:
Originally Posted by Aeterna View Post
@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.

https://docs.slackware.com/
 
Old 12-07-2023, 12:05 PM   #72
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 hitest View Post
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.

https://docs.slackware.com/
Sure, I can write (very short) howto
 
1 members found this post helpful.
Old 12-07-2023, 12:32 PM   #73
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,350

Rep: Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748Reputation: 3748
cwizardone,

Now that NordVPN works with Fire Fox I removed Chrome. The better to hide from the Google Over Lords. Haha.
 
2 members found this post helpful.
Old 12-07-2023, 05:59 PM   #74
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Posts: 297

Rep: Reputation: Disabled
Quote:
Originally Posted by Aeterna View Post
@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.
 
Old 12-07-2023, 07:26 PM   #75
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
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:
1) if for some reason wireguard connects before ISP, you have to disconnect wireguard, connect ISP, re-connect wireguard or see Notes 5
2) testing DNS leaks:
https://ipleak.net/
https://www.perfect-privacy.com/en/tests/dns-leaktest
https://www.dnsleaktest.com/

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
where wg0 is the connection's name

Last edited by Aeterna; 12-07-2023 at 09:10 PM.
 
  


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
NordVPN App - "Whoops! Cannot reach System Daemon." when running "nordvpn c" glupa4e Slackware 16 12-09-2021 12:56 PM
nordVPN leak DNS test faild dmatija Linux - Networking 1 10-09-2017 06:56 PM
[SOLVED] problem with iptables and NordVPN/OpenVPN gone_bush Linux - Networking 1 04-27-2017 07:14 PM
LXer: NordVPN for Android LXer Syndicated Linux News 0 09-06-2016 02:12 PM

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

All times are GMT -5. The time now is 10:47 AM.

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