Update cloudflared.md

Add a step if cloudflared runs on different machine

Signed-off-by: ChristophorusReyhan <39609246+ChristophorusReyhan@users.noreply.github.com>
This commit is contained in:
ChristophorusReyhan
2024-10-19 21:05:35 +07:00
committed by GitHub
parent 3efdb5cf46
commit adc8b15f06
+7
View File
@@ -84,6 +84,13 @@ Edit configuration file by copying the following in to `/etc/default/cloudflared
CLOUDFLARED_OPTS=--port 5053 --upstream https://1.1.1.1/dns-query --upstream https://1.0.0.1/dns-query
```
If you're running cloudflared on different host than pi-hole, you can add listening address to all IPs:
```bash
# Commandline args for cloudflared, using Cloudflare DNS
CLOUDFLARED_OPTS=--port 5053 --upstream https://1.1.1.1/dns-query --upstream https://1.0.0.1/dns-query --address 0.0.0.0
```
Update the permissions for the configuration file and `cloudflared` binary to allow access for the cloudflared user:
```bash