I am curious what you mean by doing it yourself, i.e., do you mean (as perhaps an oversimplification) having a DNS record pointing at your home IP address? What are you wanting to see as the alternative to a Cloudflare tunnel?
>>kiloba+(OP)
I mean, how do I expose my home server to the internet, without relying on externally hosted platforms like Cloudflare or Tailscale? While still minimising the risk of DoS