OVH Guides

Deploying an OpenVPN server in a single click

How to deploy an OpenVPN server in a single click

Objective

OpenVPN is a software giving you the possibility to create a Private Virtual Network (VPN).

Requirements

Order

To create your OpenVPN server, you will have to order a VPS. (If you already have a VPS, you can install the OpenVPN template via your OVHcloud control panel)

horizon

Once your VPS is installed, you will receive an email with your credentials:

horizon

Your VPN server is now ready.

Click on the link inside the credentials email.

Sign-in with the credentials in the email.

horizon

Client

For Windows

Select OpenVPN client for Windows

horizon

Save the file and execute it.

horizon

Connect to the VPN:

horizon

You will now be communicating over the internet with the IP of your VPN.

You can check your IP with this web page https://ifconfig.ovh/

On linux

For distributions such as Fedora/CentOS/RedHat:

sudo yum install openvpn

For distributions such as Ubuntu/Debian:

sudo apt-get install openvpn

You will have to download the configuration file client.ovpn here: horizon

Launch of the OpenVPN client with a configuration file

sudo openvpn --config client.ovpn

You will be prompted to enter your credentials:

 Enter Auth Username: openvpn
 Enter Auth Password: ******************************************

You will now be communicating over the internet with the IP of your VPN.

You can check your IP with this web page https://ifconfig.ovh/.

On MacOS

Select OpenVPN client for Mac OS X:

horizon

Save the file and execute it.

horizon

Once the installation is completed, connect to the VPN.

horizon

horizon

You will now be communicating over the internet with the IP of your VPN.

You can check your IP with this web page https://ifconfig.ovh/.

Server

Go the URL inside the email and select Admin:

horizon

Sign-in with the credentials received in the email and accept the terms and conditions.

horizon

You now have access to the control panel:

horizon

Go further

Getting started with a VPS

Join our user community on https://community.ovh.com/en/.


These guides might also interest you...