1.远控
curl -fsSL https://tailscale.com/install.sh | sh
2.github访问失败
sudo sh -c 'sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts'
3.重启cftunnel
sudo systemctl restart cloudflared
4.tunnel配置
tunnel: 隧道
credentials-file: /root/.cloudflared/隧道.json
protocol: h2mux
ingress:
- hostname: 域名
service: http://ip
- service: http_status:404
5.其他
1panel安装
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
cftunnel安装
curl -L 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64' -o /usr/bin/cloudflared
chmod +x /usr/bin/cloudflared