mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
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:
committed by
GitHub
parent
3efdb5cf46
commit
adc8b15f06
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user