This is my ipset shell script file like this
#!/bin/bash
for IP in $(wget -O /var/geoiptest.txt http://www.ipdeny.com/ipblocks/data/countries/{ad,ae,af}.zone)
do
# ban everything - block country
sudo ipset add geo /var/geoiptest.txt
done
i think last row have fault, how can i resolve that ?