Cloudflared fowarding TCP?

Hi
I’m using Cloudflared addon. Forwarding HTTP and HTTPS is no problem, but how about TCP. What I understand that it’s supported by Cloudflare Zero Trust. With the setup below it’s not :frowning:

My Cloudflared settings:

- hostname: cloud.example.com
  service: http://192.168.107.10:9001
- hostname: minecraft.example.com
  service: tcp://192.168.107.10:25565
- hostname: www.example.com
  service: https://192.168.107.20:8443

Has no one used Cloudflared with TCP?

Something to remember with cloudflared tunnels for non-http(s) connections is that the client machine needs cloudflared as well as the server.

So read this guide Arbitrary TCP · Cloudflare Zero Trust docs
And in your case after

cloudflared access tcp --hostname minecraft.example.com --url localhost:25565

on the client machine you’ll be able to access your tcp port on localhost:25565 hopefully. I know, that sucks, but that’s how tcp acces is done on cloudflared