Titan Electronics Inc NETCOM423 Benutzerhandbuch

Seite von 129
8.3.3.4. 
Start OpenVPN™ as Windows Service 
There are possible configurations, which require a functional 
connection to the NetCom Server without a user logged in. The driver 
for Virtual Ports is already loaded, however it does not immediately 
contact the NetCom Server. This is done when the serial port is opened. 
Without OpenVPN active there is no network link to the NetCom, 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, the function network link to the NetCom must be 
functional. In the case of encrypted communication, this requires the 
openvpn.exe program already started. 
The Installation Wizard also installed a Windows Service for OpenVPN 
in the Services applet of the Control Panel. The Startup Type is defined 
as “Manual”, so it does not start without special user interaction or 
required by a dedicated application. 
 
Image 136: OpenVPN as Windows Service 
When the openvpn.exe program is started by means of this service, it 
scans the “config”-subfolder for configuration files of type “.ovpn”. 
Each file causes OpenVPN to establish a connection, at least it attempts 
to do so. If the NetCom is not available at that moment, OpenVPN will 
try again and again. When the NetCom becomes available, the 
connection is established. 
823RM WLAN, 1623RM WLAN  
Page 
110