Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cloudflared.md for installation on different machine #1121

Merged
merged 2 commits into from
Oct 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/guides/dns/cloudflared.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
yubiuser marked this conversation as resolved.
Show resolved Hide resolved
```

Update the permissions for the configuration file and `cloudflared` binary to allow access for the cloudflared user:

```bash
Expand Down