Hosting public-pool via cloudflare (stratum+tcp)

Hi everyone! :v:t2:

I’m running public-pool on my Umbrel and want to make it accessible to external users (miners). I’m wondering if it’s possible to route the traffic through Cloudflare. However, I’m unsure if a simple tunnel would work for this, since the pool uses the Stratum+TCP protocol.

Has anyone had experience configuring Cloudflare in this context? Does it work reliably, or are there alternative approaches I should consider?

Thanks in advance for your help! :sunglasses:

1 Like

have you found a solution?

I’ve only looked into this topic briefly and haven’t found a definitive solution yet. :expressionless:

Cloudflare Tunnels seem to not work for Stratum+TCP, as they primarily support HTTP/HTTPS. An alternative would be using a VPS with HAProxy as a TCP proxy or FRP as a self-hosted TCP tunnel. Port forwarding directly on the router would be the simplest solution if your ISP allows it.

Does anyone from the community, perhaps @jofraprez, know more about this?

1 Like