xubiaolin / docker-zerotier-planet

一分钟私有部署zerotier-planet服务
2.52k stars 470 forks source link

authtoken.secret不正确 #134

Closed acgtap closed 8 months ago

acgtap commented 8 months ago

这个目录下的docker-zerotier-planet/data/zerotier/one

authtoken.secret这个密钥

用controller api请求

显示401请求

acgtap commented 8 months ago

@xubiaolin

xubiaolin commented 8 months ago

你的接口curl发我看看

acgtap commented 8 months ago

你的接口curl发我看看

解决了,需要新建local.conf中配置允许接口请求

acgtap commented 8 months ago

{"settings":{"softwareUpdate": "disable", "primaryPort":9994,"allowManagementFrom": ["0.0.0.0/0"],"portMappingEnabled": true}}

我在local.conf这样设置,结果ztncui显示401鉴权失败,但是通过远程访问又可以200,真是奇怪?@xubiaolin