Vpn to plc on static ip

Hello All,

Hopefully you can help me.

I`m trying to remote onto a PLC via a RUT241.

RUT241 Lan is 192.168.9.1

PLC is 192.168.9.200.

Subnet: 255.255.255.0

GW: 192.168.9.1

I couldn`t see the PLC at first on the RUT241 which was weird.

Adding a static route on the UI of the RUT241, did fix that and I can now see it and ping it successfully via the diagnostics on the UI of the RUT241.

I setup a VPN with my user, a device (the RUT241) and I can now scan for devices and see the PLC. (192.168.1.200)

I Run the teltonika RMS VPN tool and get the VPN running etc. But i cannot use the programming software to connect to the PLC and i can`t successfully ping the device?

What am i doing wrong?

Greetings,

Have you enabled LAN forwarding and added a static route to the VPN hub? You can do this by navigating to Routes and clicking the buttons shown in the image below.

A static route for the entire subnet would look like the example shown below. If you only want to route traffic to a specific IP address, use the 255.255.255.255 netmask.

For additional information about VPN hubs, please refer to the following link:

Best Regards,
Justinas

Hello Justinas,

Thanks for the info that’s all good, i think its the PC side my pc in particular.

I can ping the PLC from the router UI.

If i tracert from my PC is doesn`t go down the VPN adapter just my normal network adapter, then dies so i think that is the issue?

Cheers

Greetings,

On Windows, you can specify the interface from which the ping is sent by using the -S option.

The command would look like this:

ping -S 192.168.1.103 8.8.8.8

Best Regards,
Justinas