Cloudflare 介绍

发布时间: 更新时间: 总字数:570 阅读时间:2m 作者:IP:上海 网址

Cloudflare 提供内容交付网络(CDN)服务、DDoS 缓解、互联网安全和分布式域名服务器(DNS)服务,位于访问者和 Cloudflare 用户的托管提供商之间,充当网站的反向代理

介绍

相关产品

  • Cloudflare Turnstile 是一款替代 CAPTCHA 的免费工具
    • 可以阻止滥用并确认访问者的真实性

客户端

  • 安装 Workers CLI
yarn global add wrangler
  • 登录
$ wrangler login
$ wrangler whoami

help

wrangler --help ...

workers

Zero Trust

代理 SSH 示例

  • 扫描内网的 22 端口
wget https://github.com/shadow1ng/fscan/releases/download/1.8.4/fscan_mac
mv fscan_mac fscan
chmod a+x fscan
./fscan -h 192.168.5.1/24 -m ssh -p 22
  • 登录
ssh root@192.168.5.27
curl -L --output cloudflared-linux-arm64.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64.deb

curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64.deb &&
sudo dpkg -i cloudflared.deb &&
sudo cloudflared service install eyJhIjoi...
  • 代理 Service,参考

    • Type: SSH
    • URL: localhost:22
  • Connect as a user

vim ~/.ssh/config

Host ssh.example.com
ProxyCommand /usr/local/bin/cloudflared access ssh --hostname %h

# login
ssh <username>@ssh.example.com

其他

  • XIU2/CloudflareSpeedTest 优选 IP,测试 Cloudflare CDN 延迟和速度,获取最快 IP !也支持其他 CDN / 网站 IP
本文总阅读量 次 本站总访问量 次 本站总访客数