IP Forwarding: real IP not shown in traefik access.log

Hi,
in my traefik access.log file I don't see the real IP of the requesting client. I always get entries like the following, where x.x.x.x. is the public IP address (WAN IP) of my own router. IP forwarding doesn't seem to be working properly. I use Cloudflare for DNS services. - I don't know, what settings I have to change so that the real IP is displayed in the logs? I did install whoami and for me it looks like, that Cf-Connecting-Ip is written in the logs.

x.x.x.x - - [17/Apr/2024:15:15:30 +0000] "GET /index.php/204 HTTP/2.0" 404 19 "-" "-" 22779 "-" "-" 0ms
x.x.x.x - - [17/Apr/2024:15:16:32 +0000] "GET /index.php/204 HTTP/2.0" 404 19 "-" "-" 22798 "-" "-" 0ms
x.x.x.x - - [17/Apr/2024:15:17:34 +0000] "GET /index.php/204 HTTP/2.0" 404 19 "-" "-" 22801 "-" "-" 0ms
x.x.x.x - - [17/Apr/2024:15:18:36 +0000] "GET /index.php/204 HTTP/2.0" 404 19 "-" "-" 22810 "-" "-" 0ms
x.x.x.x - - [17/Apr/2024:15:18:37 +0000] "GET /index.php/204 HTTP/2.0" 404 19 "-" "-" 22811 "-" "-" 0ms

I try to run crowdsec with traefik, but it can't find any alerts, becaus in the access.log file is only ever shown my own WAN IP.

What can I do to solve problem? Thanks for your help and tips in advance. - Daniel

This is discussed every week here in the forum, my first tip would be to use the search functionality.

Keywords are "http headers", "X-Forwarded-For", "X-Real-Ip" and as different solution also "ProxyProtocol".