10 OpenVPN™ Encryption
10.3 OpenVPN™ Configuration
OpenVPN may be started in several ways. One option is the command line, which has the most
flexibility.
A service for OpenVPN is also installed, it will open the connection without user
intervention. The next option is to use the Context-Menu of the configuration file, and finally the
Graphical User Interface (GUI) installed with many modern software packages for OpenVPN. If
correctly installed the GUI is the most convenient option from a users viewpoint.
All details about that are given in the documentation on
http://openvpn.net
.
10.3.1 Create OpenVPN™ Configuration
All installed connections by OpenVPN™ are defined and enabled by use of a configuration file.
In principle they may also be configured by the command line directly, but a file is simpler to
handle. So this manual only deals with such a configuration file. The NetCom Plus can handle any
OpenVPN™ specific configuration, so we will supply one client and one server example below. For
your computer side, you have to use the opposite configuration and change the directories where
the files reside. If they are in the same directory as the configuration file, you can remove the path
completely. Note there is a subdirectory named “/data/” in the examples.
# OpenVPN Client Configuration
tls-client
client
dev tun
proto tcp
# where to connect to (OpenVPN server)
remote vpn.example.com 1194
ca /data/ca.crt
cert /data/client1.crt
key /data/client1.key
cipher AES-256-CBC
comp-lzo
verb 3
# only when password used for the key
askpass /data/pass.txt
Figure 109: OpenVPN Client Configuration File
Normaly you would be asked for the key password when you connect to the OpenVPN™ server. As
this is impossible with the NetCom Plus, you had to specify the password in a single line text-file
which is referred to over the
askpass
configuration value.
September 2016
NetCom Plus User Manual
113
Summary of Contents for NetCom Plus 111
Page 133: ......