Email or username:

Password:

Forgot your password?
dansup

Just shipped a new mini side-project for Pixelfed + Laravel Forge + Cloudflare.

This tool enhances your @pixelfed server security by automatically updating your server's firewall to allow only Cloudflare IP ranges, effectively blocking unauthorized requests.

This can ensure that only legitimate traffic reaches your server, reducing the risk of attacks and unauthorized access.

Simply add 2 env vars and setup the scheduler, and it will auto-update 😎

Source: github.com/dansup/forge-cf-ips

#devops

3 comments
Melroy van den Berg

@dansup @pixelfed while I like this improvement very much. Due to the recent events regarding cloudflare I'm not planning to use cloudflare at all. Not now or in the future. Their sales tactics and the way the company is treating customers is instantly bad.

dansup

@melroy @pixelfed I understand, this could be adapted to other WAF/DDoS protection services if they have a public api that lists their IP ranges!

Go Up