Self hosted setup

Hi,

Iam following the guide Self-Hosting | ZeroTier Documentation and could setup two selfhosted roots. Now I would like to play with them with terraform.
Ican use the api locally

 curl "http://localhost:9993/controller/network" -H "X-ZT1-AUTH: ${TOKEN}"  

but not remote. I always get a message like
Status code 401: status code was not 200

Then I tried to put a local.conf under /var/lib/zerotier-one

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

but still no luck.
Is there a way to to do that? And if so how can I create new auth tokens?

cheers,
thomas

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