FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
327 views 0 comments
by anonymous
Hello,

I have the following problem using Teltonika RMS VPN hub:

- all RUT950 are accessible over their unique IP address (4G)

- Every RUT950 has the same local configuration: a raspberry pi is connected to the static IP address: 192.168.68.100  (this can NOT be changed)

I would like to be able to connect to all raspi 1 ... n, is there any means to use masquerading or NAT to change the raspi address towards the PC? How to do this?

1 Answer

0 votes
by anonymous

Hi,

For this to work, you will first need to configure the RMS VPN Hub. It is not necessary to enable LAN forwarding because you will access each device using the IP address of the corresponding RUT it is connected to.

After configuring the RMS VPN Hub, you need to add all of your RUT devices to it. 

Then, on the RUT devices themselves, set up port forwarding to allow traffic from the OpenVPN RMS zone (source zone) and forward it to the 192.168.68.100 device (internal IP) in the LAN (destination zone). This needs to be done for each RUT device.

Each of your RUT devices will have a different RMS VPN IP address, such as RUT 1 - 192.168.255.21, RUT 2 - 192.168.255.22, RUT 3 - 192.168.255.25, and so on. This will depend on your choice of IP addresses.

The image below shows the pairs of IP addresses that can be configured on your VPN endpoints. You must use these static IP addresses from the /30 subnet. To set a static IP address, go to the RMS VPN Hub settings, select Clients, and click the cogwheel to set a static IP address for the device in the list (under actions).

To access a specific Raspberry Pi, you need to connect to the corresponding RUT device. For example, to reach raspi 1, you need to connect to the IP address of RUT1. To reach raspi 2, you connect to RUT2, and so on.

Kind Regards,

Andzej