![]() This is the file where we will store the service credentials. That’s because we will create it right now. If you’ve been following each step and were curious, you may realise there is no file at /etc/openvpn/auto-auth.txt. Replace it with this one auth-user-pass /etc/openvpn/auto-auth.txt You will find a line matching the below: auth-user-pass The first thing we will edit is our Cyprus server configuration using Nano. Anyone choosing to use Vi when Nano is available is a psychopath that deserves everything coming their way. While I used to be a Vi guy when it comes to remote file editing, through this journey I discovered and fell in love with Nano. Time to edit a few files to start OpenVPN as a service to that it runs automatically when booting your device. If there is no error, the program won’t stop itself due to the way it was started. You can find these in your NordAccount dashboard under “Advanced configuration/Service credentials (manual setup)”. Careful, these will not be your regular Nord credentials but your Nord service credentials. It will ask for your username and password at some point. This will start OpenVPN with a configuration connecting you to that Cyprus server we chose earlier. You can do so by running the following command: sudo openvpn /etc/openvpn/ovpn_udp/.ovpn Now that we have a server of choice, let’s make sure that the configuration works. For this example, I chose to get a Cyprus server as you can see below: ![]() You can change that to another country and pick the server you like based on the features it offers and such. It will show you the country you’re in with the recommended server to be as close to your current performance levels as possible. We can do just that by going to the NordVPN tools page. You can pick any but there is a way to have a better idea of what you will be choosing. You can see a bunch of configurations files with names ending in. Let’s go into the UDP folder at /etc/openvpn/ovpn_udp/ and list the configurations available. You can pick either but my personal pick is UDP because of reasons. Each will contain configurations for UDP VPN connections and TCP VPN connections. Now you should see two folders named “ovpn_udp” and “ovpn_tcp”. Once the download completes we can extract the archive right then and there: sudo unzip ovpn.zipĪfter the extraction ends, you can delete the archive. In order to do so we just need to download them with the following command: sudo wget Luckily for us, NordVPN has a bunch of OpenVPN compatible configuration files that we can use. Don’t worry we will be back to touching OpenVPN soon enough. ![]() Now that OpenVPN is installed, let’s get on with the NordVPN part. See, it’s all been easy so far so I didn’t lie about that. Next, go to the OpenVPN root folder as all the action will now happen from there. If it’s not done yet, install the unzip utility with the following command: sudo apt-get install unzip Now that it’s done, let’s install OpenVPN with the following command: sudo apt-get install openvpn The first thing to do is to make sure your system is up-to-date by running the following commands: sudo apt-get update & sudo apt-get upgrade Also, I repeated this process enough that you can trust it will all work as I said. No screenshots today as I took notes while exploring and didn’t think about it at the moment. The prerequisite here is that you know how to open a terminal and how to connect to a device through SSH. How to manually set up NordVPN using OpenVPN on Linux. It took me a few days researching then applying over and over what I will share with you today. After some digging, I found some stuff but nothing works quite as I want. The kind that might not have a Desktop UI or might not even have a NordVPN app. Through my journey, I figured it wouldn’t hurt to learn how to manually set up NordVPN especially if you are using embedded Unix devices. Namely, through that PinePhone which I purchased in January, and Raspberry Pi in early February. ![]() If you follow me on Minds, you may know that I have been toying around with Unix more lately.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |