Hi pat,
My bad, and apologies. I see that the “Discuss”-category has a different (= no) template than the “Support”-category.
The template in support asks some specifics about your installation, so that
- people can help you with your situation
- future readers can see whether it applies to their situation
A topic asking support on how to set up access restrictions is usually found in the support category, I did not pay attention. I hope I did not give a very blunt impression on your first visit!
Depending on your situation (is your Yunohost at home or in a datacenter, running widely accessible or behind an external firewall) you would configure the external firewall or extend the built in firewall.
There was an earlier thread about dropping connections not from a specific IP, with @TheNomad11 having suggestions on how to configure that
I have not used Cloudflare (from a ‘serving’ perspective). Out of interest, why would you only allow connections via Cloudflare?