Skip to content

Commit 8baacf4

Browse files
authored
Merge pull request #1121 from ChristophorusReyhan/patch-1
Update cloudflared.md for installation on different machine
2 parents 3efdb5c + cfe105e commit 8baacf4

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 (for security, change 0.0.0.0 to your machine's IP, e.g. 192.168.1.1):
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)