If you have a reverse proxy, usually your mailcow is then running on a private IP anyways, or you have changed the bindings to 127.0.0.1 as per reverse proxy docs (if its running on the same host).
Why the need to block it?
Without properly describing your setup with reverse proxy it will be difficult to understand.