a collection of personal scripts to automate allowlisting of Cloudflare
wget -O - https://raw.githubusercontent.com/NathanAdhitya/auto-cf-server/master/quick.sh | bash
- UFW as firewall
- NGINX Reverse Proxy with ngx_http_realip_module
- Adds an app called "cloudflare-services" to ufw/applications.d.
- Adds Cloudflare's IPs to allow going into the cloudflare-services app.
- Puts Cloudflare's IPs into a nginx/conf.d to set real_ip from.