:goudai: 简介:
建立中转服务器 moon Zerotier 的官方服务器在国外,国内客户端使用时延迟较大,网络高峰期时甚至各个客户端节点之间访问不了(或者丢包)。此时 moon 中转服务器就显得非常重要,它的主要功能是通过自定义的服务器作为跳板加速内网机器之间的互相访问。
:huaji16: 一:部署
先进入 官网:https://my.zerotier.com/,然后创建网络
访问权限可以选择PRIVATE(私有的 )或PUBLIC(公共的)
私有:加入节点的成员需要通过手动授权才可加入网络
公共:任何成员都可以直接加入网络
打开ZeroTier软件,Join Network,输入网络ID即可加入网络,加入后会在后台 显示
加入后,可以尝试Ping一下网络下的其他成员地址
:huaji12: 二:服务器端
进入服务器后,输入命令进行安装Zerotier:
curl -s https://install.zerotier.com/ | sudo bash
#服务器加入ZeroTier-One命令:
zerotier-cli join <network id>
#安装后zerotier默认目录是/var/lib/zerotier-one,我们cd进入并生成moon配置文件
cd /var/lib/zerotier-one
zerotier-idtool initmoon identity.public > moon.json
修改配置文件moon.json,主要是添加公网IP,修改内容如下:
修改”stableEndpoints”为 vps 的公网的 IP,例如”stableEndpoints”: [ “***.***.***.***/9993” ] 9993是默认端口
生成签名文件
- 执行命令:zerotier-idtool genmoon moon.json
- 执行之后会生产一个000000xxxx.moon的文件,将这个文件用Winscp等工具从vps上下载下来。
- 创建moons.d文件夹,移动0000xxxx.moon文件至该文件夹
然后重启Zerotier服务即可:
systemctl restart zerotier-one
:jizhang: 三:客户端
打开服务,找到ZeroTier One服务右键属性,打开此电脑复制对应的路径
打开该文件夹, 并且在其下建立moons.d文件夹,然后将moon服务器下生成的000xxxx.moon文件,通过scp或sftp等方式下载并移动到此文件夹内..再重启该服务即可(计算机右键管理-找到服务双击打开-找到zerotier one右键重新启动即可)
最后打开命令提示符,运行命令:zerotier-cli listpeers 如果有出现在服务器端配置的公网IP则代表成功啦 :aru:
文章有(72)条网友点评
best over the counter viagra viagra pills price of viagra
100mg viagra viagra without a doctor prescription usa how much is viagra
erythromycin ophthalmic ointment usp 0.5 http://erythromycinn.com/#
buy generic 100mg viagra online viagra when will viagra be generic
stromectol for humans for sale stromectol walmart stromectol for sale
ivermectin 12 mg price stromectol 12 mg tablets stromectol 12 mg tablets
ivermectin for swine stromectol for sale stromectol 12 mg tablets
order provigil 100mg sale modafinil brand
modafinil drug modafinil online modafinil 100mg for sale
buy clomid 50mg online buy clomid buy clomid
provigil 100mg ca provigil tablet
sildenafil 100 mg sildenafil citrate 100mg for sale sildenafil 20 mg
https://erythromycin1m.com/# erythromycin online
order generic provigil 100mg order provigil 200mg online
viagra sildenafil viagra tablets for men
modafinil cost buy provigil 200mg online cheap
modafinil 100mg ca
stromectol without a doctor prescription stromectol pills for humans stromectol
brand provigil 200mg
sildenafil viagra viagra tablets for men
modafinil cheap provigil online
buy tadalafil online tadalafil without a doctor’s prescription tadalafil best price 20 mg
order provigil pill
modafinil online order order provigil for sale purchase modafinil online
brand modafinil order modafinil 200mg for sale
buy provigil 200mg without prescription modafinil 200mg usa modafinil 100mg for sale
ed pill generic ed drugs ed drugs
modafinil 100mg oral buy provigil pill
best ed pills online ed pill drugs for ed
ed pills cheap otc ed pills top erection pills
erection pills that work new ed pills what are ed drugs
best male enhancement pills buy ed pills online best ed pills online
best otc ed pills ed pills new ed drugs
ed medications online online ed pills top erection pills
stromectol 3 mg tablets price stromectol for humans for sale stromectol 3 mg tablets price
india pharmacies online pharmacy from india best online international pharmacies india
india pharmacy mail order legitimate online pharmacies india generic drugs india order online
cheap generic drugs from india online pharmacy india buy prescription online from india
overseas pharmacies online generic drugs without doctor’s prescription buy prescriptions from india pharmacy
india pharmacies online best online international pharmacies india buy prescription online from india
legitimate online pharmacies india buy prescription online from india trusted india online pharmacies
buy prescription online from india overseas pharmacies online cheap generic drugs from india
best online international pharmacies india trusted india online pharmacies generic drugs india order online
best ed pills non prescription ed drugs compared ed drugs list
tractor supply ivermectin for dogs injectable ivermectin ivermectin 10 mg
best non prescription ed pills canadian online drugs prescription drugs online without doctor
ivermectin head lice how to make ivermectin ivermectin cream reviews
ivermectin pills for humans for sale pierre khoury ivermectin ivermectin pills
ivermectin wormers for horses can i take ivermectin every day pyrantel vs ivermectin
legal to buy prescription drugs without prescription canadian drugs ed meds online without doctor prescription
can ivermectin paste be used topically stromectol dosage for humans how do i get ivermectin
ed drugs top erection pills cheap erectile dysfunction pills
new ed drugs buying ed pills online top erection pills
mexican pharmacy without prescription pet antibiotics without vet prescription dog antibiotics without vet prescription
carprofen without vet prescription online canadian pharmacy prescription drugs online without doctor
buy prescription drugs online legally dog antibiotics without vet prescription buy prescription drugs without doctor
cheap erectile dysfunction pills erectile dysfunction drug non prescription ed drugs
online ed medications best ed pills medications list
ivermectin apple flavored horse paste ivermectin wormer tractor supply ivermectin
ivermectin rct ivermectin cream 1 ivermectin for heartworms
prednisone online buy prednisone online prednisone 21 pack
prednisone price prednisone price canada prednisone price canada
buy prescription drugs online legally how can i order prescription drugs without a doctor prescription drugs without doctor approval
albendazole vs ivermectin ivermectin and alcohol durvet ivermectin pour on
how to cure ed naturally sildenafil without a doctor’s prescription ed cures that work
cialis without a doctor’s prescription ed meds online without prescription or membership how to get prescription drugs without doctor
prescription drugs without prior prescription buy prescription drugs online without viagra without a doctor prescription
cialis cost nz purchasing cialis in the usa how long does it take for cialis to take effect
best pill for ed
erectile dysfunction treatments
buy ivermectin tablets for humans ivermectin withdrawal time swine ivermectin for eczema
ivermectin dewormer ivermectin scabies treatment ivermectin pour on for fleas