Many popular VPN services promise you the ultimate security for a big price. In fact, most of them keep a precise log of your activities and are willing to give it out. For that reason, it is not advisable to trust them. Even if the company’s policy clearly indicates ‘no-logs’, they might still do it behind the curtains. You can specifically read more about it here: CLICK.
So, what would be a reliable solution? The answer is: setting up a secure VPN server on a dedicated VPS. It takes no more than 5 minutes and gives you access to the fully controlled high-speed server that can be destroyed or re-configured at any point and any time. In addition to that, the price of keeping it running 24/7 is just 5$ a month. Furthermore, you can get a $100 bonus to cover your first 2 months upon registration (money expires within 60 days, so you won’t be needing to spend the whole balance). FYI:
Let’s begin the installation process!
We are going to be using DigitalOcean as our VPS provider. It is one of the oldest server providers out there with a ton of satisfied customers. It is both secure and easy to use. It also stands out for its low prices: starting from the only 5$/month.
Sign up on DigitalOcean using this LINK to get the bonus.
Choosing a droplet
Once you have successfully signed up for the service, go ahead and choose to create a droplet. Droplet is another name for a server.
From here, choose the latest version of Ubuntu distro (20.04 in my case):
Then choose the 5$ plan below:
Lastly, choose any server region you want and set a password for your droplet at the bottom of the page:
Logging-in and updating
Connect to your newly created droplet using any SSH manager, such as PYTTY (Windows), Termius, or Linux command line.
ssh root@IP -pw PASSWORD
After logging-in update your droplet by running:
apt update && apt upgrade
Configuring the server
Now it’s time to download and install the server file:
wget https://raw.githubusercontent.com/Nyr/openvpn-install/master/openvpn-install.sh chmod 777 openvpn-install.sh bash openvpn-install.sh
You should see an output like this:
Choose option 1 to assign your public IP4 to the server.
Next, choose UDP as your communication protocol:
Leave the next option blank:
As for the DNS provider, choose whatever is more preferable to you:
Finally, you will see a finish message and will be able to access your VPN file on /root/client.ovpn
Using the VPN
First, you will need to copy the client.ovpn file onto your local machine using any SSH transferring tool, such as FileZilla or SCP.
Then download the OpenVPN client and connect to your server! As easy as that.