I found the solution:
In wp-includes/comment-functions.php change:
$commentdata[‘comment_author_IP’]= $_SERVER[‘REMOTE_ADDR’];
with:
$commentdata[‘comment_author_IP’] = getenv(HTTP_X_FORWARDED_FOR);
Try it!
😉
I have the same problem, please help!
Thanks!