I have created a Cloudfront distribution and associated a Web ACL rule with it that blocks all IP addresses that doesn't match my IP address condition. But it is not blocking any IP address. What am I doing wrong?.
Asked
Active
Viewed 884 times
3
-
2Could you please provide details about the rule? – sudo Dec 20 '17 at 12:22
-
I have created a Web ACL rule with one rule that contains one condition. The condition has 2 IP addresses. The rule says if a request matches all the rule, allow the IP addresses that is in the condition and block all other IP addresses. – Pooja Jain Dec 20 '17 at 16:45
-
One more thing I am working with WAF and Cloudfront(no ALB or CloudFormation). And I have used my webserver domain name in Origin Path in CLoudfront Distribution(no S3 bucket) – Pooja Jain Dec 20 '17 at 17:07
-
Capture the response headers. Do you see `X-Cache:` and `Via:`, both mentioning CloudFront? – Michael - sqlbot Dec 21 '17 at 12:16
-
I've got the same issue and it's driving me nuts. – Lu_Bu Oct 21 '18 at 20:25