update guia_cloudflared.md

This commit is contained in:
2026-11-27 20:17:16 +01:00
parent 9010b093e0
commit 1d37eeb028
+35 -1
View File
@@ -199,7 +199,41 @@ Estos comandos sirven para revisar que el túnel esté activo y reiniciarlo si f
---
## 11. Resumen rápido
## 11. Actualizar cloudflare tunnel
https://developers.cloudflare.com/tunnel/guides/update-cloudflared/
**If installed via apt:**
1. Update the cloudflared package:
```bash
sudo apt-get update && sudo apt-get install --only-upgrade cloudflared
```
1. Restart the service:
```sudo systemctl restart cloudflared.service```
**If installed via dpkg -i:**
Use the following commands if you installed cloudflared using the dpkg package manager.
You can check if cloudflared was installed by a package manager by running ls -la /usr/local/etc/cloudflared/ and looking for .installedFromPackageManager in the output.
1. Update the cloudflared package:
```bash
curl --location --output cloudflared.deb "https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-$(dpkg --print-architecture).deb" && sudo dpkg -i cloudflared.deb
```
2. Restart the service:
```sudo systemctl restart cloudflared.service```
---
## 12. Resumen rápido
- `cloudflared tunnel create` → crea el túnel
- `cloudflared tunnel list` → lista túneles