frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Self-Hosted Cloudflare Alternatives

2•andyong71•3d ago
Hello,

In my past work, I found that there isn't a good alternative to Cloudflare (Cf) in the market. Cf has developed into a very powerful platform that integrates many services; it is undeniable that it does a great job, and I also enjoy using its services.

In the past, we encountered clients who wanted to self-host a platform as powerful as Cf (mainly for application security and performance).

Although we have strong software engineering capabilities (DNS, CDN, WAF, DDoS, Zero Trust, etc., we have built them all), we know that the strength of Cf lies in its network. To build such a platform, strong software needs to be combined with robust network infrastructure.

Cf was built 15 years ago when the infrastructure was not mature. Nowadays, there is a wealth of cloud infrastructure and numerous VPS providers, and I believe network capabilities have evolved to modern standards.

We see a lot of potential in this market; currently, no one can challenge Cf's position. Through interviews with many clients and partners, we found that there is no alternative to Cf on the market, especially when users deeply utilize application security and performance.

So, I have an idea: can I collaborate with cloud/VPS providers, where the providers are responsible for offering robust infrastructure, while our team excels at building the corresponding software stack? This way, clients can achieve an alternative to Cf based on my software platform combined with the infrastructure of VPS/cloud providers.

The software platform should allow for very simple deployment and management of edge nodes, and it should extend many functions through plugins, such as GeoDNS, Layer 4-7 proxy, CDN, WAF, rate limiting, Bot Management, Secure Tunnel, AI & API gateway, Clientless Zero Trust Access, observability, and more.

The edge infrastructure is responsible for providing a reliable, high-speed network and offering unmetered DDoS protection similar to Cloudflare.

This way, I can create a niche market: customers can purchase rich and cost-effective edge nodes, or opt for a pay-as-you-go model, with pricing determined by the provider. The provider can also refer customers to our platform to offer services similar to Cf. This is a win-win situation.

I look forward to hearing everyone's thoughts and suggestions. Thank you.

Comments

mmarian•2d ago
I'm curious, what's making your clients think that self-hosting is more secure and performant than CF? I struggle to see the scenarios.
emperor_•1d ago
I guess it's mostly compliance related.
andyong71•1d ago
Data Privacy and Compliance
mmarian•5h ago
Right, makes sense. I think you need to focus on one feature on Cloudflare to make this work. And it won't necessarily be network that's the advantage of that feature. For example, the WAF is the wide range of capabilities and sensible defaults.
emperor_•1d ago
There are companies competing with Cloudflare. For example AWS, but also Akamai. There are some smaller players as well.

Running these Cloudflare services yourself isn't as simple as deploying a 'app' on couple of VPS servers. To run a CDN or services on the Edge near customers, you need to have a very good understanding of internet routing (BGP) and networking in general. If you have that in place, then you can start thinking about building services on your network.

yb6677•1d ago
"The software platform should allow for very simple deployment and management of edge nodes, and it should extend many functions through plugins, such as GeoDNS, Layer 4-7 proxy, CDN, WAF, rate limiting, Bot Management, Secure Tunnel, AI & API gateway, Clientless Zero Trust Access, observability, and more."

What is the order of services you want to roll out? As you can't do everything at once.

I would guess cloudflare users only use it for DDOS protection and to hide origin server IP. And more recently to stop AI bots.

There would be huge demand for a self hosted equivelent as many are not comfortable with Cloudflare being a MITM.

Ask HN: Who is hiring? (June 2025)

236•whoishiring•9h ago•235 comments

Ask HN: Who wants to be hired? (June 2025)

90•whoishiring•9h ago•224 comments

Ask HN: How do I learn robotics in 2025?

258•srijansriv•11h ago•73 comments

Ask HN: How do startups create fancy websites?

2•ciwolex•3h ago•2 comments

Ask HN: Is offering a one-time payment stupid?

4•bigscrankus•4h ago•15 comments

Ask HN: Should science ensure NDEs are pleasant without damaging the brain?

2•amichail•4h ago•3 comments

Ask HN: Anyone making a living from a paid API?

232•meander_water•2d ago•166 comments

My "tiny" Product Hunt alternative made $5.6k in revenue last month

3•jaisalrathee•5h ago•2 comments

Ask HN: Local AI for Handwriting Transcription?

3•i4i•5h ago•0 comments

Google DMARC Policy Changes?

29•flajr•11h ago•9 comments

Ask HN: How are parents who program teaching their kids today?

87•laze00•1d ago•89 comments

Ask HN: Cursor is productive for an hour, then burns my application down

5•campervans•9h ago•3 comments

Ask HN: What is your current LLM-assisted coding tool?

4•HiPHInch•8h ago•2 comments

Built an AI tool to visualize large codebases - would love feedback

12•ilia_khatko•14h ago•7 comments

Understanding physical attacks on Android phones

4•alokq•15h ago•0 comments

Ask HN: What is the best LLM for consumer grade hardware?

233•VladVladikoff•3d ago•180 comments

Ask HN: Threshold Concepts in Mathematics

3•borysj•15h ago•4 comments

Ask HN: Why hasn't the Gemini protocol gained more popularity?

5•amiralul•16h ago•3 comments

Ask HN: What are the system requirements of autonomous military UAV?

7•eimrine•10h ago•11 comments

Ask HN: What should you ask to understand a new team and company?

5•laura2013•23h ago•4 comments

Ask HN: Why reinvent front-end frameworks and static site builders?

6•keepamovin•1d ago•12 comments

CQRS and Event Sourcing for the Rest of Us

4•odinellefsen•1d ago•1 comments

Proposal: Throw as a Special Variable for Auto Error Propagation in Go

2•iondodon•1d ago•1 comments

Ask HN: Who was hired using HN?

4•KolmogorovComp•7h ago•1 comments

Ask HN: How do I learn practical electronic repair?

12•juanse•2d ago•14 comments

What motivates you to contribute to open source projects?

17•rizs12•3d ago•15 comments

Ask HN: GEtting a Remote Job in the US

8•gsablewskinunes•2d ago•17 comments

Tell HN: Namecheap pre-purchasing searched domain names?

22•iamtoomas•3d ago•31 comments

Ask HN: Hardware for 1k RPS?

5•gsky•3d ago•3 comments

Ask HN: What's the best AI for meme creation?

2•faangguyindia•1d ago•3 comments