From 7bb79c2aa472a8d542ec09fdf721c4bb0205b80e Mon Sep 17 00:00:00 2001 From: Bxio Date: Mon, 23 Jun 2025 17:39:05 +0100 Subject: [PATCH] --- README.md | 2 +- start.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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"