This script can be automatically generate something what I needed every day.
chnroute/chnroute.txt
gfwlist/gfwlist.txt
adblock/adblock.conf
safelist/safelist.conf
pac/gfwlist.pac
pac/whitelist.pac
shadowrocket/gfwlist.conf
shadowrocket/whitelist.conf
- More:
Note: The PAC list is only designed for SwithcyOmega.
- Save your needed
scripts
into OpenWRT. - Add the following cron jobs.
# adblock
0 3 * * * </path/to/adblock_script>
# chinadns-ng
1 3 * * * </path/to/chinadns-ng_script>
# chinadns
2 3 * * * </path/to/chinadns_script>
# cleandns
3 3 * * * </path/to/cleandns_script>
# safelist
4 3 * * * </path/to/safelist_script>
- @shadowsocks/ChinaDNS
- @felixonmars/dnsmasq-china-list
- @clowwindy/gfwlist2pac
- @cokebar/gfwlist2dnsmasq
- @rssnsj/network-feeds
- @R0uter/gfw_domain_whitelist
- @breakwa11/gfw_whitelist
- @breakwa11/GFWList2PAC
- @Leask/Flora_Pac
- aggregate
- cidrmerge
Copyright (C) 2018-2019, pexcn <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.