Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only allow localhost or allowManagementFrom
```sh travis@cattail> cat /Library/Application\ Support/ZeroTier/One/local.conf ~/repos/github.com/zerotier/ZeroTierOne { "settings": { "forceTcpRelay": true, "tcpFallbackRelay": "192.168.82.3/9443", "allowManagementFrom": ["192.168.82.0/24"] } } travis@cattail> curl localhost:9993/app/hello/ ~/repos/github.com/zerotier/ZeroTierOne hello travis@cattail> curl 192.168.82.193:9993/app/hello/ ~/repos/github.com/zerotier/ZeroTierOne hello travis@cattail> curl -v 10.123.15.208:9993/app/hello/ ~/repos/github.com/zerotier/ZeroTierOne * Trying 10.123.15.208:9993... * Connected to 10.123.15.208 (10.123.15.208) port 9993 (#0) > GET /app/hello/ HTTP/1.1 > Host: 10.123.15.208:9993 > User-Agent: curl/8.1.2 > Accept: */* > < HTTP/1.1 401 Unauthorized < Content-Length: 2 < Content-Type: application/json < Keep-Alive: timeout=5, max=5 < * Connection #0 to host 10.123.15.208 left intact {}% ```
- Loading branch information