just wondering if is there any faster way than this to import ufw rules
i'm trying to block geo ip's and as you know each country have tons of ip's it takes forever to deny access with this method
cat geoip.txt | awk '/^[^#]/ { print $1 }' | sudo xargs -I {} ufw deny from {} to any
i appreciate your insights in advance tnX