Commands and functions
P.
244 of 349
VPN Server
Startvpn
The Enertex® EibPC can operate as an configurable VPN Server and VPN Router in your LAN. To
use this functionality your Enertex® EibPC must have a valid activation code for Option NP.
In the router port forwarding for UDP port 1194 must be aktivated.
With the Enertex® EibPC VPN Services can be directly started and stopped by the running KNX
Installation. Also different users' access can be opened and closed.
First, configure the VPN with the help of O
PTIONS
-VPN C
ONFIGURATION
. (Fig. 7)
It will be determined
•
which network address the VPN Network will have
•
which network address the remote LAN has
•
which IPs will be accessible through the VPN in the remote LAN
•
which users will have access
Furthermore it is necessary to create key and certificate files for the VPN operation. They are unique
generated by the Enertex® EibPC. You can find a demo-video (for now German language only) on
showing more details on this.You can configure the VPN Server using the wizard
of Enertex® EibStudio at E
IB
PC – VPN C
ONFIGURATION
. The configuration is stored in the [
VPN
]
section.
Figure 7: VPN configuration dialog
With the Info-Button in EibStudio can be read whether the VPN service is running and which users
are enabled.
Definition
●
Function
startvpn
()
Arguments
●
none
Effect
●
Starts the VPN Service on the Enertex® EibPC. The VPN must be configured with
Enertex® EibStudio before.
●
After a reboot the VPN is stopped per default. The VPN should therefore started with an
if
systemstart()
construction (see example)
●
All in the past enabled users (to open a user's VPN access use
openvpnuser
) are
immediately opened after this function call.
●
If a new user progamm is downloaded to an EibPC, the VPN service remains open. An
recommended additional
startvpn
()-call does not make an interruption on the running
service. Only if the system is rebooted the Service will be stoppped.
●
With the Info-Button in EibStudio can be read whether the VPN service is running and
which users are enabled.
Data type result (Return)
●
none
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]