Help


Community tutorials and documentations

Get your VPN server ready to use in one-click with the OpenVPN InstantApp

Get your VPN server ready to use in one-click with the OpenVPN InstantApp

This page shows you how to use the OpenVPN InstantApp on your C1 server.

OpenVPN is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. The OpenVPN InstantApp is a fast and simple way to protect your online privacy and surf anonymously.

OpenVPN InstantApp comes with:

  • OpenVPN server
  • A client configuration profile to setup your client

Requirements

  • You have an account and are logged into cloud.scaleway.com
  • You have configured your SSH Key
  • You have installed a VPN client on your local machine

There are three steps to begin with the OpenVPN InstantApp

  • Create and start a new C1 server using the OpenVPN InstantApp
  • Download the client profile on your local machine
  • Configure your client

Step 1 - Create and start a new C1 server using the OpenVPN InstantApp

First, we need to create a new server using the OpenVPN InstantApp. Click the “Create Server” button in the control panel.

Control Panel

You land on the server creation page where you must input information and choose an image.

Create server basic information

After inputting your server basic information, select the OpenVPN image for your server.
On the ImageHub tab, select OpenVPN and click the “Create Server” button.

The server is starting with a fully configured and ready to use OpenVPN server.

Step 2 - Download the client profile on your local machine

The OpenVPN server running, connect it with ssh. The message of the day (MOTD) when you connect your server displays the path and the url to retrieve the VPN client file that we will use to connect to the VPN server.

Welcome on Openvpn on Scaleway' C1.

 * Kernel:           GNU/Linux 3.2.34-30 armv7l - Marvell (Proprietary)
                     - This kernel has the best performances on this hardware
                     - For mainline kernel with latest features and plenty of modules, use a 3.17 kernel instead
 * Distribution:     Openvpn (2015-06-10) on Ubuntu 14.10
 * Internal ip:      10.1.38.49
 * External ip:      212.47.234.155
 * Disk /dev/nbd0:   scw-app-openvpn-utopic-2015-06-11_10:08 (l_ssd 50G)
 * Uptime:           10:36:52 up  2:24,  1 user,  load average: 0.26, 0.22, 0.23

Links
 * Documentation:    https://scaleway.com/docs
 * Community:        https://community.online.net/c/scaleway
 * Image source:     https://github.com/scaleway/image-app-openvpn

OpenVPN server is listening on ports 443/TCP and 1194/UDP.
A client configuration file is available on /root/client.ovpn or at http://212.47.234.155:8000/bf0543d6-1011-11e5-b95d-0007cb0381b1/scw-020b6d.ovpn
This configuration file contains all the certificates and

Download the configuration file from the URL displayed in the MOTD. We assume that you have already installed a VPN client.

Open the configuration with you VPN client.

Control Panel

Once the configuration is loaded, start a new connection using the VPN profile we just installed.

Control Panel

You are now connected and all your traffic is routed through the OpenVPN server. You can validate is fine by looking that your public IP match the public IP of the server.

Conclusion

With the OpenVPN InstantApp you can easily protect your online privacy and surf anonymously. No heavy setup actions are required to get it works and create secure point-to-point connections.

If you have any suggestion or question about this tutorial, please leave a comment.

Discover a new cloud experience

Deploy SSD cloud servers in seconds.