https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf Rohliste öffnen Beschreibung
Filterliste aus den Bereichen Allowlist. Format: Socks5. Einzelheiten und Aufnahmekriterien stehen auf der Projektseite.
Integration
Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf" dst-path=blocklist.rsc
/import blocklist.rsc If the list is a plain text file with one address or CIDR per line, convert it first:
/tool fetch url="https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="pexcn China Whitelist"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="pexcn China Whitelist"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="pexcn China Whitelist" Schedule the fetch with /system scheduler to keep the list current. Very large lists consume RAM, so check the available memory of your device first.
banIP (recommended)
- Install the package:
opkg update && opkg install banip luci-app-banip - Open LuCI → Services → banIP → Feeds and add a custom feed with the URL below.
- Enable the feed and click Save & Apply.
https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf Manual with nftables
wget -qO /tmp/blocklist.txt "https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf"
nft add set inet fw4 blocklist { type ipv4_addr; flags interval; }
nft -f - <<EOF
$(awk '!/^[#;]/ && NF {print "add element inet fw4 blocklist { " $1 " }"}' /tmp/blocklist.txt)
EOF
nft add rule inet fw4 forward ip saddr @blocklist drop ipset create blocklist hash:net -exist
curl -fsSL "https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf" | grep -Eo '^[0-9]{1,3}(.[0-9]{1,3}){3}(/[0-9]{1,2})?' |
while read -r net; do ipset add blocklist "$net" -exist; done
iptables -I INPUT -m set --match-set blocklist src -j DROP
iptables -I FORWARD -m set --match-set blocklist src -j DROP Persist the set and re-run the download from cron to keep it current:
ipset save blocklist -f /etc/ipset.blocklist
# /etc/cron.daily/blocklist
Add the list as an ipset in /etc/firehol/firehol.conf:
ipset4 create blocklist hash:net
ipset4 addfile blocklist "https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf"
blacklist4 full inface any src ipset:blocklist Reload with firehol try and confirm before making it permanent.
- Go to Firewall → Aliases and click +.
- Choose type URL Table (IPs), set a refresh interval (for example 1 day) and paste the URL below.
- Save and apply, then use the alias as source in a block rule under Firewall → Rules.
https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf - Go to Firewall → pfBlockerNG → IP → IPv4 and click Add.
- Paste the URL below as source, set State to ON and pick the action (Deny Both is the usual choice).
- Save, then run Update → Force Reload → IP.
https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf curl -fsSL "https://raw.githubusercontent.com/pexcn/daily/gh-pages/shadowrocket/whitelist.conf" -o /var/lib/suricata/data/blocklist.txt Reference the file from a rule using a dataset:
alert ip [!$HOME_NET] any -> $HOME_NET any (msg:"pexcn China Whitelist match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Letzte Änderungen
Kürzlich hinzugefügte Einträge
- DOMAIN-SUFFIX,zhimi.com,DIRECT
- DOMAIN-SUFFIX,chanjet.com,DIRECT
- DOMAIN-SUFFIX,vjshi.com,DIRECT
- DOMAIN-SUFFIX,taocdn.com,DIRECT
- DOMAIN-SUFFIX,998law.com,DIRECT
- DOMAIN-SUFFIX,hxkba.com,DIRECT
- DOMAIN-SUFFIX,ajkimg.com,DIRECT
- DOMAIN-SUFFIX,51cto.com,DIRECT
- DOMAIN-SUFFIX,ssif1.globalsign.com,DIRECT
- DOMAIN-SUFFIX,vevor.net,DIRECT
- DOMAIN-SUFFIX,70jj.com,DIRECT
- DOMAIN-SUFFIX,chuimg.com,DIRECT
- DOMAIN-SUFFIX,123ths.com,DIRECT
- DOMAIN-SUFFIX,jiwu.com,DIRECT
- DOMAIN-SUFFIX,gter.net,DIRECT
- DOMAIN-SUFFIX,jlcpcb.com,DIRECT
- DOMAIN-SUFFIX,touzime.com,DIRECT
- DOMAIN-SUFFIX,mipay.com,DIRECT
- DOMAIN-SUFFIX,cernet.net,DIRECT
- DOMAIN-SUFFIX,itheat.com,DIRECT
- DOMAIN-SUFFIX,rtxapp.com,DIRECT
- DOMAIN-SUFFIX,zhaosw.com,DIRECT
- DOMAIN-SUFFIX,zhangyue.com,DIRECT
- DOMAIN-SUFFIX,tmall.hk,DIRECT
- DOMAIN-SUFFIX,3d66.com,DIRECT
Kürzlich entfernte Einträge
- DOMAIN-SUFFIX,unjs.com,DIRECT
- DOMAIN-SUFFIX,yingyonghui.com,DIRECT
- DOMAIN-SUFFIX,xescdn.com,DIRECT
- DOMAIN-SUFFIX,oicq88.com,DIRECT
- DOMAIN-SUFFIX,qizuang.com,DIRECT
- DOMAIN-SUFFIX,etest8.com,DIRECT
- DOMAIN-SUFFIX,hx2car.com,DIRECT
- DOMAIN-SUFFIX,chukouplus.com,DIRECT
- DOMAIN-SUFFIX,xunkids.com,DIRECT
- DOMAIN-SUFFIX,dongqiudi.com,DIRECT
- DOMAIN-SUFFIX,d17.cc,DIRECT
- DOMAIN-SUFFIX,huangye88.com,DIRECT
- DOMAIN-SUFFIX,5eplay.com,DIRECT
- DOMAIN-SUFFIX,wenkub.com,DIRECT
- DOMAIN-SUFFIX,duoyi.com,DIRECT
- DOMAIN-SUFFIX,wlzp.vip,DIRECT
- DOMAIN-SUFFIX,win3000.com,DIRECT
- DOMAIN-SUFFIX,litecdncname.com,DIRECT
- DOMAIN-SUFFIX,ztgame.com,DIRECT
- DOMAIN-SUFFIX,moeclub.org,DIRECT
- DOMAIN-SUFFIX,eo-edgefunctions7.com,DIRECT
- DOMAIN-SUFFIX,q-dazzle.com,DIRECT
- DOMAIN-SUFFIX,wmpvp.com,DIRECT
- DOMAIN-SUFFIX,588ku.com,DIRECT
- DOMAIN-SUFFIX,jiepei.com,DIRECT
