How to make nginx ip access rules work properly with Cloudflare

What is the name of the domain?

camera.habon.dk

What is the issue you’re encountering

It takes my entire server down since attack on port 80 overload the server

What steps have you taken to resolve the issue?

Searched so many guides on google, and when i allowlist as the guide says, it just blocks every ip.
The problem is that someone now the backend ip, so they attack directly the server, and not trough Cloudflare.

Was the site working with SSL prior to adding it to Cloudflare?

Yes

What is the current SSL/TLS setting?

Flexible

to avoid any attack bypassing cloudflare and hitting your origin server you’d need to add the following IPs – IP Ranges — to the origin server firewall to only allow traffic coming from these IPs this will automatically block everything else and fix the cloudflare bypass issue.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.