Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't persist allowGlobal, allowDefault network settings #90

Open
sboisson opened this issue Jun 21, 2021 · 4 comments
Open

Doesn't persist allowGlobal, allowDefault network settings #90

sboisson opened this issue Jun 21, 2021 · 4 comments

Comments

@sboisson
Copy link

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

@ogarcia
Copy link
Collaborator

ogarcia commented Jun 22, 2021

@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.

@sboisson
Copy link
Author

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 ?

@ogarcia
Copy link
Collaborator

ogarcia commented Jun 22, 2021

Ok so it bypass the other config keys in /etc/config/zerotier ?

No

@mwarning
Copy link
Owner

mwarning commented Jun 22, 2021

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 ?

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants