User Tools

Site Tools


wiki:webui:administration:openvpn:openvpn

This is an old revision of the document!


OpenVPN

This topic is destined to users with some basic knowledge about VPN, who know how to create and setup a VPN client/server.

Configuration

The configuration of the VPN requires:

  • A client configuration file, named client.conf. This is the main configuration file.
    Make sure that non-interactive authentication is enabled (the connection is established by a daemon, the password cannot be entered manually)
  • A “Certification Authority Certificate” file, authenticating the remote server, vpn-server-certificate.crt
  • A “User key and certificate archive” file, authenticating the Wanesy SPN gateway (the client), ifemto-spn-auth.p12

All those files have to be uploaded via the web UI.

Here is an example of a client configuration file:

client.conf
#################################################
#                                               #
# Client-side OpenVPN 2.X config file for       #
# connecting to multi-client server.            #
#                                               #
# Comments are preceded with '#' or ';'         #
#                                               #
#################################################
 
# Specify that we are a client and that we
# will be pulling certain config file directives
# from the server.
client
 
#Tunnel
dev tun
 
#Server
remote vpn-server.example.com
 
#Certification Authority Certificate - Server Authentication
ca vpn-server-certificate.crt
 
#User Key and certificate Archive - Client Authentication
pkcs12 ifemto-spn-auth.p12

The two other files (.crt and .p12) have to be created according to your server configuration.

VPN Server Setup/Configuration

Here an example of creating and configuring an OpenVPN server

Connection

Once the files are uploaded and the VPN feature is activated in the administration page, the VPN tunnel will automatically open.

wiki/webui/administration/openvpn/openvpn.1584110466.txt.gz · Last modified: 2020/03/13 15:41 by ghi