Show real host IP/Hostname instead of HAProxy IP

When I do show processlist, I see host is showing haproxy server not the real host where connection is made. How do I fix it ? Is it haproxy configuration or MySQL configuration change.

In the above mentioned article,
it says "

BUT, it did not provide enough details. Can you please provide documentation on how to achieve this ?

Followed this and I can see now real client IP