I’ve deployed a Zammad instance using compose and cloudflared. Everything is working as expected, except for the real IP coming to the server. Currently I got all private IP from my docker stack.
Cloudflare should forward real IP using CF-connecting-IP header, is it possibile to add as match to Zammad? May be in the nginx container?
If this wasn’t you, please remove the device, change your account password, and contact the administrator. Someone might have unauthorized access to your account.
The Ticketing System Team
and may be also in sessions overview when logged as Admin.
Currently i’m getting the IP address of cloudflared container and not the real IP of the customer that access the ticketing system
It’s strange because on each http request from cloudflared, I’ve both Cf-Connecting-Ip and X-Forward-For with the right IP, but on the Zammad console (and emails) still get private one:
That’s a docker issue. I can’t help with that. My best guess would be to change the docker initialization script (or whatever it’s called) to run network configuration in bridged mode instead of NAT - but that’s not my area of expertise, sorry.
I don’t think it’s a solution, i will get same “private IP” and not the real one.
There is something missing on the configuration probably that prevents to read headers correctly.