Skip to content

Commit

Permalink
feat: use IPDB as IP whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
Acris authored Aug 18, 2022
1 parent fdc1ffc commit 42d3854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_ip_whitelist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
update_ip_whitelist() {
SS_MERLIN_HOME=/opt/share/ss-merlin

wget -O - 'https://cdn.jsdelivr.net/gh/17mon/china_ip_list@master/china_ip_list.txt' | sed '/^#/d' > ${SS_MERLIN_HOME}/rules/chinadns_chnroute.txt.bak
wget -O - 'https://cdn.jsdelivr.net/gh/tmplink/IPDB@main/ipv4/cidr/CN.txt' | sed '/^#/d' > ${SS_MERLIN_HOME}/rules/chinadns_chnroute.txt.bak

echo 'Update IP whitelist done.'
}
Expand Down

0 comments on commit 42d3854

Please sign in to comment.