Tunnel Two Ewon LANs Together?

Is it possible to create a VPN between two ewons that allows a PLC at one ewon to see devices connected to the other ewon?

Yes, you can do this by following this document:

Is this doable with a Cosy and a Flexy?

Actually, that’s a good question. It should be theoretically possible. It’s not possible with two Cosys because only the Flexy can act as the VPN Server, but if you configure it with the Cosy as the client, it should work. I’ve never tested it or heard of anyone trying it before, but I don’t see any reason why it wouldn’t work.

It looks like the Cosy UI doesn’t contain any of the options needed to set it up as a VPN client. I also can’t find many of the options in comcfg

The options are in the comcfg. This document contains the names of the settings you need:

VPNKeyType
VPNDrvMode
VPNProto
VPNSrv1
VPNPortOut
VPNPortIn
VPNCnxType
VPNCACert
VPNDiag
VPNCfgFile
VPNSecretCert
VPNSecretKey

Was there a particular setting you couldn’t find?