Hello, my dears.
I have a small problem.
When I log in via Bitwarden Web, I get an email that I have logged in.
The problem is the IP is wrong it always takes: 172.17.0.1
I use docker with an Apache Reverse Proxy …
In the diagnostics there is IP header No Match.
Thanks for the quick help.
It worked for me.
But, it shows wrong public IP addresses.
The server is behind the Cloudflare proxy. Could it be that the IP of Cloudflare is taken instead of that of the user?
You don’t need to do anything in the Apache config. Just go to the admin page and set Client IP header (ip_header config item) to either X-Forwarded-For or CF-Connecting-IP.
This should not happen unless you have trailing whitespace in your config. Ideally we should trim it automatically, but I don’t think that’s done currently.
Cloudflare should always be inserting CF-Connecting-IP automatically, so you may have some module or other configuration in Apache that is stripping that header.