zerotier-planet icon indicating copy to clipboard operation
zerotier-planet copied to clipboard

配置成功,连接也成功 但是 显示offline

Open guider opened this issue 2 years ago • 10 comments

image

guider avatar Oct 21 '22 10:10 guider

planet 文件也已经更换了 所有端口都已经开放

guider avatar Oct 21 '22 10:10 guider

劳烦 帮忙 看下

guider avatar Oct 21 '22 10:10 guider

ZeroTier One version 1.8.6 build 0 (platform 1 arch 4) Copyright (c) 2020 ZeroTier, Inc. Licensed under the ZeroTier BSL 1.1 (see LICENSE.txt) Usage: zerotier-cli [-switches] <command/path> []

Available switches: -h - Display this help -v - Show version -j - Display full raw JSON output -D - ZeroTier home path for parameter auto-detect -p - HTTP port (default: auto) -T - Authentication token (default: auto)

Available commands: info - Display status info listpeers - List all peers peers - List all peers (prettier) listnetworks - List all networks join <network ID> - Join a network leave <network ID> - Leave a network set <network ID> - Set a network setting get <network ID> - Get a network setting listmoons - List moons (federated root sets) orbit <world ID> - Join a moon via any member root deorbit <world ID> - Leave a moon dump - Debug settings dump for support

Available settings: Settings to use with [get/set] may include property names from the JSON output of "zerotier-cli -j listnetworks". Additionally, (ip, ip4, ip6, ip6plane, and ip6prefix can be used). For instance: zerotier-cli get <network ID> ip6plane will return the 6PLANE address assigned to this node. [root@OpenWrt:10:28 AM ~] # zerotier-cli dup ZeroTier One version 1.8.6 build 0 (platform 1 arch 4) Copyright (c) 2020 ZeroTier, Inc. Licensed under the ZeroTier BSL 1.1 (see LICENSE.txt) Usage: zerotier-cli [-switches] <command/path> []

Available switches: -h - Display this help -v - Show version -j - Display full raw JSON output -D - ZeroTier home path for parameter auto-detect -p - HTTP port (default: auto) -T - Authentication token (default: auto)

Available commands: info - Display status info listpeers - List all peers peers - List all peers (prettier) listnetworks - List all networks join <network ID> - Join a network leave <network ID> - Leave a network set <network ID> - Set a network setting get <network ID> - Get a network setting listmoons - List moons (federated root sets) orbit <world ID> - Join a moon via any member root deorbit <world ID> - Leave a moon dump - Debug settings dump for support

Available settings: Settings to use with [get/set] may include property names from the JSON output of "zerotier-cli -j listnetworks". Additionally, (ip, ip4, ip6, ip6plane, and ip6prefix can be used). For instance: zerotier-cli get <network ID> ip6plane will return the 6PLANE address assigned to this node. [root@OpenWrt:10:28 AM ~] # zerotier-cli dump Writing dump to: /zerotier_dump.txt [root@OpenWrt:10:28 AM ~] # cat /zerotier_dump.txt platform: Linux zerotier version: 1.8.6

status

{ "address": "faa9372790", "clock": 1666578523189, "config": { "settings": { "allowTcpFallbackRelay": true, "listeningOn": [ "172.31.0.1/9993", "192.168.1.201/9993", "172.31.0.1/29994", "192.168.1.201/29994", "172.31.0.1/52112", "192.168.1.201/52112", "fdf0:e1fa:5be2::1/9993", "fdf0:e1fa:5be2::1/29994", "fdf0:e1fa:5be2::1/52112" ], "portMappingEnabled": true, "primaryPort": 9993, "secondaryPort": 45505, "softwareUpdate": "disable", "softwareUpdateChannel": "release", "tertiaryPort": 0 } }, "online": false, "planetWorldId": 149604618, "planetWorldTimestamp": 1567191349589, "publicIdentity": "faa9372790:0:7be8fde9aace39c68a756babbcdb6f2f972a938bb399353a80b66077b249a57b5d043d046346079fa39205d0ea5e8b6f23a33b63c7c3a6d0e5e91b66679bd126", "tcpFallbackActive": true, "version": "1.8.6", "versionBuild": 0, "versionMajor": 1, "versionMinor": 8, "versionRev": 6 }

networks

