Preventing DDoS on a Discourse instance?

Without going through a service like Cloudflare, I presume Discourse out of the box doesn’t leak IP in any way?