也可以使用一键下载,定期更新项目
wget https://raw.githubusercontent.com/Rakau/blockList/main/blockList -O /etc/XrayR/rulelist
规则文件下载:点击下载
注:如需要修改或者增加规则,按格式修改 route.json 内容
下载得到2个文件上传至:/etc/XrayR目录
修改 config.yml 配置文件
RouteConfigPath: /etc/XrayR/route.json
OutboundConfigPath: /etc/XrayR/custom_outbound.json
启用这2配置,去掉注释“#”,然后重启XrayR
第二种方法
修改 config.yml 配置文件
RuleListPath: /etc/XrayR/rulelist
启用这配置,去掉注释“#”,编辑rulelist文件把下面内容粘贴进去,然后重启XrayR
(.+\.|^)(360|so)\.(cn|com)
(api|ps|sv|offnavi|newvector|ulog.imap|newloc)(.map|).(baidu|n.shifen).com
(torrent|.torrent|peer_id=|info_hash|get_peers|find_node|BitTorrent|announce_peer|announce.php?passkey=)
(^.@)(guerrillamail|guerrillamailblock|sharklasers|grr|pokemail|spam4|bccto|chacuo|027168).(info|biz|com|de|net|org|me|la)
(.?)(xunlei|sandai|Thunder|XLLiveUD)(.)
(.+.|^)(360|so).(cn|com)
(Subject|HELO|SMTP)
(.*.||)(rising|kingsoft|duba|xindubawukong|jinshanduba).(com|net|org)
(.*.||)(citizenpowerforchina|freetibet|independent|bloomberg|dalailama|nextdigital|appledaily|voanews|voachinese|voacantonese|minghui|falundafa|gov|fast|speedtest|12377|12315|talk.news.pts.org|creaders|zhuichaguoji|efcc.org|cyberpolice|aboluowang|tuidang|epochtimes|nytimes|zhengjian|110.qq|mingjingnews|inmediahk|xinsheng|breakgfw|chengmingmag|jinpianwang|qi-gong|mhradio|edoors|renminbao|soundofhope|xizang-zhiye|bannedbook|ntdtv|12321|secretchina|dajiyuan|boxun|chinadigitaltimes|dwnews|huaglad|oneplusnews|epochweekly|cn.rfi).(cn|com|org|net|club|net|fr|tw|hk|eu|info|me)
(ed2k|.torrent|peer_id=|announce|info_hash|get_peers|find_node|BitTorrent|announce_peer|announce.php?passkey=|magnet:|xunlei|sandai|Thunder|XLLiveUD|bt_key)
(.*.||)(guanjia.qq.com|qqpcmgr|QQPCMGR)
(.*.||)(netvigator|torproject).(com|cn|net|org)
(..||)(visa|mycard|mastercard|gov|gash|beanfun|bank).
(.*.||)(miaozhen|cnzz|talkingdata|umeng).(cn|com)
(.*.||)(mycard).(com|tw)
(.*.||)(gash).(com|tw)
(.bank.)
(.*.||)(pincong).(rocks)
(.*.||)(taobao).(com)