This commit is contained in:
parent
0210cbb6f6
commit
7bb79c2aa4
@ -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
|
||||
4
start.sh
4
start.sh
@ -37,8 +37,8 @@ function add_iptables_rule() {
|
||||
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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user