Hi everyone,
I have been trying to establish a connection to my Siemens PLC via VPN for two days.
I am using a RUT200 with RMS VPN Hub.
As far as I understand it, the error is that the subnet mask of the VPN server does not correspond to that of my devices. My devices are all in 255.255.255.0, but the VPN server always assigns 255.255.255.252.
As I understand it, they all have to be in the same subnet to be able to communicate.
Thank you for your help.
Hello,
The specific 255.255.255.252 netmask has (almost) nothing to do with the subnet that you are trying to reach. As you can see in your image, you are being leased the IP address of 192.168.0.6, which puts you in the .0 subnet, allowing you to access the devices, which are also in the .0 subnet (for example, 192.168.0.2).
Your routes, although I cannot see the full image (specifically, the “VIA” option), look to be set up correctly, assuming that the “VIA” is set to the device BET Router, and not the RMS client, as some users like to do. Although one of your images, you’ve blurred out the “VIA” option, which is why I would assume you have it set to the incorrect gateway, it needs to be your device, not your RMS user, keep that in mind.
One more thing I’d suggest doing is logging into the BET device, heading to Network → Firewall → Zones and enabling the Masquerading option on all of your available zones, giving it a Save & Apply and trying to connect/ping your end-devices again:
Regards,
M.