This commit is contained in:
parent
77f0e4f8ea
commit
abddf312f4
4
start.sh
4
start.sh
@ -44,13 +44,13 @@ function add_iptables_rule() {
|
|||||||
# 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/geolite2_country/country_${country}.netset
|
||||||
# https://www.ipdeny.com/ipblocks/data/countries/${country}.zone
|
# https://www.ipdeny.com/ipblocks/data/countries/${country}.zone
|
||||||
# https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/ipip_country/ipip_country_${country}.netset
|
# https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/ipip_country/ipip_country_${country}.netset
|
||||||
# https://github.com/ipverse/rir-ip/blob/master/country/${country}/ipv4-aggregated.txt
|
# https://raw.githubusercontent.com/ipverse/rir-ip/refs/heads/master/country/${country}/ipv4-aggregated.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for country in $COUNTRIES; do
|
for country in $COUNTRIES; do
|
||||||
url="https://github.com/ipverse/rir-ip/blob/master/country/${country}/ipv4-aggregated.txt" #
|
url="https://raw.githubusercontent.com/ipverse/rir-ip/refs/heads/master/country/${country}/ipv4-aggregated.txt" #
|
||||||
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