AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Support for Cloudflare Tunnel

Open trparky opened this issue 8 months ago • 1 comments

Prerequisites

  • [x] I have checked the Wiki and Discussions and found no answer

  • [x] I have searched other issues and found no duplicates

  • [x] I want to request a feature or enhancement and not ask a question

The problem

I want to set up an instance of AdGuard Home on my local network with Cloudflare Tunnel allowing access to it from the global Internet for my device when I'm out of my home. However, AdGuard Home doesn't support the use of Cloudflare's Cf-Connecting-IP HTTP Header, so it makes it difficult to track which device is actually doing the DNS requests.

Proposed solution

Add support for Cf-Connecting-IP HTTP header.

Alternatives considered and additional information

No response

trparky avatar May 12 '25 00:05 trparky

You can use NGINX to solve your problem.

lineumaciel avatar Jun 15 '25 20:06 lineumaciel

set trusted_proxies: properly.

xlionjuan avatar Jul 21 '25 16:07 xlionjuan