Can you try configuring ASP.Net Core to use the load balancer’s forwarded-for headers as explained in this response?