diff --git a/README.md b/README.md index 2e24963..4e8adda 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,6 @@ Testado em Ubuntu 24.04.2 LTS https://www.ipdeny.com/ipblocks/ - +https://github.com/firehol/blocklist-ipsets git clone https://gitea.zol.oixb.run/oixb.run/CountryBlock.git \ No newline at end of file diff --git a/start.sh b/start.sh index ad67caf..bc465fe 100644 --- a/start.sh +++ b/start.sh @@ -36,9 +36,9 @@ 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 - url="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" # echo "[$(date '+%Y-%m-%d %H:%M:%S')] Baixando lista IPs: $country" tmp_file="${ZONE_DIR}/${country}.zone.tmp"