diff --git a/start.sh b/start.sh index 84a898e..aa18cb9 100644 --- a/start.sh +++ b/start.sh @@ -36,9 +36,17 @@ function add_iptables_rule() { iptables -t raw -I "$chain" -i vmbr0 -m set --match-set "$set_name" src -j DROP 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" tmp_file2="${ZONE_DIR}/${country}.zone.tmp2"