When a failed logging attempt to Web Access happens, it is logged by PAM like this: > 2025-03-04T19:22:58.892923+01:00 pam1 tl-pamapp[418264]: pam_unix(thinlinc:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=::ffff:172.16.254.1 user=wilsj Under normal circumstances, the above rhost will be the IP of the client that attempted the failed login. However, when ThinLinc Web Access is placed behind a reverse proxy, rhost will simply be the IP of the reverse proxy machine and not the actual client. This makes auditing and acting on failed login attempts very difficult.
Most reverse proxies set the header X-Forwarded-For (and potentially X-Real-IP) to the IP of the actual client.
Oops, there was already a bug for this. *** This bug has been marked as a duplicate of bug 7466 ***