Hello,
I have two HMIs that I want to communicate with each other. the two rut955 are connected via SIM 4G by an ISP. the two hmi have an ethernet connection. I want to communicate using IP addresses. how should i do this?
Thanks in advance.
Hello,
I have two HMIs that I want to communicate with each other. the two rut955 are connected via SIM 4G by an ISP. the two hmi have an ethernet connection. I want to communicate using IP addresses. how should i do this?
Thanks in advance.
Hello,
If both devices have public IP addresses available on their SIM, then the devices should be able to communicate using those addresses. Another option would be to use VPNs, such as OpenVPN. This is a more secure method. However, this requires a VPN server with a public IP address. If at least one of those SIM cards have a public IP address, you can configure it as a VPN server. In case public IPs are not available, you can use a VPN such as ZeroTier which can be used without public IP addresses. However, the traffic in this case will go through ZeroTier servers, but your RUT955s (and HMIs) should be able to communicate without any issues.
OpenVPN configuration example can be found here.
ZeroTier configuration example is available here.
Kind Regards,
Hello,
Thank you for you reply.
Both RUT have public IP adresses but if you do a power cylce on them the IP adress changes. Do i need to get a static IP adress from my ISP?
And if i want to communicate to the other device, do i need to fill in the public IP adress?
Kind Regards,
Gerrald
Hello,
In case if public IP address is available, but it changes after a power cycle, you can use DDNS. This feature will allow your device to automatically update a name server in DNS. Basically, when the public IP changes, the device will register its new IP address with DDNS provider and you will still be able to reach your device via the same hostname. DDNS information is available here and here.
Also, I would still suggest using VPNs, like OpenVPN that I have mentioned previously, because they are safer. Enabling LAN to LAN communication between devices without a VPN will require you to configure port-forwardings. This method means that you will put the public IP address of the router and the router will redirect the traffic to the HMI in LAN. If you use VPNs, you will be able to communicate via HMI over the tunnel directly via its LAN IP address.
Kind Regards,
This topic was automatically closed after 15 days. New replies are no longer allowed.