Titan Electronics Inc NETCOM423 Manuel D’Utilisation

Page de 129
8.3.3.1. OpenVPN 
Configuration 
File 
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. 
When installing OpenVPN™, the wizard already created a template 
named client.ovpn. Open this template in Notepad, typically this is done 
by just double-clicking on it. The content shall be like this: 
Some parameters must be adjusted to the current installation. In the first 
line there is 192.168.1.243, which is the real IP address of the NetCom 
in the (W)LAN. This IP Address may be replaced by a DNS name, 
which must be known to the client computer. This is the only parameter 
to adjust throughout this example, since all others are preset by the 
example configuration. 
remote 192.168.1.243 1194 
dev tap 
ifconfig 192.168.127.1 255.255.255.0 
secret "..\\config\\storedkey.cfg" 
cipher AES-256-CBC 
proto tcp-client 
verb 3 
Image 132: OpenVPN Configuration File 
Also there is 1194 as the TCP port number defined for OpenVPN 
operation in the NetCom (Image 21). 
The third line is the local configuration of the virtual network interface. 
The computer will use 192.168.127.1 as the own IP address for the 
interface of OpenVPN, and 255.255.255.0 as the Netmask on it. This 
matches the 192.168.127.254, which is configured as the IP Address on 
the NetCom (Image 21). If several computers shall contact the same 
NetCom via OpenVPN, each must have a separate IP Address. 
The other parameters should be left as they are. 
To connect to more than one NetCom, each connection requires a 
separate configuration file. So it may be useful to name the file after the 
serial number of the NetCom. Any name is OK, as long as the extension 
(the Windows “file type”) remains as “.ovpn”. 
Page 
107 
NetCom 123 WLAN, 423 WLAN,