Solved it with the following code in my theme’s function.php:
add_filter(‘bbp_current_author_ip’, ‘my_anonymize_ip’);
function my_anonymize_ip($retval) {
$retval = ‘0.0.0.0’;
return $retval;
}
I found out that the filter “bbp_current_author_ip” is called by bbp when creating a new topic/reply.