This commit is contained in:
Bxio 2025-06-23 18:20:32 +01:00
parent 22ec9a4c3d
commit 387c79124e

View File

@ -37,8 +37,16 @@ function add_iptables_rule() {
fi fi
} }
for country in $COUNTRIES; do #https://www.ipdeny.com/ipblocks/data/countries/${country}.zone
url="https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/geolite2_country/country_${country}.netset" # # https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/ip2location_country/ip2location_country_${country}.netset
# https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/geolite2_country/country_${country}.netset
# https://www.ipdeny.com/ipblocks/data/countries/${country}.zone
for country in $COUNTRIES; do
url="https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/ip2location_country/ip2location_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_file2="${ZONE_DIR}/${country}.zone.tmp2" tmp_file2="${ZONE_DIR}/${country}.zone.tmp2"