From 59475e1c0a82acdcf4c65d8e1816220c478646ef Mon Sep 17 00:00:00 2001 From: Kate Tungusova Date: Wed, 26 Mar 2025 16:58:09 +0100 Subject: [PATCH 1/2] [CF1] locally managed tunnel update instructions --- .../downloads/update-cloudflared.mdx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx b/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx index 9ea0e712994ec95..5a59c39b8335fd9 100644 --- a/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx @@ -9,9 +9,9 @@ import { TabItem, Tabs, Render } from "~/components"; Updates will cause `cloudflared` to restart which will impact traffic currently being served. You can perform zero-downtime upgrades by using Cloudflare's [Load Balancer product](/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/#update-with-cloudflare-load-balancer) or by using [multiple `cloudflared` instances](/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/#update-with-multiple-cloudflared-instances). -## Remotely-managed tunnels +## Remotely and locally-managed tunnels -To update `cloudflared` for a tunnel [created through the dashboard](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/): +To update `cloudflared` for a [remotely-managed tunnel](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/) created through the dashboard or a [locally-managed tunnel](/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/): @@ -92,12 +92,13 @@ sudo systemctl restart cloudflared.service -1. In Zero Trust, go to **Networks** > **Tunnels**. -2. Select your tunnel and select **Configure**. -3. Select **Docker** and copy the installation command shown in the dashboard. -4. Paste this command into a terminal window. +Run the following command: + +```sh +docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token eyJhIjoiYTY3ZTE0ZGFhNWY4ZGNlZWI5MWZlNTQ0OWJhNDk2ZWIiLCJ0IjoiOGU2MTY3MWEtYjQ4ZS00OWI2LWI4OGUtZDNhOWU1NzQzYWIwIiwicyI6Ik5qUTFOR013TnpZdE5qVmxNUzAwWXprNExUZzJaVGd0TXpGalpERTBOelUxWkRBMSJ9 +``` -This creates a new container from the latest `cloudflared` image. You can now delete the old container. +This command creates a new container from the latest `cloudflared` image. You can now delete the old container. From 413eaaa28669c92a0ae08e471dee75ae505685f1 Mon Sep 17 00:00:00 2001 From: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com> Date: Wed, 26 Mar 2025 19:51:13 +0100 Subject: [PATCH 2/2] Update src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx --- .../connect-networks/downloads/update-cloudflared.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx b/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx index 5a59c39b8335fd9..370838ff4067df5 100644 --- a/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-networks/downloads/update-cloudflared.mdx @@ -95,7 +95,7 @@ sudo systemctl restart cloudflared.service Run the following command: ```sh -docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token eyJhIjoiYTY3ZTE0ZGFhNWY4ZGNlZWI5MWZlNTQ0OWJhNDk2ZWIiLCJ0IjoiOGU2MTY3MWEtYjQ4ZS00OWI2LWI4OGUtZDNhOWU1NzQzYWIwIiwicyI6Ik5qUTFOR013TnpZdE5qVmxNUzAwWXprNExUZzJaVGd0TXpGalpERTBOelUxWkRBMSJ9 +docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token ``` This command creates a new container from the latest `cloudflared` image. You can now delete the old container.