zerotier自建moon节点
约 116 字 预计阅读 1 分钟
次阅读
1
2
3
4
5
6
7
8
9
10
11
|
curl -s https://install.zerotier.com/ | sudo bash
sudozerotier-cli join $planetid
cd /var/lib/zerotier-one/
sudo zerotier-idtool initmoon identity.public > moon.json
nano moon.json # "stableEndpoints": [ "111.111.111.111/9993" ] # 111.111.111.111修改为自己的公网ip
sudo zerotier-idtool genmoon moon.json
mkdir moons.d
mv 000000xxxxxxxxxxxx.moon moons.d/
systemctl restart zerotier-one # 重启zerotier
# 另一台openwrt
zerotier-cli orbit $orbitid $orbitid
|