Traefik access logs get real source IP

After a chat with @dduportal in Slack, I got the following conclusions (please correct me if I am wrong).

First of all I can not see the x-forwarded-for header because I am using HAProxy layer 4 so it is not possible to send headers (https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-option%20forwardfor).

So basically the alternatives are the following:

I am still unsure in which alternative I will take but whenever I take one I'll update this post with the results.

Thanks for the help.