Thanks @Kevin_hms
I do not know if I explained correctly. What I need is to connect an Ewon to interact with the Simens PLC (read and write in the memory of the PLC) all this through an OPC server that would be in the WAN. And then have the option of remote connection via VPN from talk2m to the PLC for possible modifications of the PLC provider.
I have configured the WAN port with an IP from the range of the OPC server and then on the LAN the PLC with its range. On the LAN I would also have a Windows PC and also need access to specific ports from the WAN.
I do not know how I can read/write with OPC server to the PLC and PC on the LAN, I don’t see where I can open the ports (102 for Siemens and 8888 por the PC).
Ports can be opened in both directions between the OPC server and the PLC?
OPC server IP: 10.20.0.100
Ewon WAN IP: 10.20.0.200
Ewon LAN IP: 192.168.1.10
PLC IP: 192.168.1.11
PC IP: 192.168.1.12
Thanks for all