Error - Failed to open the requested file

I need some help. Ever since I installed (debian 10 apache2) geoip protection and banned almost all geoip that was possible and allowed only a few countries to access my server, since then there have been a lot of errors due to the fact that nextcloud’s services obviously do not reach the server. Can someone tell me which IP (range) addresses I need to allow for onlyoffice and other services? Even curl doesn’t reach the web from the outside. The problem is that collaboraoffice, nexcloud and curl.haxx.se use ipv6. I will check to see if it is possible to enable an IPv6 address. For apache2 example - Allow from 2a04:4e42::561. Does anyone know of another solution?

LOG:

Error
Failed to open the requested file.

Error when trying to connect (Client error: GET https://####.com/healthcheck resulted in a 403 Forbidden response:
The truth is out there… :wink:
)

Nextcloud Office:

Could not establish connection to the Collabora Online server.

Failed to connect to the remote server: Client error: GET https://####.com/apps/richdocumentscode/proxy.php?req=/hosting/discovery resulted in a 403 Forbidden response: The truth is out there… :wink:

Error richdocuments
ClientException
Client error: GET https://#####.com/apps/richdocumentscode/proxy.php?req=/hosting/discovery resulted in a 403 Forbidden response: The truth is out there… :wink:

Regards, S.

These all appear to be connections from your server back to itself. So whatever blocking you’re doing is creating local connectivity problems.