This commit is contained in:
parent
8af6620fb7
commit
83acbe3e66
2
start.sh
2
start.sh
@ -38,7 +38,7 @@ function add_iptables_rule() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for country in $COUNTRIES; do #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" #
|
url="https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/geolite2_country/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_file="${ZONE_DIR}/${country}.zone.tmp"
|
tmp_file="${ZONE_DIR}/${country}.zone.tmp"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user