Zerotier create a new Address when Truenas scale start up each time or app stop/run

Hi, there,
I am new to Truenas scale and install zerotier app on it. After configuration, I can get response when ping to IP via zerotier. The problem here is that when the Truenas scale restart or zerotier app stop & run again, a new address(such as 0a1bc1e44b) shows in my zerotier list which need to be authorized. Besides, I give a fixed IP to the new device, and then no response via ping.

Version:

TrueNAS-SCALE-22.12.3.3

zerotier1.12.1_1.0.9U

hi,
It sounds like the identity file isn’t getting saved. So when you restart, you get a new one.
We don’t know much about truenas, but we here’s an article which talks about the same issue

Thank you for your quick response.
I tried those commands. After pasting and ‘:wq’, it shows “can’t open file for writing”. Is there anything I did wrong? How to solve this problem?

Kasen

1

You will need to adapt this method for Scale, as it is for Core, but the main ideas stay the same:
https://alan.norbauer.com/articles/zerotier-on-truenas

Essentially, you need to make a location where the configuration files will persist, and then have a script which ensures Zerotier will find its configuration files in the new location.

Thank you. But new to linux, and hard for me to follow those steps. Turn to Tailscale for a while.

I think you might be diving into the deep end a bit. One of the significant problems with TrueNAS is that they deliberately make it hard to change the OS installation partition; the core OS needs to be altered using unsupported methods.

I do these alterations in production, but you do need to know what you are doing. As you are new, I’d suggest getting up to speed with what is on offer now, and then gradually learning the cli; once you understand what the commands are and what they do, your ability to make these changes won’t be a problem.

BTW: Why Scale? It’s a bit heavyweight for a beginner? Normally I’d expect someone to dive into Core first.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.