At the most basic level, CloudFlare is a reverse proxy. The client makes an HTTP/S request to a CloudFlare server, and they, in turn, make a request to the IP you've entered as your server.
In short cloudflare is both a DNS server and a reverse proxy. When you add a DNS record in there and mark it as proxy cloudflare will publish the DNS record but will instead give its own IP as the destination.
When a visitor enters your URL instead of getting your IP they will be given Cloudflare's IP. The visitor will then send their web request to Cloudflare. Cloudflare will then send that request to your actual IP.
That's the basic version. However, Cloudflare's position as a proxy gives it the ability to inspect and act on traffic as a WAF, blocking traffic that meetings the IDS/IPS rules.
so i have free time recently, and i like to make a project like cloudflare that cover some of features that cloudflare provides . how does cloudflare it works , ๐ค๐ค๐ค I'm just looking for a start point i know it's waste of time for some of you , but i really want to try something new
Thanks for the laughs!
You really need to narrow down what feature of cloudflare your talking about, they offer a lot of different services now.
Self-Hosted Main
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software