Entry

OpenVPN is one of the most popular and reliable private virtual network (VPN) solutions. This product provides a high level of encryption and customization flexibility, making it an ideal choice for both individual users and corporate networks.

This instruction uses Ubuntu 20.04 The script works on all current versions of Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora.

Recommended Specifications.

CPU: 1 vCore RAM: 512 MB Storege: 1 GB Network speed: 100Mbps+ This information is referenced and does not require much attention, as any available plan is appropriate for using OpenVPN on our virtual servers.

Connect to the server

Connect to your server. If necessary, you can use our detailed instructions to perform this operation.

Installing OpenVPN

You may not have seen such an easy way to install OpenVPN 😎

It is enough to enter this command in the console of your server, after which the installation will be automatic.

apt-get update; rm openvpn-install.sh; wget https://mirror.spacecore.info/scripts/openvpn-install.sh && bash openvpn-install.sh

At the end you will see the following text.

The first configuration file created by default is called «spacecore.ovpn» and is located in the main directory. You can upload it to your device with sFTP. About how to connect via sFTP, in more detail in the section «Data transfer via sFTP».

This configuration file is versatile and is suitable for adding a profile to any device that supports OpenVPN.

Setting

For Windows

You can download OpenVPN for Windows from.

After adding the client, it is possible to follow the link and also using the file. For example, use the second option. It is enough to transfer or choose manually «spacecore.ovpn» file which you have downloaded from your server.

Next, make the connection. Great!

For IOS / Android

The connection is made using the OpenVPN mobile app, which is available in both the App Store and the Play Market.

Add users

How do I add other users to your VPN? To do this, I need to rerun the already loaded script.

bash openvpn-install.sh

You’ll see the message that OpenVPN is already installed and a list of possible actions. Enter «1», then enter the name for the new user, for example «friend».

Send by button «Enter».

Next, a new configuration file will be created. It should be used identically as the file that was generated the first time.

Last updated