Azure Front Door(Standard) forwards IPV6 instead of IPv4 in the X-Forwarded-For header

Babloo Singh 5 Reputation points
2024-01-23T17:08:16.2033333+00:00

We have a functionality where the admin can restrict users from accessing the apps who don't belong to a specific IP/IP range. Our applications were deployed behind a Application Gateway and it used to work fine with the X-Forwarded-For header giving the IPV4 address We recently implemented Azure Front Door and the X-Forwarded-For header gives the IPV6 instead of the IPV4. We still have the AG configured. We are using Azure Front Door Standard, is there a way to make AFD forward IPV4 instead? We couldn't find any settings/configs related to this on the Azure portal.

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
627 questions
{count} vote