mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
Merge pull request #1121 from ChristophorusReyhan/patch-1
Update cloudflared.md for installation on different machine
This commit is contained in:
@@ -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 (for security, change 0.0.0.0 to your machine's IP, e.g. 192.168.1.1):
|
||||
|
||||
```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