I have recently blocked all countries except USA and Australia to access my web server as I was getting frequent attacks from many countries. My business is totally based in Australia and I don't expect customers from other countries.
But I got a weird issue, when I try to verify the site from Google Search Console it does not work. I thought the issue is related with country blocking and then I searched for google.com's server location and I found that it's located in Luxembourg.
Then I asked server team to unblock access for that country as well.
But I am still getting same error:
Verification failed for mydomain.com using the HTML file method (less than a minute ago). The connection to your server timed out.
I also get similar error in Google PageSpeed Tools.
Timeout while fetching the main resource. Ensure that the page loads in a browser and try again.
Do you have any idea what could be the problem?
I don't want to allow access from all countries, that just creates additional problem.