Due to security reasons, we would like to enable and disable the VPN-tunnel from a central point. Next to that, we would need to monitor the actual status of the VPN-tunnel (ON/OFF) and how many people are logged in. The first part, activating VPN remotely, I would like to do by creating a TAG in the EWON (e.g. “VPN_Activate”) and writing 0 or 1 to it via an external client (e.g. Kepware). In the EWON, whenever the TAG-value “VPN_Activate” changes, the VPN-Tunnel needs to be enabled/disabled. Does anyone have experience in doing such a thing remotely through something like KepServerEx?
The next part, enabling/disabling the VPN-Tunnel is not an issue. I do so by changing the COM-parameter “VPNCnxType”. Monitoring that value does give me some difficulties though. At the moment I scripted something that changes a TAG based on the value of “VPNCnxType”. I would prefer to read the value of “VPNCnxType” via OPC UA directly. Is that possible?