Difference between revisions of "OpenVPN configuration examples"

From Teltonika Networks Wiki
Line 23: Line 23:
 
  ** Client key
 
  ** Client key
  
Detailed instruction on how to obtain these files can be found '''[[How to generate TLS certificates%3F|here]]'''.
+
Detailed instruction on how to obtain these files can be found '''[[How_to_generate_TLS_certifates%3F|here]]'''.
  
 
Once you have all the required files, continue following this guide
 
Once you have all the required files, continue following this guide

Revision as of 08:41, 9 March 2018

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.

Summary

This article contains various OpenVPN configuration examples that require more in depth explanations in order to achieve a successful configuration. All of the examples given concern two or more RUT routers. For more basic explanations on the OpenVPN WebUI section, visit our VPN manual page.

TLS Authentication

This section provides a guide on how to configure a successful OpenVPN connection between an OpenVPN Client and Server, using the TLS Authentication method on RUT routers.

Generating TLS certificates/keys


A connection that uses TLS requires multiple certificates and keys for authentication:

* Server:
** A root certificate file (Cetificate Authority)
** Server certificate
** Server key
** Diffie Hellman Parameters
* Client
** Client certificate
** Client key

Detailed instruction on how to obtain these files can be found here.

Once you have all the required files, continue following this guide

Configuration


First, lets configure OpenVPN Client and Server instances

Static key Authentication

This section provides a guide on how to configure a successful OpenVPN connection between an OpenVPN Client and Server, using the Static key Authentication method on RUT routers.

Creating a Static key


First, lets create a Static key.

Configuration