Help with MySQL Access via Cloudflare Tunnel
I’m trying to get remote access to a MySQL database (port 3306) through a Cloudflare Tunnel.
I’m running the following command in the terminal:
cloudflared tunnel --url tcp://localhost:3306
However, I get an error in the terminal:
malformed HTTP response "J\x00\x00\x00"
I understand that MySQL is not an HTTP service, but is there a way to proxy TCP connections through Cloudflare Tunnel, or how can I correctly forward MySQL traffic (for example, using cloudflared access or other mechanisms)?
The goal is to connect to MySQL (localhost:3306) from a remote machine without opening a port on the firewall or router.
Is TCP proxying for MySQL supported with Cloudflare Tunnel? I couldn’t find a clear instruction for this.
I’m running the following command in the terminal:
cloudflared tunnel --url tcp://localhost:3306
However, I get an error in the terminal:
malformed HTTP response "J\x00\x00\x00"
I understand that MySQL is not an HTTP service, but is there a way to proxy TCP connections through Cloudflare Tunnel, or how can I correctly forward MySQL traffic (for example, using cloudflared access or other mechanisms)?
The goal is to connect to MySQL (localhost:3306) from a remote machine without opening a port on the firewall or router.
Is TCP proxying for MySQL supported with Cloudflare Tunnel? I couldn’t find a clear instruction for this.

