debian 10配置zerotier内网穿透
Published on Aug. 22, 2023, 12:11 p.m.
如果没法安装考虑直接下载
wget http://download.zerotier.com/debian/buster/pool/main/z/zerotier-one/zerotier-one_1.6.2_amd64.deb
apt install -f ./zerotier-one_1.6.2_amd64.deb
apt install nginx
systemctl enable nginx
systemctl start nginx
# 安装zerotier
#
curl -s https://install.zerotier.com | bash
zerotier-cli join d5e5fb761542
zerotier-cli info
systemctl enable zerotier-one
systemctl start zerotier-one
# 防火墙配置
# 防火墙参考 https://blog.51cto.com/u_15127693/4535995
apt-get install ufw
ufw status
ufw enable
ufw status
ufw allow 22/tcp
ufw allow 8096
ufw allow 80
ufw allow 9091
ufw allow 8006