Running multiple tunnels

I’m using unraid cloudflared docker container to start a tunnel.

What I would like to do is to start two tunnels without running a second instance of a cloudflared docker container. I looked at the ‘cloudlfared tunnel run’ which only takes one argument (name | id). Under the cloudflared docker template → Post Arguments, I have specified "tunnel run " which starts one tunnel. How do I configure such that I can start two tunnels.

Cheers & TGIF!!

Hello,

A single Tunnel can proxy many applications. See https://blog.cloudflare.com/many-services-one-cloudflared/ and the config reference: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/configuration-file/ingress

3 Likes

It’s also worth noting that a ‘single’ tunnel will actually result in 4 connections (a connection to two different metals into two different data centers).

4 Likes

Thanks so much for providing excellent resource link. I’ll check it out and report back if I run into any issues. Thank again! Much appreciated!

Noted! I did wonder about the underlying infrastructure behind 4 connections per tunnel. Thank you.