multiple tunneling services
whenever i try to run the command cloudflare gives me to setup a second tunnel on my OS, it gives me this error:
how do i point a cloudflare tunnel to multiple origins?
3 Replies
Add another public hostname to the existing tunnel, you really shouldn't need to create a second entire tunnel for the same machine
thanks
Hi! I have the same error, but I unfortunately need to use 2 different tunnels. How I add a second UUID.json to my server? (2 different cloudflare accounts have to be able to add hostnames to the same server)
Thanks! I then started cloudflared2 as service and it's working like a charm!
Hi...I'm back on this topic. For the first time after my last message I restarted my server. Now the second tunnel is not working, but the config file is there. I get this error:
:~ $ sudo systemctl start /etc/systemd/system/cloudflared2.service
Failed to start etc-systemd-system-cloudflared2.service.mount: Unit etc-systemd-system-cloudflared2.service.mount not found.
The first tunnel is working normally and started by itself when booting
Thanks!
$ systemctl enable -now cloudflared2.service
Failed to parse lines 'ow'
What is 'ow'?
Ah
I changed with 1 dash
I made it work, but I had to make some changes. I'll add them here if someone needs it. I had to remove the '--now' and add 'sudo' and separately use the command 'sudo systemctl start cloudflared2.service'
@FloppyDisk thank you again for your help!
Yes, from the error message it seems so