This commit is contained in:
Bxio 2025-06-23 17:46:16 +01:00
parent 8af6620fb7
commit 83acbe3e66

View File

@ -38,7 +38,7 @@ function add_iptables_rule() {
} }
for country in $COUNTRIES; do #https://www.ipdeny.com/ipblocks/data/countries/${country}.zone for country in $COUNTRIES; do #https://www.ipdeny.com/ipblocks/data/countries/${country}.zone
url="https://github.com/firehol/blocklist-ipsets/blob/master/geolite2_country/country_${country}.netset" # url="https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/geolite2_country/country_${country}.netset" #
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Baixando lista IPs: $country" echo "[$(date '+%Y-%m-%d %H:%M:%S')] Baixando lista IPs: $country"
tmp_file="${ZONE_DIR}/${country}.zone.tmp" tmp_file="${ZONE_DIR}/${country}.zone.tmp"