cloudflare / cloudflared

Cloudflare Tunnel client (formerly Argo Tunnel)
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide
Apache License 2.0
9.35k stars 835 forks source link

🐛Unable to add multiple tunnels #1361

Open Leo-is-me opened 8 hours ago

Leo-is-me commented 8 hours ago

I'm trying to add multiple tunnels of cloudflare to the server, I'm using the command specified by cloudflare one, but this doesn't seem to be allowed

Steps to reproduce the behavior:

  1. Configure the preparation environment according to the requirements
  2. Add a tunnel using cloudflared install
  3. Repeat step 2 4.See the error

Expected behavior Successful operation of multiple tunnels

Environment and versions

Logs and errors I'll add it later.

mlanies commented 7 hours ago

I'm trying to add multiple tunnels of cloudflare to the server, I'm using the command specified by cloudflare one, but this doesn't seem to be allowed

Steps to reproduce the behavior:

  1. Configure the preparation environment according to the requirements
  2. Add a tunnel using cloudflared install
  3. Repeat step 2 4.See the error

Expected behavior Successful operation of multiple tunnels

Environment and versions

  • OS: Ubuntu 20.04
  • Architecture: amd64
  • Version:

Logs and errors I'll add it later.

In such a situation, you can use the bastion mode, which allows you to proxy the internal IP addresses of your network and any of their ports without any limitations. This means that instead of setting up multiple individual tunnels, you can configure a single bastion server that will provide access to your entire internal network and its ports (keep in mind that on standard plans, you can only proxy TCP traffic).

Try using the bastion mode - it can significantly simplify your task.

https://www.cloudflare.com/ru-ru/press-releases/2024/cloudflare-acquires-bastionzero-to-add-zero-trust-infrastructure-access/

https://community.cloudflare.com/t/cloudflare-access-bastion-mode/222868/5