#Does Application Gateway support receiving PROXY PROTOCOL packets

1 messages · Page 1 of 1 (latest)

radiant knot
#

Hello! I'm having an issue currently when trying to put a self hosted proxy in front of an application gateway (AGW). The proxy uses PROXY protocol (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) and is supposed to proxy all packages to the AGW. When trying to send a request to the AGW via the proxy it results in an SSL error packet too long. When trying to send a request to the AGW not via the proxy it all works fine. I've had a hard time seeing if AGW actually supports receiving proxied packets that uses the PROXY PROTOCOL and wanted to verify this.

The reason the proxy uses the PROXY protocol is to make sure that the original client ip can be known from the application behind the AGW.

If it supports I would very much be greateful for any help to make this work. If you need any more information or elabaration I will provide as much as I can.

junior valley
#

If you're just trying to pass the client IP through, AGW already does this by appending an X-Forwarded-For header.