{"repo":"DustinWin/dustinwin.github.io","free":true,"listed":false,"github":"https://github.com/DustinWin/dustinwin.github.io","clone":"git clone https://github.com/DustinWin/dustinwin.github.io.git","description":"mihomo 和 sing-box 教程合集——安装、配置、自定义规则、DNS 分流","language":"Shell","stars":1585,"topics":["adguardhome","clash","proxy","clash-meta","sing-box","singbox","mihomo","adguard-home","shellcrash"],"license":"MIT","category":"networking-infra","readme_excerpt":"关于 1. 本教程合集基于 mihomo 内核和 sing-box reF1nd 版内核编写，请尽量使用最新版内核，可到 DustinWin/proxy-tools 项目进行更新 2. 本教程合集分为五大类，分别为：置顶、直链配置、工具配置、DNS 配置和分享配置。伸手党可直接进入分享配置进行参考，请尽量使用我定制的规则集文件 3. 本教程合集偏向于实操，基础配置的搭载内核和 Wiki 文档对应关系如下表： 搭载内核 mihomo 内核 sing-box reF1nd 版内核 sing-box 内核 :-----------: :--------------------------: :------------------------------------: :--------------------------------: Wiki 文档 对 geodata 和 ruleset 方案的说明 1. geodata 方案更适用于路由器等设备（连接多台设备而无法判断非本机设备进程），配置文件编写简单，对小白用户友好 2. ruleset 方案适用于对分流规则要求比较严格的用户，配置文件编写复杂，可按需配置且配置灵活 3. mihomo 采用 geodata 方案，使用 GEOSITE 和 GEOIP 规则搭配 GeoSite.dat 和 GeoIP.dat（或 Country.mmdb）路由规则文件 4. mihomo 采用 ruleset 方案，使用 RULE-SET 规则搭配 .list 和 .mrs 规则集文件 5. sing-box 采用 ruleset 方案，使用 rule set 规则搭配 .json 和 .srs 规则集文件 对下载源的说明 1. 本教程默认下载源为 jsDelivr 源，格式为 https://cdn.jsdelivr.net/gh/[username]/[reponame]@[branchname]/[filename] ，此源中 文件更新有 12 小时延迟 2. 若 jsDelivr 源无法访问，可将地址改为 https://testingcf.jsdelivr.net/gh/[username]/[reponame]@[branchname]/[filename] 3. 推荐使用 GitHub 源，格式分别为 https://github.com/[username]/[reponame]/releases/download/[tagname]/[filename] （推荐）、 https://raw.githubusercontent.com/[username]/[reponame]/[tagname]/[filename] 和 https://raw.githubusercontent.com/[username]/[reponame]/[branchname]/[filename] 4. 若 GitHub 源无法访问，可添加 https://ghfast.top/ 前缀，即：将地址分别改为 https://ghfast.top/https://github.com/[username]/[reponame]/releases/download/[tagname]/[filename] （推荐）、 https://ghfast.top/https://raw.githubusercontent.com/[username]/[reponame]/[tagname]/[filename] 和 https:","default_branch":null,"files":null,"tree":[],"storefront":"/r/DustinWin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DustinWin/dustinwin.github.io/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}