Mailcow CF Gateway

Hello people!
I have a question. Recently I started hosting a mailcow server interface and I’m seeing pretty good amount of attempts to brute force access to into the admin side of it. When I attempted to put it behind CF access it puts the whole thing including the mail client behind it instead of the admin side. So, If I’m forced to put both behind CF access is there away to automatically access resources if I have gateway enabled instead of getting the code to my email and if so, Can someone walk me through it? I started using gateway and somewhat figured out filtering sites. Sorry, If this post is hard to read it’s pretty early in cali and I had just woken up.