securing a mongo node with cloudflare

hello,

i'm trying to put mongo over my public ip but i don't want to because i only have one ip so if i just put my ip in for a dns record, it'll just expose my unifi control panel login which is a terrible idea

i tried using a zero-trust access app but it doesn't seem to be working because its probably not meant for TCP over 27017. is there anything else i could do without directly exposing my ip (and unifi with it)?
image.png
Was this page helpful?