A mini self-hosted cloudflare.... you mean, like building a reverse proxy? If so... we already have treafik, nginx, haproxy, etc....
Self-hosted, ruins the reason I use cloudflare, completely.
I use cloudflare, because...
- DDOS / Attack protection. The bandwidth hits their servers, and not mine. You CANNOT SELF HOST ddos protection, unless you have a MASSIVE amount of bandwidth. Otherwise, it just overwhelms your internet connection. It doesn't matter if the traffic is blocked. It still fills your pipe.
- Hiding my private IP / handling my dynamic IP.
- Processing my domain's SMTP. You don't want to handle email at your home IP.... its likely blacklisted from major providers.