Blocking external services from scanning your rust server

Hi guys, maybe someone knows how to block all external services like battlemetrics from tracking your rust server?

You could block query requests to your server from any IPs that are hosting IPs, IMHO it should be enough for BM  etc

Thank you