Replies: 7 comments 2 replies
-
Hi Guys, would anyone have an answer on this? |
Beta Was this translation helpful? Give feedback.
-
I think this would need to be set on all client configurations. I'm not sure if the controller alone would handle it, or what happens if you didn't configure the controller in this way at all and had all clients configured with it. I don't see that documented, as they focus on "a device"... In the docker-compose file for ztnet, the zerotier container has the environment variable ZT_OVERRIDE_LOCAL_CONF set to true. By looking at the zyclonite/zerotier container it seems that if this is the case it creates one and overwrites your local one. If this flag is false, and no local.conf exists, one will be created also. So if you were going to manually create or alter this you probably want to unset that ZT_OVERRIDE_LOCAL_CONF and be sure to include the equivalent to what is autocreated:
The local.conf file would be in the docker volume "zerotier". I also see one under networks.d/{networkid}.local.conf, so I'm not sure which is needed here. Looking at mine, the one in networks.d are settings like "allowManaged" and so forth which are set in the controller GUI and probably not relevant. So you probaby need the one at the top level only. You can see the current config in a similar manner as to what I will suggest using to edit it:
A hacky way to get in there to edit it though would be by launching a temporary ubuntu container, installing vi, and editing that file:
Then you could add the required lowBandwidth as they document:
Are there better ways? I'm sure there are. But maybe this will help anyway. :) |
Beta Was this translation helpful? Give feedback.
-
Im not sure either, nor am i familiar with this parameter.
Ztnet is already making chagnes to the local.conf file, so adding an option to set
You can just open an editor directly in the zerotier folder if you need to edit config files. |
Beta Was this translation helpful? Give feedback.
-
I should have linked to the documentation, but there isn’t much: |
Beta Was this translation helpful? Give feedback.
-
I changed the local.conf for all the nodes on our network, and on the ZeroTier hosted controller all of the online status information went away. They all show offline. On the ZTNet controller status page they come and go from online to offilne and many show RELAYED. I did change the local.conf on the controller docker container as well. Maybe that should have been left alone? Just trying to get a feel for it, but I obviously did not and could not change the ZeroTier hosted controller config. :) |
Beta Was this translation helpful? Give feedback.
-
Interesting. I will test myself when i get time. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Is it possible to set the low bandwidth mode in the controller? And if so were would this command be done? Thanks
"lowBandwidthMode":true
Beta Was this translation helpful? Give feedback.
All reactions