Block from azure server every on except cloudflare ip


hello , i got a server hosted on azure cloud, the dns is handle by cloudflare and it is proxified.
so with the dns name it is secure between the 2 infra, but my ip adress is open to every one , i did put a firewall rules that only accept connexion between this ip range and my server but , it does work .
i m doing it well ?

Hi there,

It’s hard to know for sure if you’ve “done it well”

But from what you’ve said, it sounds like you’ve:

  • Firewalled off your origin to only allow Cloudflare IP’s to connect to your webserver
  • You are orange clouded

Those are two great steps to keep you protected.

One thing, Ensure you have no DNS records that “leak” your origin IP address (gray clouded)

More hints and tips on securing yourself here:


1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.