[英]How can I configure AWS ELB to block certain IP addresses, e.g., to block scrapers?
In my web logs, I see a very large number of requests originating from the same IP address. 在我的Web日志中,我看到大量来自同一IP地址的请求。 A closer look at the type of requests leads to the conclusion that it is a scraper. 仔细查看请求的类型可以得出结论,它是一个刮板。 How do I block the IP address of this scraper in AWS ELB? 如何在AWS ELB中阻止此刮板的IP地址?
Use the AWS console as follows: 如下使用AWS控制台:
1. Select AWS Service "VPC" See screenshot 1.选择AWS服务“ VPC” 查看屏幕截图
2. Select in the left menu "Network ACLs" 2.在左侧菜单中选择“网络ACL”
3. Select the VPC in which your ELB is running, Click "Inbound Rules", Click "Edit", and supply rules to deny specific IP addresses. 3.选择运行ELB的VPC,单击“入站规则”,单击“编辑”,然后提供规则以拒绝特定的IP地址。 Give them a lower "Rule#" than the "Allow 0.0.0.0/0 rule, so that they are executed first. See screenshot 给他们一个比“允许0.0.0.0/0规则”更低的“规则#”,以便首先执行它们。 请参见屏幕截图
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.