In this article I’ll try to explain as simply and in detail how to make my VPN server for a ridiculous 1 US Dollar a month.
Why choose your VPN
In the App Store and Google Play, dozens of services allow you to bypass the locks. But practically all VPNs do not have decent performance. Speed shamelessly shaping, from advertising – toshnit, and almost every 10-15 minutes have to reconnect.
In addition, when you use public VPN (and even free), you absolutely do not know where your traffic goes and what happens to it on remote servers of the next one-day service.
With your VPN, it’s easier and safer to live. And those 1 dollar that you have to pay monthly for your VPN is a guarantee of your security.
Create a cloud server
Do not be frightened by these words. All is not so scary. Even if you are far from network settings, protocols and are afraid of IP-addresses, I will try to detail the order of actions and illustrate every step.
Here we go!
ArubaCloud is our all
The network has dozens of cloud server options. But we need “cheap and angry”, right? One such is the Italian cloud server ArubaCloud .
What is good about it? The minimum cost is 1 euro (1 dollar) per month servicing the remote server. What is meant by a remote server?
Imagine an old 1-core computer with 1 GB of RAM and a 20-gigabyte hard drive. And here is a computer for 1 dollar you are given a remote torment.
Here are the characteristics of the budget machine:
But, believe me, this is enough for our tasks and for deploying our own VPN server.
Register with ArubaCloud
Step 1. Open the site ArubaCloud.com . and choose the cheapest tariff plan for 1 euro per month. Click Start Now .
Step 2. In the list, we re-select the tariff plan for 1 euro. If you want, once again, review the characteristics of the machine that you will receive as a remote server.
If desired, you can always add RAM and disk space, but, of course, for an additional fee.
Step 3. In the next step, select Continue and select Register . Then fill out the user’s questionnaire.
All fields marked with a red asterisk are mandatory. Do not forget to specify a valid phone number – it will receive an SMS with a password.
Step 4 . In a couple of seconds, a letter with a username and a link to your personal account will come to the mail. Please note that the password for entering your personal office is sent in an SMS message.
Activation of the account can take from 10 to 30 minutes. Just wait.
We move to the personal area, enter the login and password, and start creating a remote server.
Create a cloud server
Now we turn to the most responsible stage of creating your own VPN – creating a cloud server.
Step 1 . We open the personal cabinet (the link you have at the post office).
Step 2. In the control panel on the Managment tab (on the sidebar), select Create New Cloud Server .
Step 3 . We choose Cloud Server Smart, which is already familiar to us, at a cost of 1 euro per month. Below note this tariff and click Continue .
Step 4 . Now proceed to the configuration of the cloud server.
Select Select Template . An impressive list of various operating system distributions will open. For Windows, forget, because its installation will cost more in connection with the requirements of the OS (2 GB of RAM minimum).
Boldly scroll down the list to the bottom and select Ubuntu Virtual Desktop .
For this distribution is quite enough 20 GB of disk space, a single-core processor and 1 GB of RAM. Do not be afraid of Linux, it’s friendly;)
Step 5. It remains to set the administrator password for the standard root user name .
Be sure to remember the specified password. Without it, you do not connect to the server.
Once again, make sure that the minimum server characteristics are selected and the cost is set at 1 euro per month of maintenance. Do not forget to specify the name of your server – any, any, but in Latin letters. This will be the name of your remote computer.
If all is correct, feel free to click Create Cloud Server .
The previously paid amount of 1 euro will be written off automatically and within 3 – 5 minutes the server will be launched.
You recognize this using the following server status:
In the Managment section, you will see a server with the previously specified name and the On status. Write down the IP address , it will be useful to us at the next stage of the configuration.
Cloud server is configured! It’s time to do VPN and look at the remote desktop.
Connecting to Remote Desktop
Remember at the beginning of the instructions I said that thanks to the cloud server you will have access to the remote computer? Well, it’s time to do it.
So, despite the fact that we have a distribution of Ubuntu Virtual Desktop, the utility from Microsoft is quite suitable for us.
This is the Microsoft Remote Desktop 8.0 RDP client, with which you can connect to a cloud computer. The utility is distributed free of charge and is available for macOS, iOS and Android. In short, a universal and affordable solution.
Step 1. In the Mac App Store, download Microsoft Remote Desktop 8.0 .
Step 2. Run the utility and perform simple settings.
First, select New and fill in the appropriate fields, as shown in the screenshot below.
Connection Name: put any name here. Just call your connection.
PC Name: The IP address that is specified in the server settings right after it is created (step 4. of this manual).
User Name: In SSH, this is vdesktop . Specify it. The password is the one specified in the administrator password.
Start the connection and after a couple of seconds you see the desktop of the operating system Ubuntu Virtual Desktop.
The final step is to create your own VPN.
Create your own VPN server
This setting is reduced to just a few steps. From your own VPN server you are separated by one command in the terminal.
Step 1. In the lower left corner, tap on the icon (a-la Start menu in Windows). Select System Tools -> LXTerminal . In the terminal that opens, enter the following command (be careful):
wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh
Note: the command indicates -O (an English letter “O”, not zero) .
Press Enter and wait for a couple of minutes until the installation is complete.
Step 2. At the end you will receive a message with all the data of your own VPN server. ALWAYS save this data, write it down and copy it to a few hidden places, so you do not have to search.
Everything, the VPN-server is started. Now you can safely connect it to any device.
Turn on your VPN on iPhone
In order for the iPhone to have a configuration item with VPN, install any mobile VPN application from the App Store. It is only needed to activate the menu item.
After installing the VPN application, open Settings -> VPN, and after creating your own VPN, enter the following data.
Name: Any name for VPN which you decide
Type: IPsec Xauth PSK (or IPsec)
Server address: here is the IP address of your cloud server
IPSec ID: leave blank
IPSec common key: specify the IPsec PSK password from the terminal
Username: Username from the terminal (usually vpnuser )
Password: Password from the terminal
For not clear reasons, many users are faced with a situation where they connect to the VPN, but the Internet refuses to work.
In this case, run the following command in the terminal:
sudo nano /etc/ipsec.comf
Replace sha2-truncbug = yes with sha2-truncbug = no and restart Linux.