A user, rohmann, is experiencing an issue where all user IPs are recorded as 127.0.0.1 despite using a reverse proxy on a separate server. mpalmer suggests the issue may be due to a misconfigured Discourse nginx or the upstream proxy not sending the appropriate headers.
Another user, tophee, shares a similar issue with limited screened IPs and wonders if it’s related to the same misconfiguration. jomaxro explains that IPs get on the watchlist when a user is deleted and their IP is banned.
rohmann eventually resolves the issue by removing a replace command for the Fastly CDN and adding a configuration to the app.yml file to recognize the upstream proxy.
Because the Discourse nginx is misconfigured, or the upstream proxy isn’t sending the appropriate headers to pass on the forwarded IP address. Without seeing the innards of your config, it’s impossible to know for sure.
I also noticed that I have a very limited range of Screened IPs (see screenshot below), so I wonder whether this points to a similar misconfiguration? The IPs of my users (registration, last IP address) are shown correctly, though. (But when people sign up via invite, their registration IP is not logged. I’m assuming that is by design.)
When you delete a user and say “ban IP”. You’re looking at what appears to be the default list. You either have a new site, never had a spam attack, or both.