Skip to content

Benjamin-Italiaander/Cloudflare-ufw-rule-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Cloudflare-ufw-rule-creator

Cloudflare ip whitelisting for UFW ubuntu

This is a simple bash script i use in Ubuntu to whitelist all the ip adresses from cloudflare to my UFW firewall.

Run this script as root

chmod +x ./cloudflare_whitlist_ip.sh
sudo ./cloudflare_whitlist_ip.sh

About

This script downloads the IP adresslist from cloudflare and adds the adresses to UFW

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages