Last updated
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.
Connect to your server. If necessary, you can use our to perform this operation.
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.
At the end you will see the following text.
This configuration file is versatile and is suitable for adding a profile to any device that supports OpenVPN.
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!
How do I add other users to your VPN? To do this, I need to rerun the already loaded script.
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».
Next, a new configuration file will be created. It should be used identically as the file that was generated the first time.
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 «».
You can download OpenVPN for Windows .
The connection is made using the OpenVPN mobile app, which is available in both the and the .