This commit is contained in:
parent
22ec9a4c3d
commit
387c79124e
12
start.sh
12
start.sh
@ -37,8 +37,16 @@ function add_iptables_rule() {
|
|||||||
fi
|
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"
|
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Baixando lista IPs: $country"
|
||||||
|
|
||||||
tmp_file2="${ZONE_DIR}/${country}.zone.tmp2"
|
tmp_file2="${ZONE_DIR}/${country}.zone.tmp2"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user