From af57dfbc964d549a6d341b95abcba8c2b4b536bf Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 5 Aug 2021 16:18:20 +0300 Subject: [PATCH] Cloudflared: minor tweaks * move armhf before arm64 since this is still the most common * fix a comment * stop renaming the downloaded binary Signed-off-by: XhmikosR --- docs/guides/dns/cloudflared.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/guides/dns/cloudflared.md b/docs/guides/dns/cloudflared.md index 8014616..0ffae44 100644 --- a/docs/guides/dns/cloudflared.md +++ b/docs/guides/dns/cloudflared.md @@ -35,17 +35,6 @@ sudo yum install ./cloudflared-linux-x86_64.rpm cloudflared -v ``` -**Note:** Binaries for other operating systems can be found here: - -#### arm64 architecture (64-bit Raspberry Pi) - -```bash -wget -O cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64 -sudo mv cloudflared /usr/local/bin -sudo chmod +x /usr/local/bin/cloudflared -cloudflared -v -``` - #### armhf architecture (32-bit Raspberry Pi) Here we are downloading the precompiled binary and copying it to the `/usr/local/bin/` directory to allow execution by the cloudflared user. Proceed to run the binary with the `-v` flag to check it is all working: @@ -59,6 +48,15 @@ cloudflared -v Note: Users [have reported](https://github.com/cloudflare/cloudflared/issues/38) that the current version of cloudflared produces a segementation fault error on Raspberry Pi Zero W, Model 1B and 2B. As a workaround you can use an older version provided at instead. +#### arm64 architecture (64-bit Raspberry Pi) + +```bash +wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64 +sudo cp ./cloudflared-linux-arm64 /usr/local/bin/cloudflared +sudo chmod +x /usr/local/bin/cloudflared +cloudflared -v +``` + #### `cloudflared` archive page You can find all `cloudflared` binary releases on . @@ -147,7 +145,7 @@ proxy-dns-port: 5053 proxy-dns-upstream: - https://1.1.1.1/dns-query - https://1.0.0.1/dns-query - #Uncomment following if you want to also want to use IPv6 for external DOH lookups + # Uncomment the following if you also want to use IPv6 for external DOH lookups #- https://[2606:4700:4700::1111]/dns-query #- https://[2606:4700:4700::1001]/dns-query ```