it is to do with your server envriment variables. REMOTE_ADD is the one that normally holds the visiter ip. but some server uses HTTP_X_FORWARDED_FOR. that’s why you are getting 127.0.0.1 for every single visiters.
i could not figure out how to swap over in wordpress. i have fixed PHPBB2 on this issue