I’m trying to add some application tunnels together with a network tunnel, and as far as I know, I need to run 2 separate cloudflared instances for that, right?
Question I have is now: I’ve got 2 separate config files with corresponding other needed files. But I don’t have a clue on how to install both as a service next to eachother. 1 service is already up and running, but as soon as I want to install a 2nd service, I get the following error:
# cloudflared --config /root/.cloudflared/instance2/config.yml service install
Possible conflicting configuration in /root/.cloudflared/instance2/config.yml and /etc/cloudflared/config.yml. Either remove /etc/cloudflared/config.yml or run `cloudflared --config /etc/cloudflared/config.yml service install`
Any idea on how to install this 2nd service next to the 1st one?
But there is no way to actually specify the CIDR ranges in the config file, right? They have to be specified via the command line, on any machine that has cloudflared installed?