This website interface aims to easily create, modify, delete rules. It also provides a way to import & export new rules in your domain's WAF.
If you have some rules that you want to duplicate among your domains, this website is made for you!
This project uses the Cloudflare-Firewall-Rules Python module
git clone https://github.com/QuentiumYT/Cloudflare-Firewall-Rules-Web.git
cd Cloudflare-Firewall-Rules-Web/
# Install Python requirements
pip install -r requirements.txt
# Install dev dependencies (css related)
npm install
# Install web dependencies
cd static/ && npm install
# Build CSS
npm run build
# Run Flask app
python app.py
You can now navigate to 127.0.0.1:5502
Edit the docker-compose file if needed
# Build the container
docker-compose up -d --build
You can now navigate to 172.200.0.2
You can also add 172.200.0.2 cfr.loc
to your /etc/hosts
(cfr.loc)
Create and edit rules using the online editor
More usage doc to come
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change and join your fork with the modifications.
If you don't feel comfortable coding, you can submit your idea about what you would like to see implemented.
Quentin L.
- Website: quentium.fr
- Twitter: @QuentiumYT
- Contact: Mail
Please β° this repository if this project helped you!
Made with β€ by QuentiumYT