zerotier安装和卸载
发表于|网络配置
|总字数:39|阅读时长:1分钟
安装:
1 | curl -s https://install.zerotier.com sudo bash |
或
1 | curl -s https://install.zerotier.com bash |
卸载:
1 | apt remove zerotier* |
加入节点:
1 | zerotier-cli join xxx |
加入MOON:
1 | zerotier-cli orbit xxx xxx |
文章作者: lcsoul
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 畅想生活!
相关推荐
2020-11-12
zerotier搭建moon
安装1curl -s https://install.zerotier.com sudo bash 进入zerotier目录123cd /var/lib/zerotier-onezerotier-idtool initmoon identity.public >>moon.json 操作后会生产moon.json文件、修改moon.json(记住配置中的id) “stableEndpoints”: [] 修改这个配置服务器没有IPv6修改成: “stableEndpoints”: [ “1.2.3.4/9993” ]有IPv6:”stableEndpoints”: [ “1.2.3.4/9993”,”2001:abcd:abcd::1/9993” ]上面的IP请换成服务器的公网IP 完成上面步骤后生成验签1zerotier-idtool genmoon moon.json 会生成类似000000xxxxxxxxxx.moon的文件 在ZeroTier 目录中建立子文件夹 moons.d 并将上面生成的000000xxxxxxxxx...
2020-11-03
内网穿透之frp
github项目地址:https://github.com/fatedier/frp 服务端:下载(根据平台、CPU架构选择对应版本)https://github.com/fatedier/frp/releases/download/v0.34.1/frp\_0.34.1\_linux\_amd64.tar.gz 解压1tar -zxvf frp\_0.34.1\_linux\_amd64.tar.gz 进目录1cd frp\_0.34.1\_linux\_amd64/ 主机作为服务端,可删掉客户端文件注意:frpc 1rm -f frpc rm -f frpc.ini rm -f frpc\_full.ini 配置frpvim frps.ini # 修改默认端口(如遇到默认端口无法连接的问题,就改成其他端口,这里我改成7788) # 注意主机防火墙 也要打开对应端口 [common] bind_port = 7788 运行1./frps -c ./frps.ini 客户端:下载(根据平台、CPU架构选择对应版本)https://github.com/fatedier/...
2025-08-26
VPS常用命令及脚本
自动同步校正系统时间12apt install systemd-timesyncdtimedatectl set-ntp true 设置时区为北京时间1timedatectl set-timezone Asia/Shanghai BBR调参脚本1wget http://sh.xdmb.xyz/tcp.sh && bash tcp.sh 一个精简的 Linux TCP/IP & BBR 参数智能优化脚本1bash <(curl -sL https://raw.githubusercontent.com/yahuisme/network-optimization/main/script.sh) 详情访问: https://github.com/yahuisme/network-optimization 科技lion脚本工具箱1bash <(curl -sL kejilion.sh) 详情访问https://kejilion.sh 一键DD/重装脚本 (One-click reinstall OS on VPS...
2025-08-13
Debian11 服务器禁用IPv6
1、编辑/etc/sysctl.conf文件 1sudo nano /etc/sysctl.conf 在文件末尾添加: 12net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1 保存文件后执行: 1sudo sysctl -p 或 1sysctl -p
2025-09-01
服务器没有IPv6 却解析IPv6地址 导致无法访问网站
编辑 1nano /etc/network/interfaces 粘贴 12iface eth0 inet6 static disable-ipv6 yes 重启后生效 临时: 12sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 永久生效 编辑/etc/sysctl.conf 添加: 12net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1
公告
2025-12-31 Wordpress迁移到Hexo
