10908 questions

12999 answers

20266 comments

26726 members

+1 vote
2,703 views 2 comments
by
I am looking at using the RUT950 with ZeroTier to be able to provide remote support for my clients.

I have found the Teltonika ZeroTier setup guide but this only covers setting up a network between two RUT routers.

I want to be able to set up a connection between a PC and a RUT 950, enabling the PC to access all local devices connected to the RUT950.

Assume I have

1. RUT 950. Local address: 192.168.1.1. Connected to Internet via 4G.

2. Other network device connected to LAN port of RUT 950. Address: 192.168.1.2

3. RUT950 connected to a ZeroTier network. IP address on VPN interface assigned by ZeroTier network controller. Different subnet than local network (192.168.1.0/24).

4. Remote (other location) PC connected to a ZeroTier network. IP address on VPN interface assigned by ZeroTier network controller

The RUT950 and the PC can now ping each other, but what are the necessary steps to enable the remote PC to communicate with 192.168.1.2? Where do I set up the routing? Or is it possible for the remote PC to get an address on the VPN interface within the 192.168.1.0/24 range to make sure it is on the same subnet as the local network behind the RUT950?
by
You setup the routing in Zerotier on the networks page

It becomes a managed route where 192.168.1.0/24 points to the Zerotier allocated address for your RUT950

I am doing it and it works well

2 Answers

0 votes
by
I'm searching for the same guide !
0 votes
by

I'm totally lost on routing configuration (maybe because I'm a newbie too)

For Zerotier interface

  • My PC have Zerotier One Windows client, connected to Internet, with managed ip 192.168.191.242 on Zerotier virtual port
  • My RUT955 have Zerotier Package with managed IP 192.168.191.225
  • On Zerotier Central, I have added rule to route 0.0.0.0/0 via 192.168.191.225 (as described on Zerotier One Guide from Teltonika)

On LAN interface, 

  • RUT955 have 192.168.1.1 for LAN
  • RUT955 is connected to Internet via 4G LTE connection (NAT mode)
  • PLC 192.168.1.26 / 255.255.255.0 / Gateway 192.168.1.1  with webserver (port 8080) and Modbus TCP Server (Port 502)
    • Ofc, on LAN, all is working.

With Factory settings, I can ping my PLC (192.168.1.26) when Zerotier is connected with Latency ~50ms.

How to route connection between my PC, ZerotierCentral, RUT955 and my PLC ?

What is the difference between ZeroTier Server setting and Client setting on Zerotier VPN ?

Maybe it's a stupid question but I don't find any document to explain howto make it ...

by
Finally' it's works (It's so easy that it's incredible)

For my example if it will be useful to others newbies

On RUT, no static routes, just install Zerotier package in Server mode as described on Teltonika doc)

Just add on Zerotier network : 192.128.1.0/24 (=mask 255.255.255.0) via 192.168.1.225 (Zerotier managed IP)

That's means all IP between 192.168.1.0 to 192.168.1.254 are reachable behind my RUTxxx