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.
In case you get ERROR: The certificate of `nordvpn.com’ is not trusted., install the ca-certificates package with the command:
sudo apt-get install ca-certificates
If you do not have the unzip package installed, download it by typing:
sudo apt-get install unzip
Extract ovpn.zip with the command:
sudo unzip ovpn.zip
Remove the files you will no longer use:
sudo rm ovpn.zip
Enter the directory where the server configurations are located. These folders are named either ovpn_udp or ovpn_tcp:
cd /etc/openvpn/ovpn_udp/
cd /etc/openvpn/ovpn_tcp/
To see the list of all available servers, enter the following command:
ls -al
Choose a server to connect to.
For this tutorial, we used us2957.nordvpn.com, but you should connect to the server suggested to you at https://nordvpn.com/servers/tools/. You can find the server hostname right under the server title.
Server picking tool
Start OpenVPN with a chosen configuration by entering:
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,157
Original Poster
Rep:
Quote:
Originally Posted by hitest
That's fine. Thanks for the reply. Has anyone successfully securely deployed NordVPN for Slackware? Thanks for any and all replies.
It is working again, as per post #21, above.
There is something new this time. Once connected via "sudo /etc/rc.d/rc.nordvpn" etc., the nordlynx connection shows up in the NetworkManager applet and I can disconnect from there. So, for yesterday and, so far, today, I've connected in a terminal and then closed the terminal. When it is time to disconnect from NordVPN, I use the applet. To test the connection I've been using whatismybrowser.com and dnsleaktest.com. So far, so good.
Last edited by cwizardone; 04-15-2023 at 12:06 PM.
Reason: Typo.
One way to do it is to create a virtual machine, running whatever Linux or BSD OS runs NordVPN best. You would need two network interfaces : one either a NAT interface or bridged to the external interface of your host machine, and the other connected to the host-only internal network, which is easy enough to create, on Virtualbox at least .
Then all you do is make sure all your internet traffic on the host machine is routed through the virtual machine, which you do by giving the host-only network interface created above a higher gateway priority than the physical interface you normally use.
Sounds complex but not really that complicated. I can try to help with more detail but it's been a long time since I've been at my desktop PC. Forced to use an iPad for months now so going on memory.
You should be able to get a minimal Debian installed to 4gb or under, making the virtual machine fairly easy to back up.
You will need to make sure forwarding is enabled on the virtual machine, and on the host if you are not bridging the VM external interface to the host physical interface.
Last edited by Gerard Lally; 04-16-2023 at 12:10 PM.
Will do. You're welcome. Even though I've struggled with NordVPN on non-Debian based distros there's a lot to like about NordVPN. When it works, it works well.
However when my NordVPN subscription is close to end-of-life I will carefully evaluate a lot of other VPN solutions with an eye towards speed and compatibility. Maybe NordVPN will step up their game.
root:/etc/openvpn/NORDVPN# cat login.info
<username hash from nord>
<password hash from nord>
I run my rc.openvpn script from the root folder, it will connect to a random server and go. If the data coming from the VPN is not the original IP, it drops the packet (kill switch). It all seemed to be the common method years back for a killswitch when I first started down this road.
You're definitely pointing us in the right direction. Your above directions look good to me. I don't have a problem admitting that I don't know how to do something. OpenVPN is mysterious to me.
If possible would you be willing to formalize the above directions with accompanying written instructions on how to set up OpenVPN and NordVPN on Slackware on the Slackware document project? That would add a lot to the community knowledge base. If not, you've given us an excellent starting point.
Combining VPN with google DNS is not very helpful. Instead of hiding your ip you are making it visible to google. It makes as little sense as using DOT/DOH with browser and setting up VPN
Not to mention that NordVPN provides own DNS servers. What you do is counterintuitive: you are leaving your logs in the open (google dns). For this you don't need vpn, just use Cloudflare or google DNS (free of charge).
Combining VPN with google DNS is not very helpful. Instead of hiding your ip you are making it visible to google. It makes as little sense as using DOT/DOH with browser and setting up VPN
Not to mention that NordVPN provides own DNS servers. What you do is counterintuitive: you are leaving your logs in the open (google dns). For this you don't need vpn, just use Cloudflare or google DNS (free of charge).
You're not contributing much to this discussion when you shoot down solutions without providing a working solution for Slackware and NordVPN that you've tested.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.