I have both Authelia and NPM installed as containers. Authelia is behind NPM as a proxy host.
When I tried to use fail2ban to parse the host IP from Authelia's log when login failed, I noticed the reported host IP is 127.20.0.1, which is the docker's gateway internal IP. I set up both per the directions mentioned in "https://www.authelia.com/integration/proxies/nginx-proxy-manager". Everything (including 2FA) works except not getting the real IP. I'd appreciate any advice or suggestion.
I have both Authelia and NPM installed as containers. Authelia is behind NPM as a proxy host.
When I tried to use fail2ban to parse the host IP from Authelia's log when login failed, I noticed the reported host IP is 127.20.0.1, which is the docker's gateway internal IP. I set up both per the directions mentioned in "https://www.authelia.com/integration/proxies/nginx-proxy-manager". Everything (including 2FA) works except not getting the real IP. I'd appreciate any advice or suggestion.