xubiaolin / docker-zerotier-planet Goto Github PK
View Code? Open in Web Editor NEW一分钟私有部署zerotier-planet服务
一分钟私有部署zerotier-planet服务
客户端无法连接官方Planet时,好像也无法连接自建Planet
同一个地区的两条电信宽带,一个能连接官方Planet,一个不能连接。两个都覆盖planet文件后,只有能正常连接官方Planet的那个网络里的设备可以成功加入自建控制中心。另一个一直都是Requesting Configuration。
如题,谢谢!
您好,我在启动
docker run -d --name zerotier-planet -p 3443:3443 -p 9993:9993 -p 9993:9993/udp -v /var/lib/zerotier-one:/var/lib/zerotier-one --restart unless-stopped zerotier-planet
这个命令时,会报错
docker: Error response from daemon: driver failed programming external connectivity on endpoint zerotier-planet (b0a28ce245f6bbcbb3c2c3a36e99e12235e8883f043db9d6e000ded4c4c06f69): Error starting userland proxy: listen tcp4 0.0.0.0:9993: bind: address already in use.
使用 netstat -tanlp 查看了端口,显示是zerotier-one在占用9993端口
不知道是不是因为moon节点和planet节点同时布置在云服务器上
Cloning into 'ztncui'...
fatal: unable to access 'http://gh-proxy.markxu.vip/https://github.com/key-networks/ztncui.git/': Failed to connect to gh-proxy.markxu.vip port 80: Connection timed out
安装时提示没有zerotier-planet这个镜像
腾讯或者阿里云的服务器,第二年起就变的很贵;家里宽带有公网ip地址,但是ip地址不固定,几天会变一次,已经使用域名绑定,家里有nas服务器,常年开机的,现在想请问下能否在家里服务器中部署[zerotier-planet],方便各种设备组成局域网
目前发现每次运行./deploy.sh之后,都会删除原先的planet和zerotier配置文件,导致路由和客户端都要重新配置,如果在运行脚本的时候可以选择是否删除原来配置就好了。
我想把数据配置使用单独的卷,以便容器损坏的时候不用重新配置所有客户端,是否可行?
Get:168 http://mirrors.aliyun.com/ubuntu focal/main amd64 liburi-perl all 1.76-2 [77.5 kB]
Get:169 http://mirrors.aliyun.com/ubuntu focal/main amd64 libfile-desktopentry-perl all 0.22-1 [18.2 kB]
Get:170 http://mirrors.aliyun.com/ubuntu focal/main amd64 libfile-fcntllock-perl amd64 0.22-3build4 [33.1 kB]
Get:171 http://mirrors.aliyun.com/ubuntu focal/main amd64 libtimedate-perl all 2.3200-1 [34.0 kB]
Get:172 http://mirrors.aliyun.com/ubuntu focal/main amd64 libhttp-date-perl all 6.05-1 [9920 B]
Get:173 http://mirrors.aliyun.com/ubuntu focal/main amd64 libfile-listing-perl all 6.04-1 [9774 B]
Get:174 http://mirrors.aliyun.com/ubuntu focal/main amd64 libfile-mimeinfo-perl all 0.29-1 [41.5 kB]
Get:175 http://mirrors.aliyun.com/ubuntu focal/main amd64 libfont-afm-perl all 1.20-2 [13.2 kB]
Get:176 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 libfreetype6 amd64 2.10.1-2ubuntu0.2 [341 kB]
Get:177 http://mirrors.aliyun.com/ubuntu focal/main amd64 libfontconfig1 amd64 2.13.1-2ubuntu3 [114 kB]
Get:178 http://mirrors.aliyun.com/ubuntu focal/main amd64 libfontenc1 amd64 1:1.1.4-0ubuntu1 [14.0 kB]
Get:179 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 libglapi-mesa amd64 21.2.6-0ubuntu0.120.04.2 [27.4 kB]20.04.5 [18.8 MB]
Get:180 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 libllvm12 amd64 1:12.0.0-3ubuntu1
已经搭建成功了。在/opt目录下下载planet文件,在客户机上替换了,但是连不上。
我没用vps搭建,用的是ddns方式,在部署上,填写ip那个地方是用的域名代替。
tcp/9993,udp/9993都做了端口映射
PS C:\Users\down> zerotier-cli.bat join 826bb777c0f4c839
200 join OK
PS C:\Users\down> zerotier-cli.bat peers
200 peers
826bb777c0 - PLANET -1 RELAY
PS C:\Users\down>
Detail for network
authTokens:[
null
]
authorizationEndpoint:
capabilities:[]
clientId:
creationTime:1665151574943
dns:[]
enableBroadcast:true
id:826bb777c0f4c839
ipAssignmentPools:[
{
"ipRangeEnd": "10.0.0.254",
"ipRangeStart": "10.0.0.100"
}
]
mtu:2800
multicastLimit:32
name:O791@zlang
nwid:826bb777c0f4c839
objtype:network
private:true
remoteTraceLevel:0
remoteTraceTarget:
revision:4
routes:[
{
"target": "10.0.0.0/24",
"via": null
}
]
rules:[
{
"not": false,
"or": false,
"type": "ACTION_ACCEPT"
}
]
rulesSource:
ssoEnabled:false
tags:[]
v4AssignMode:{
"zt": true
}
v6AssignMode:{
"6plane": false,
"rfc4193": false,
"zt": false
}
请教下能用ddns来用吗?
自动获取的IP是v4地址嫩否添加IPv6,请教!
我想IPV4+IPV6双地址建立[planet]
下载源码中,源码文件较大,请耐心等待;如果源码下载失败,请重新执行该脚本
Cloning into 'ztncui'...
warning: redirecting to https://github.markxu.workers.dev/https:/github.com/key-networks/ztncui.git/
Cloning into 'ZeroTierOne'...
warning: redirecting to https://github.markxu.workers.dev/https:/github.com/zerotier/ZeroTierOne.git/
npm ERR! code 1
npm ERR! path /opt/ztncui/src/node_modules/argon2
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/opt/ztncui/src/node_modules/argon2/build'
npm ERR! make: Leaving directory '/opt/ztncui/src/node_modules/argon2/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v16.14.0/node-v16.14.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.14.0/node-v16.14.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v16.14.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.14.0/SHASUMS256.txt
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/opt/ztncui/src/node_modules/argon2/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/root/.cache/node-gyp/16.14.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/16.14.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.14.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/ztncui/src/node_modules/argon2',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! make: printf: Operation not permitted
npm ERR! make: *** [libargon2.target.mk:123: Release/obj.target/libargon2/argon2/src/opt.o] Error 127
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make
failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 4.18.0-240.1.1.el8_3.x86_64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /opt/ztncui/src/node_modules/argon2
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
只有动态公网IP可以用这个吗?
之前使用你的项目搭建成功也能正常使用,最近看到项目代码更新了,请问有没有不重新搭建直接更新最新代码的方法呢
使用甲骨云免费服务器部署,部署完成后,客户端连接网络,然后去控制台看,成员为0,部署几次+换了服务器也是这样,请问我怎么排查问题
如果修改9993端口,缺少echo 'ZT_ADDR=127.0.0.1:15559' >>.env
请问手机有办法配置吗
我看到这个代码中生成了一个新的planet文件,当使用这个文件覆盖客户端配置以后,客户端无法连接原有官方的zerotier节点了。
请问这个是一个bug还是说机制上只允许建立私有网络,而不允许连接官网公共网络?
zerotier-cli peers
200 peers
0344a38d42 1.8.6 MOON 99 DIRECT 8286 3180 xx.xxx.xx.xxx/9993
579dcf7144 1.8.4 LEAF -1 RELAY
7457f95400 1.8.4 MOON 17 DIRECT 3238 3238 xx.xx.xx.xxx/9993
7a49962c80 1.10.0 PLANET -1 RELAY
cafe9efeb9 - LEAF -1 DIRECT -1 2928 xxx.xxx.x.xxx/9993
when i try to deploy it in Tencent Cloud,it speeds too much time because of mirrors of Tsinghua University and taobao. please give diverse mirrors to speed up the process.
请问大家,我的云服务器是ubuntu20.04系统包含dockers,登陆名是不是必须改名opt(不然我的目录下没有/opt/这个文件夹,也找不到planet文件)
已经重复多次,都不行。
而且经常连不上,但是官方的结点都是秒连的,,在天翼云部署的
Hi xubiaoliln,
Thanks for your efforts to the project.
I just readed your source code. Maybe there are some new changes that can be added to the code. Some of the features that migth
be benefits to the code/user are shown below.
Automatically get the current public IP , no longer need to change the patch.json when generating the image. Some of APIs can be used, such as:
http://ip.3322.net/
https://httpbin.org/ip
https://pv.sohu.com/cityjson?ie=utf-8
http://whois.pconline.com.cn/ipJson.jsp
http://v4.ipv6-test.com/api/myip.php
https://api-ipv4.ip.sb/ip
http://myip.ipip.net/s
mkworld.cpp file clone from the offical repos in real time in order to prevent file content changes from causing the generation to fail.
That's all, thank you.
当前的ip为:, 是否继续? y/n
y
清除原有内容
rm: cannot remove '/opt/planet': No such file or directory
Error response from daemon: No such container: zerotier-planet
Error: No such container: zerotier-planet
Error: No such image: zerotier-planet
打包镜像
Sending build context to Docker daemon 1.006MB
Step 1/8 : FROM ubuntu:20.04
---> bdbe84df0b98
Step 2/8 : ENV TZ=Asia/Shanghai DEBIAN_FRONTEND=noninteractive
---> Using cache
---> 793be8609160
Step 3/8 : ADD . /app
---> Using cache
---> 7f0be969e5f9
Step 4/8 : RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse" > /etc/apt/sources.list && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse" >> /etc/apt/sources.list && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse" >>/etc/apt/sources.list && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse" >>/etc/apt/sources.list && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" >>/etc/apt/sources.list && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" >>/etc/apt/sources.list && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse" >>/etc/apt/sources.list && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone && apt update && apt install git python3 npm make curl wget -y && mkdir /usr/include/nlohmann/ && cd /usr/include/nlohmann/ && wget https://github.com/nlohmann/json/releases/download/v3.10.5/json.hpp && npm config set registry http://registry.npm.taobao.org && npm install -g node-gyp && apt-get clean && rm -rf /var/lib/apt/lists/*
---> Running in 2f31801440d5
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://mirrors.aliyun.com/ubuntu focal InRelease [265 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease [114 kB]
Ign:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted arm64 Packages
Ign:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe arm64 Packages
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse arm64 Packages
Ign:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main arm64 Packages
Ign:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted arm64 Packages
Ign:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe arm64 Packages
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse arm64 Packages
Ign:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main arm64 Packages
Ign:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted arm64 Packages
Ign:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe arm64 Packages
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse arm64 Packages
Ign:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main arm64 Packages
Ign:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted arm64 Packages
Ign:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe arm64 Packages
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse arm64 Packages
Ign:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main arm64 Packages
Ign:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted arm64 Packages
Ign:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe arm64 Packages
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse arm64 Packages
Ign:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main arm64 Packages
Err:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted arm64 Packages
404 Not Found [IP: 101.6.15.130 80]
Ign:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe arm64 Packages
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse arm64 Packages
Ign:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main arm64 Packages
Get:7 http://mirrors.aliyun.com/ubuntu focal-security InRelease [114 kB]
Get:8 http://mirrors.aliyun.com/ubuntu focal-updates InRelease [114 kB]
Get:9 http://mirrors.aliyun.com/ubuntu focal-backports InRelease [108 kB]
Get:10 http://mirrors.aliyun.com/ubuntu focal/restricted Sources [7198 B]
Get:11 http://mirrors.aliyun.com/ubuntu focal/main Sources [1079 kB]
Get:12 http://mirrors.aliyun.com/ubuntu focal/universe Sources [12.3 MB]
希望能出个详细教程
root@hecs-205094:/app# zerotier-cli listpeers
200 listpeers
200 listpeers 62f865ae71 50.7.252.138/9993;14111;3895 213 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;4111;3872 238 - PLANET
200 listpeers cafe04eba9 84.17.53.155/9993;419;3955 156 - PLANET
200 listpeers cafe9efeb9 104.194.8.134/9993;14111;3941 170 - PLANET
Hello,
I want to use an older version of zerotier as this will install the latest version of zerotier and there is a bug which shows multiple duplicate entries under the Peer address in the webui.
请问在ip更换后如何使planet继续生效
Cloning into 'ztncui'...
sh: missing ]
Cloning into 'ZeroTierOne'...
sh: missing ]
npm ERR! code 1
npm ERR! path /opt/ztncui/src/node_modules/argon2
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/opt/ztncui/src/node_modules/argon2/build'
npm ERR! make: Leaving directory '/opt/ztncui/src/node_modules/argon2/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v16.14.0/node-v16.14.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.14.0/node-v16.14.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v16.14.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.14.0/SHASUMS256.txt
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/opt/ztncui/src/node_modules/argon2/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/root/.cache/node-gyp/16.14.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/16.14.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.14.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/ztncui/src/node_modules/argon2',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! make: printf: Operation not permitted
npm ERR! make: *** [libargon2.target.mk:123: Release/obj.target/libargon2/argon2/src/opt.o] Error 127
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make
failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 4.19.0-16-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /opt/ztncui/src/node_modules/argon2
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-02-21T03_04_50_837Z-debug.log
我需要组网的设备太多,而且都是固定ip,如果以后迁移或是重装,那可太痛苦了。
或者能否告知备份哪个配置文件?
When I deploy the controller, I get an npm error. But the container starts normally, and the client can connect to the controller. But in practice I can't access other devices and can't ping。thx
在部署时候,出现一个npm错误。但是容器正常启动的,客户端也能连接上控制器。
但是在实际操作中我无法访问任何设备。ping 出现Destination Host Unreachable
下载服务器 /opt/zerotier-planet 下的planet文件并 将planet文件覆盖粘贴到C:\ProgramData\ZeroTier\One中后通过services.msc重启zerotier-one服务后powershell输入zerotier-cli listpeers并没有对应自己服务器ip地址的planet,还是只有官方的
PS C:\Users\35087> zerotier-cli listpeers
200 listpeers
200 listpeers 62f865ae71 50.7.252.138/9993;11154;1338 -216 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;1122;1496 -372 - PLANET
200 listpeers 98b8b6091e - -1 - LEAF
200 listpeers b0273d23e3 - -1 - LEAF
200 listpeers cafe04eba9 84.17.53.155/9993;1052;1052 -522 - PLANET
200 listpeers cafe7b4cdf - -1 - PLANET
200 listpeers f7a68b8ff2 45.32.95.235/62913;152;426 736 1.6.6 LEAF
init.sh换源是20.04的,dockerfile里面拉取的镜像是latest(22.04)导致安装npm等失败,建议修改为FROM ubuntu:20.04
您好,我安装成功后,可以打开control 界面,但/tmp目录下没有planet 文件,这个有别的地方可以下载么?
服务器已开启所有端口
服务器 docker 已运行
>docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9a5ddcaee3de zerotier-planet "/bin/sh -c '/bin/sh…" 38 minutes ago Up 38 minutes 0.0.0.0:3443->3443/tcp, :::3443->3443/tcp, 0.0.0.0:9994->9994/tcp, :::9994->9994/tcp, 0.0.0.0:9994->9994/udp, :::9994->9994/udp zerotier-planet
C:\ProgramData\ZeroTier\One
并重启服务>zerotier-cli.bat join 03c420ea3831c507
0 join connection failed
zerotier-cli.bat peers
显示如下>zerotier-cli.bat peers
Error connecting to the ZeroTier service: timed out
Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.
猜想是不是 planet 不生效? 为什么显示 127.0.0.1:9993 ? 而不是服务器的 9993(其实服务器我设置的端口是 9994)?
国内云服务器eth0的inet地址为内网,例如:10.0.0.14,此时按照教程安装完成后子节点可以加入network,gui页面也显示在线,但子节点的无法接收到数据(只有发送)
主节点的9993端口监听以下地址:
localhost:9993
172.17.0.1:9993
10.0.0.14:9993
叶节点接收不到数据。
我这里服务搭建好以后,联通和移动的机器都能联上,电信的联不上。估计是9993端口被电信屏蔽了。有没有什么办法可以把9993端口改成其它的吗?
启动服务
Unable to find image 'zerotier-planet:latest' locally
docker: Error response from daemon: pull access denied for zerotier-planet, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
Error: No such container:path: zerotier-planet:/app/bin/planet
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.