Problem with Cloudflare Tunnel (TCP) to MariaDB on Synology NAS

Problem:


  • The cloudflared container connects to Cloudflare.
  • However, the connection to the database fails.
  • The container logs repeatedly show the error: ERR Server Tunnel Error Application error 0x0 (remote).
  • The logs show connection attempts using quic or http2, but we need to use tcp.
  • No logs are displayed in the Cloudflare Dashboard.
---

What I've already tried:


  1. I've double-checked the Cloudflare settings multiple times.
  2. I have completely disabled all firewalls for testing.
  3. I've restarted and re-created the cloudflared instance.
  4. I have deleted the Zero Trust App.
  5. I have created a new route in Cloudflare.
  6. I have tried different Docker commands.
  7. I have verified the problem with Telnet.
---

I'm not sure where the issue lies. Could someone please help me troubleshoot this problem? Isn't it possible to connect NAS<>Cloudflare with DSLite? I have also tested with phone-4G connection and it failed -- even when firewall for NAS & OS was deactivated. Is a NAS <> Cloudflare Tunnel connection a private network or connect an application?

Thanks in advance for your help!

Page [2/2]
Was this page helpful?