DDoS attack En DDoS attack En
Posted 8 months ago


Reading time: 5 min.


How to create your own VPN server easily?

We have already covered all types of VPN and mentioned that there are functional limitations to a public VPN service:

  • the speed and quality of the connection depends on how many users have reached the server,
  • the trial period can be limited,
  • there is no guarantee of data protection from leaks.

Today, we will teach how to access blocked resources, through deploying a VPN on a virtual server. As auxiliary applications, install PuTTY (a SSH-protocols client) and OpenVPN Connect (to establish a connection between your devices and the server).

Thus, step 1. Selection of the hosting provider.

A provider that enables the deployment of a VPN on virtual servers is required. LLHOST INC. is included therein. Choose any OVS plan and get all configurations for server access by email.

LLHOST INC. is one of the few European providers who accept payments from any country in the world and in any currency: bank cards, PayPal, WebMoney, QIWI, cryptocurrencies (more about Payment Methods here).

Step 2. SSH connection to the server.

Enter the IP address of the server (from the configurations sent by email) in the Host Name field and click Open.

Step 3. Authorization.

To paste the password into the console, copy it to the clipboard, then right-click (the password will not be displayed in the console). Press Enter.

Note! If a warning window appears, select the Yes button.

Step 4. OpenVPN script.

After successful authorization, enter the ready-made OpenVPN Road Warrior script: wget https://git.io/vpn -O openvpn‑install.sh && bash openvpn‑install.sh and press Enter key:

Step 5.  Setup wizard dialogue.

The setup wizard automatically includes the best suggestions within square brackets [ ]. Type your choice, confirming with the Enter key:

Protocol [UDP] — 1
Port [1194] — 1194
DNS — 1
Client name — You can type client, as suggested. In this example, Test was used.

Press any key — confirm data entry with any key and wait until configuration is completed.

Step 6. Protocol for running OpenVPN.

When configured successfully, enter the  command cat ~/Test.ovpn (instead of Test, use the name specified while configuring). The script will be displayed:

Step 7. File *.ovpn

Select the text of the script, starting with the line client and ending with </tls-crypt>, copy it to the clipboard with the  Ctrl + V combination and paste into Notepad. Save file as Test.ovpn (instead of Test, use the name specified while configuring), choosing All files type:

Final step. Server connection.

Right-click on the Test.ovpn file and select Start OpenVPN on this config file.

If the connection is successful, the PuTTy console will display the Initialization Sequence Completed status. Ready! You build your own VPN server from zero. From now on, all traffic will go through the VPN, which means the network connection is protected, and all blocked resources in the area will be available.

This guide is one of many methods for creating your own VPN. If you don't have enough technical skills or want to save time in setting up, you can make the task as simple as possible. LLHOST INC. has a solution for it — a ready-to-use VPN server for a virtual server's price! All settings are performed in a few clicks: select any plan and install the received configuration files. And as a bonus, we offer you a discount of -20% using the EASYVPN4YOU promo code when ordering any VPN server until August 5, 2022*. Benefit from it and let your friends know, because the promo code is valid for an unlimited number of users!

* The promo code is valid for three periods of monthly ordering.

Read more: