zerotier-openwrt
zerotier-openwrt copied to clipboard
Doesn't persist allowGlobal, allowDefault network settings
Hello,
The files /var/lib/zerotier-one/networks.d/{network id}.local.conf
containing the flags is not persisted across reboot.
allowGlobal
, allowDefault
and allowDNS
should be persisted
@sboisson if you see config it have this entry
# persistent configuration folder (for ZT controller mode)
#option config_path '/etc/zerotier'
You can uncomment line and set the directory that you want (must be created before) to persist your config.
Ok so it bypass the other config keys in /etc/config/zerotier
?
I think it would be interesting to have the allowGlobal
, allowDefault
and allowDNS
also configurable as keys per network in /etc/config/zerotier
… Wouldn't make it easier to make a LUCi module for it then ?
Ok so it bypass the other config keys in
/etc/config/zerotier
?
No
Ok so it bypass the other config keys in
/etc/config/zerotier
? I think it would be interesting to have theallowGlobal
,allowDefault
andallowDNS
also configurable as keys per network in/etc/config/zerotier
… Wouldn't make it easier to make a LUCi module for it then ?
If that is no big issue, then it would be useful to have those options in /etc/config/zerotier. As for the LuCI module, I don't know who is in charge of that.