[Feature Request] Add Proxy Protocol Support #1680

Open
opened 2026-03-04 01:28:01 -05:00 by deekerman · 0 comments
Owner

Originally created by @gorip96 on GitHub (Jun 16, 2020).

Originally assigned to: @ainar-g on GitHub.

Prerequisites

  • [ x ] I am running the latest version
  • [ x ] I checked the documentation and found no answer
  • [ x ] I checked to make sure that this issue has not already been filed

Problem Description

When running AdGuard Home behind dnsdist, AGH will see dnsdist's IP as the source IP, now that dnsdist is supporting Proxy Protocol, it would be good if AGH have the capability to parse the proxy protocol

Proposed Solution

Add the ability to parse Proxy Protocol

Alternatives Considered

Use EDNS as client's source IP in statistics https://github.com/AdguardTeam/AdGuardHome/issues/1727

Additional Information

Originally created by @gorip96 on GitHub (Jun 16, 2020). Originally assigned to: @ainar-g on GitHub. ### Prerequisites - [ x ] I am running the latest version - [ x ] I checked the documentation and found no answer - [ x ] I checked to make sure that this issue has not already been filed ### Problem Description When running AdGuard Home behind dnsdist, AGH will see dnsdist's IP as the source IP, now that dnsdist is supporting Proxy Protocol, it would be good if AGH have the capability to parse the proxy protocol ### Proposed Solution Add the ability to parse Proxy Protocol ### Alternatives Considered Use EDNS as client's source IP in statistics https://github.com/AdguardTeam/AdGuardHome/issues/1727 ### Additional Information * https://dnsdist.org/advanced/passing-source-address.html#proxy-protocol * https://github.com/pires/go-proxyproto
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#1680
No description provided.