TCP mode passthrough - Client ip

I’m trying to mount a configuration of HAProxy to be a reverse proxy for smtp protocol.

My goal is

  • To make haproxy work in tcp mode to be able to make TLS passthough (needed for others protocol too, meaning : https)
  • To send client ip to the backend server.

However, I did not succed…
My configuration work but only the haproxy server ip is sended to the backend server.

How can I configure my haproxy server to do what I want ?

FYI, I use :

  • CentOS Stream 9
  • Firewalld
  • Systemd (as service manager)