Skip to content

Commit adc8b15

Browse files
Update cloudflared.md
Add a step if cloudflared runs on different machine Signed-off-by: ChristophorusReyhan <[email protected]>
1 parent 3efdb5c commit adc8b15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/guides/dns/cloudflared.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ Edit configuration file by copying the following in to `/etc/default/cloudflared
8484
CLOUDFLARED_OPTS=--port 5053 --upstream https://1.1.1.1/dns-query --upstream https://1.0.0.1/dns-query
8585
```
8686

87+
If you're running cloudflared on different host than pi-hole, you can add listening address to all IPs:
88+
89+
```bash
90+
# Commandline args for cloudflared, using Cloudflare DNS
91+
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
92+
```
93+
8794
Update the permissions for the configuration file and `cloudflared` binary to allow access for the cloudflared user:
8895

8996
```bash

0 commit comments

Comments
 (0)