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
46 views 0 comments
by anonymous
Hello,

I have 4 routers RUT955. These routers are distant from each other (each one in a location). I would like to set up a network between them like if they were connected all of them by LAN (see attached file).

Thank you very much for your help.

1 Answer

0 votes
by anonymous

Hello,

  

In this case, the best option here would most likely be to use OpenVPN in TAP mode. TAP mode operates on L2 of the OSI model, and basically acts as a network switch. To configure this setup, the following actions need to be done:

  • All of the routers need to be configured to be on the same LAN subnet (e.g. 192.168.1.0/24), but they all must have different LAN IPs (e.g. DAM - 192.168.1.1, Water plant - 192.168.1.5, Water tower - 192.168.1.10...);
  • The OpenVPN server can be configured - this device MUST have either a public IP or be reachable by all of the client devices. The configuration example itself can be found here;
  • If the devices must be able to reach each other (not only client-server communication), then the Client to Client option should also be enabled. Allow duplicate certificates should also be enabled if the client certificates will be reused;
  • Once the clients are connected, you should be able to reach them all by simply using their private IP addresses. More information on how to test and troubleshoot OpenVPN issues can be found here.
Another alternative could be to use ZeroTier VPN, which does not require any of the clients to have a public IP address. Configuration example of ZeroTier configuration can be found here. In this case, separate LAN subnets would need to be used, as ZeroTier is an L3 protocol.

Let me know if any more information is needed!

  

Best regards,
DaumantasG