Mobile
Streaming Platform Products
Virtual & Dedicated Servers Products
Containers Products
Serverless Computing Products
AI & Machine Learning Products
Private and Hybrid Solutions Products
Monitoring Products
Custom Services Products
Media & Entertainment
Financial Services
IT / Technology
Retail
Education
Website Acceleration
Video Streaming
Security & Protection
Cloud
Partnership Solutions
Corporate Solutions
In this tutorial, we will explain how to run an OpenVPN server on Ubuntu using a preconfigured Gcore Cloud OpenVPN instance. The main advantage of this approach is that it saves you time and effort: your VPN server is ready for use in just 2-5 minutes. You simply need to create an instance, download the OpenVPN configuration, and install the OpenVPN client on your device. No manual manipulations are required in the command line.
OpenVPN is an open-source Virtual Private Network (VPN) application. It is a powerful tool that allows you to connect securely to your server from anywhere in the world and use this server as a VPN.
First, let’s create a virtual machine with an OpenVPN server:
Wait for five minutes after the virtual machine is powered on. You can then download the OpenVPN configuration, which will allow you to connect to the OpenVPN server.
On your device, type the virtual machine’s public IP address in the address bar of the browser, as follows:
http://<your_public_ip_address>
For example:
http://202.78.166.105
Press “Enter.” Here’s what you’ll see:
Confirm by clicking “Allow.” The configuration file will be downloaded.
Download the OpenVPN client to your device. Navigate to the OpenVPN page Community Downloads, select the appropriate installer for your operating system, and follow the installation instructions.
Once the client is installed, you can use the OpenVPN configuration that you downloaded in Step 2 to connect to your OpenVPN server.
Next, we can apply the OpenVPN configuration. For this example, we will use screenshots from the macOS installer.
Congratulations! You have successfully connected to the OpenVPN server. You can now use it to make secure connections anywhere in the world.
In this tutorial, we explained how to run an OpenVPN server on Ubuntu. Check out our other articles dedicated to setting up different types of software on Gcore Cloud instances: