10 OpenVPN™ Encryption
CD "Program files\OpenVPN\config"
..\bin\openvpn --config "client.ovpn"
Figure 113: OpenVPN by Command line
There will be a lot of text output, after some seconds it will read as:
Initialization Sequence Completed
At this stage the network connection becomes active and usable. Use TELNET or PING to test
the connection from a second console window. The encrypted link is closed by Ctrl-Break on the
keyboard, or by closing the console window of the openvpn.exe program.
Instead of using the Context-Menu to start the connection, it may be preferred to create a link to
do the job. The command of this must be
"C:\Program files\OpenVPN\bin\openvpn.exe" --config client.ovpn
and the working directory is "C:\Program files\OpenVPN\config". This link may be placed on the
desktop or in the Start Menu.
10.3.6 Start OpenVPN™ as Windows Service
There are possible configurations, which require a functional connection to the NetCom Plus Server
without a user logged in. The driver for Virtual Ports is already loaded, however it does not
immediately contact the NetCom Plus Server. This is done when the serial port is opened. Without
OpenVPN active there is no network link to the NetCom Plus, so the serial port can not be
opened.
Since Windows NT there is a method to start applications when the system is ready to have a user
logon. Applications created for this task are called services. When such a Service application needs
the serial ports of the NetCom Plus, the network link to the NetCom Plus must be functional. In
the case of encrypted communication, this requires the openvpn.exe program already started.
Figure 114: OpenVPN as Windows Service
September 2016
NetCom Plus User Manual
117