I have a cloud hosted VPS that runs a service. This VPS has an interface with a public IP.
Some equipment I own communicates with this service that is available on this VPS through this public IP.
The IP is associated with a specific DNS created in Cloudflare, like MyDomainExample.xyz.
What I intend is to hide this IP through the “proxy” function. However, when I activate this functionality, the devices stop communicating. this is because the name no longer resolves to the machine’s IP and resolves to Cloudflare’s proxy IPs. I’ve tried to create a proxied CNAME like test.MyDomainExample.xyz expecting to relay the connections into the server but with no success.
Is there any way around this problem? As I said, I’m a novice in this field.