[ { "allowDNS": false, "allowDefault": false, "allowGlobal": false, "allowManaged": true, "assignedAddresses": [], "bridge": false, "broadcastEnabled": false, "dhcp": false, "dns": { "domain": "", "servers": [] }, "id": "632ea29085023aa3", "mac": "a2:c0:ab:b2:b7:32", "mtu": 2800, "multicastSubscriptions": [], "name": "", "netconfRevision": 0, "nwid": "632ea29085023aa3", "portDeviceName": "zt6ov2bkrg", "portError": 0, "routes": [], "status": "REQUESTING_CONFIGURATION", "type": "PRIVATE" }, { "allowDNS": false, "allowDefault": false, "allowGlobal": false, "allowManaged": true, "assignedAddresses": [], "bridge": false, "broadcastEnabled": false, "dhcp": false, "dns": { "domain": "", "servers": [] }, "id": "7f3b4ddfa0fb99fe", "mac": "fe:63:52:97:f8:dd", "mtu": 2800, "multicastSubscriptions": [], "name": "", "netconfRevision": 0, "nwid": "7f3b4ddfa0fb99fe", "portDeviceName": "ztucn3mrs6", "portError": 0, "routes": [], "status": "REQUESTING_CONFIGURATION", "type": "PRIVATE" }, { "allowDNS": false, "allowDefault": false, "allowGlobal": false, "allowManaged": true, "assignedAddresses": [], "bridge": false, "broadcastEnabled": false, "dhcp": false, "dns": { "domain": "", "servers": [] }, "id": "ce9442cce9a1054a", "mac": "4a:ff:08:de:eb:d2", "mtu": 2800, "multicastSubscriptions": [], "name": "", "netconfRevision": 0, "nwid": "ce9442cce9a1054a", "portDeviceName": "ztaj66hsnd", "portError": 0, "routes": [], "status": "REQUESTING_CONFIGURATION", "type": "PRIVATE" } ]

peers

[ { "address": "7f3b4ddfa0", "isBonded": false, "latency": -1, "paths": [], "role": "PLANET", "version": "-1.-1.-1", "versionMajor": -1, "versionMinor": -1, "versionRev": -1 }, { "address": "ce9442cce9", "isBonded": false, "latency": -1, "paths": [], "role": "LEAF", "version": "-1.-1.-1", "versionMajor": -1, "versionMinor": -1, "versionRev": -1 } ]

bonds

[ { "address": "7f3b4ddfa0", "isBonded": false, "latency": -1, "paths": [], "role": "PLANET", "version": "-1.-1.-1", "versionMajor": -1, "versionMinor": -1, "versionRev": -1 }, { "address": "ce9442cce9", "isBonded": false, "latency": -1, "paths": [], "role": "LEAF", "version": "-1.-1.-1", "versionMajor": -1, "versionMinor": -1, "versionRev": -1 } ]

local.conf

None Present

Network Interfaces

Interface 0

Name: eth0 MTU: 1500 MAC: fc:7c:02:ec:80:91 Addresses: 192.168.1.201 fdf0:e1fa:5be2::1 fe80::fe7c:2ff:feec:8091 Interface 1

Name: docker0 MTU: 1500 MAC: 02:42:d5:92:c5:4b Addresses: 172.31.0.1

guider avatar Oct 24 '22 02:10 guider

已部署了并创建网络,客户端点加入后,显示状态一直都是requesting_configuration,但在服务器端一直看不见设备加入

guider avatar Oct 24 '22 02:10 guider

已部署了并创建网络,客户端点加入后,显示状态一直都是requesting_configuration,但在服务器端一直看不见设备加入

最近不管用什么办法新建的planet都不行,只有8月以前建立的可以。。。不知道是什么鬼。起初以为是端口啥的被墙,结果用境外服务器建立后再用境外服务器加入,也一样不行。

FliesQQ avatar Oct 30 '22 13:10 FliesQQ

我也是这样,手机和电脑加入后都在请求配置,但服务器端收不到设备加入请求

Starryjasmine avatar Nov 19 '22 12:11 Starryjasmine

已部署了并创建网络,客户端点加入后,显示状态一直都是requesting_configuration,但在服务器端一直看不见设备加入

我参照这个https://github.com/xubiaolin/docker-zerotier-planet搭建成功了

Starryjasmine avatar Nov 22 '22 03:11 Starryjasmine

运营商大批量封闭了9993 端口,需要修改

qsc4442 avatar Nov 30 '22 04:11 qsc4442

@qsc4442 请问如何修改9993端口

verysun avatar Dec 01 '22 05:12 verysun

All those that have an issue with requesting config make sure you modify the file docker-compose.yml and edit this line to add your server public IP

  • MYADDR=1.1.1.1 #Change to your own server public network IP

MANKUD avatar Feb 14 '23 21:02 MANKUD