Can a single Cloudflare Zero Trust host server run multiple tunnels?
What are the steps to reproduce the issue?
I use Cloudflare Zero Trust to access multiple VPCs that I manage. As a result, I have more than one Cloudflare account. To avoid switching between accounts on my WARP client, I am considering the possibility of adding a second tunnel from another account within a single host server.
For example, in this VPC, there is a host server running cloudflared with a tunnel that serves clients from their account for their corporate access. I want to add a second tunnel, but this one would be from my account.
So , I created a new tunnel on another account and try to configure the neuw tunnel in the host server.
The command was:
sudo cloudflared service install [token]
But give me the error:
ERR error generating service template error=“cloudflared service is already installed at /etc/systemd/system/cloudflared.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to run more than one cloudflared service in the same machine; otherwise if you are really sure, you can do cloudflared service uninstall to clean up the existing service and then try again this command”
cloudflared service is already installed at /etc/systemd/system/cloudflared.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to run more than one cloudflared service in the same machine; otherwise if you are really sure, you can do cloudflared service uninstall to clean up the existing service and then try again this command
You should copy the file at /etc/systemd/system/cloudflared.service to something like /etc/systemd/system/cloudflared2.service and replace the token in the new file then