5️⃣CloudFlare 屏蔽 Netcraft,避免删号
00 分钟
2024-7-3
2024-7-3
type
status
date
slug
summary
tags
category
icon
password
🤫
有部分同学最近被 cf(CloudFlare)风控了,还有的导致被删号,unfortunate
可以通过下面这种方式规避问题
关于封号的事,cloudflare 自己是这样解释的

📝 在 Cloudflare 中,创建并部署一个阻止 ASN (Netcraft) 的防火墙规则

 
具体步骤
Cloudflare 中使用 Web Application Firewall (WAF) 拦截特定 ASN(Autonomous System Number,自治系统编号)的流量,可以通过以下步骤实现:
  1. 登录到 Cloudflare
      • 打开 Cloudflare 网站并登录到你的账号。
  1. 选择站点
      • 在仪表盘中选择你要配置的站点。
  1. 前往防火墙页面
      • 在左侧菜单中点击“Security” (安全),然后选择“WAF” (Web Application Firewall)。
  1. 创建防火墙规则
      • 点击“Create a Firewall Rule” (创建防火墙规则)。
  1. 配置防火墙规则
      • 给你的规则取一个名字,例如“Block Netcraft ASN”。
      • 在“Field” (字段) 下拉菜单中选择“ASN”。
      • 在“Operator” (操作符) 下拉菜单中选择“equals”。
      • 在“Value” (值) 字段中输入 Netcraft 的 ASN,Netcraft 的 ASN 是AS21409
      • 在“Action” (动作) 下拉菜单中选择“Block” (阻止)。
  1. 保存并部署规则
      • 点击“Deploy/Save” (部署/保存) 以保存并启用规则。
 

  • Login to Cloudflare:
    • Open the Cloudflare website and log in to your account.
  • Select the Site:
    • In the dashboard, choose the site you want to configure.
  • Navigate to the Firewall Page:
    • Click on "Security" in the left menu, then select "WAF" (Web Application Firewall).
  • Create a Firewall Rule:
    • Click on "Create a Firewall Rule".
  • Configure the Firewall Rule:
    • Name your rule, e.g., "Block Netcraft ASN".
    • In the "Field" dropdown, select "ASN".
    • In the "Operator" dropdown, select "equals".
    • In the "Value" field, enter Netcraft's ASN: AS21409.
    • In the "Action" dropdown, select "Block".
  • Save and Deploy the Rule:
    • Click "Deploy/Save" to save and enable the rule.
操作流程图
 
  1. 登录到 Cloudflare,转到你需要处理的域名下
notion image
2.选择 Security—>WAF—>创建规则
notion image
notion image
  1. 创建完成并启用
notion image
关于 Netcraft 的一些相关信息
 
UA
ASN
IPs
上一篇
加密你的图床,防止被乱用
下一篇
在serv00上搭建DNS管理系统并绑定cloudflare——安装Swoole组件,启动容灾