Create csfcf.sh

This commit is contained in:
Marek Miklewicz
2022-05-13 22:31:40 +02:00
committed by GitHub
parent 7eecc175f4
commit dfc6a8c08e
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
IPS=`curl -s https://www.cloudflare.com/ips-v4`
IPS+=`echo -e "\n" && curl -s https://www.cloudflare.com/ips-v6`
for ip in ${IPS}; do
sudo csf -a $ip
done
sudo csf -r