How Can I permit only cloudflare IP?

I used these IPs list

to permit them on my server IP AWS security group rule, But I cannot browse my website min-soc.com now can anyone help my how can I fix that?

I deny all http and https to browse and permit the Cloudflare IPs as mentioed.

A post was merged into an existing topic: Prevent direct access to IP