Trusted Proxies Config not working

Infos:

  • Used Zammad version: 6.4.1-1742994139.560f34ed.bookworm
  • Used Zammad installation type: package
  • Operating system: Ubunutu
  • Browser + version: Firefox

Expected behavior:

  • Using the Passed X_Forwarded_For Header from the Reverse Proxy as the Client IP

Actual behavior:

  • Using the real IP from the the Reverse Proxy as the Client IP

Steps to reproduce the behavior:

  • Configure Proxy via Gui, install apache remote ip mod, enabeling it and the header in Config

Fix

I was able to fix the issue with the help of Theophile from BunkerWeb
When Inserting the IP Address of the Proxy to the production.rb like so: config.action_dispatch.trusted_proxies = env_trusted_proxies || [‘127.0.0.1’, ‘::1’,‘10.0.0.2’]
it worked.

Maybe its a Bug?