key-networks / ztncui-containerized

A Docker image that contains ZeroTier One and ztncui to set up a standalone ZeroTier network controller with a web user interface in a container.
425 stars 83 forks source link

how to access 9993 from outside? #13

Closed ghost closed 4 years ago

ghost commented 4 years ago

i try to write in .env ZT_ADDR=0.0.0.0:9995 but not working, other parameters like HTTP_PORT=3456 or HTTPS_PORT=3443 work well. Screenshot_20200429_000743 i cannot acces it from outside, because port not accept requests from outside, only from container

ghost commented 4 years ago

i resolved instruction: create or edit /var/lib/zerotier-one/local.conf and add: { "physical": { "10.0.0.0/24": { "blacklist": false }, "10.10.10.0/24": { "trustedPathId": 101010024 } }, "virtual": { "feedbeef12": { "role": "UPSTREAM", "try": [ "0.0.0.0/9993" ]

    }
},
"settings": {
    "allowManagementFrom": ["0.0.0.0"],
    "softwareUpdate": "apply",
    "softwareUpdateChannel": "release"
}

}

key-networks commented 4 years ago

Thanks for your feedback.