forked from qiubaiying/qiubaiying.github.io
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathReality一键安装脚本和各个系统客户端收集推荐.html
1 lines (1 loc) · 156 KB
/
Reality一键安装脚本和各个系统客户端收集推荐.html
1
<!DOCTYPE html><html lang="zh-CN" data-default-color-scheme="auto"><head><meta charset="UTF-8"><link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.webp"><link rel="icon" href="/img/favicon.webp"><link rel="canonical" href="https://jichangtuijian.com/reality一键安装脚本和各个系统客户端收集推荐.html"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5,shrink-to-fit=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"><meta name="theme-color" content="#2f4154"><meta name="author" content=""><meta name="keywords" content="机场推荐"><meta name="description" content="tag:Reality,一键安装脚本,自建翻墙 Trojan特征也很明显,容易被识别,暂时推荐使用最新的Reality自建翻墙代理。不被GFW识别封ip,目前最稳的自建协议。下面是一键安装脚本。后面有各个系统的客户端推荐和配置使用教程。 辛苦整理,转载请带来源,谢谢。 适合翻墙建站国外VPS服务器主机推荐 :适合自建梯子,或者建站VPS。有便宜有贵的。 本人Telegram电报频道:科学上网观察与"><meta property="og:type" content="article"><meta property="og:title" content="Reality一键安装脚本和各个系统客户端收集推荐"><meta property="og:url" content="https://jichangtuijian.com/reality%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85%E8%84%9A%E6%9C%AC%E5%92%8C%E5%90%84%E4%B8%AA%E7%B3%BB%E7%BB%9F%E5%AE%A2%E6%88%B7%E7%AB%AF%E6%94%B6%E9%9B%86%E6%8E%A8%E8%8D%90.html"><meta property="og:site_name" content="机场推荐与机场评测"><meta property="og:description" content="tag:Reality,一键安装脚本,自建翻墙 Trojan特征也很明显,容易被识别,暂时推荐使用最新的Reality自建翻墙代理。不被GFW识别封ip,目前最稳的自建协议。下面是一键安装脚本。后面有各个系统的客户端推荐和配置使用教程。 辛苦整理,转载请带来源,谢谢。 适合翻墙建站国外VPS服务器主机推荐 :适合自建梯子,或者建站VPS。有便宜有贵的。 本人Telegram电报频道:科学上网观察与"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://jichangtuijian.com/uploads/reality/reality.webp"><meta property="og:image" content="https://jichangtuijian.com/uploads/reality/v2rayN.webp"><meta property="og:image" content="https://jichangtuijian.com/uploads/reality/shadowrocket.webp"><meta property="og:image" content="https://jichangtuijian.com/uploads/reality/foxray_main.webp"><meta property="og:image" content="https://jichangtuijian.com/uploads/reality/foxray_tcp_grcp.webp"><meta property="og:image" content="https://jichangtuijian.com/uploads/reality/V2Box.webp"><meta property="article:published_time" content="2023-05-13T14:53:12.602Z"><meta property="article:modified_time" content="2024-10-22T13:40:43.501Z"><meta property="article:tag" content="Reality"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:image" content="https://jichangtuijian.com/uploads/reality/reality.webp"><title>Reality一键安装脚本和各个系统客户端收集推荐 - 机场推荐与机场评测</title><link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/bootstrap/4.6.0/css/bootstrap.min.css"><link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/github-markdown-css/4.0.0/github-markdown.min.css"><link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/hint.css/2.6.0/hint.min.css"><link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/fancybox/3.5.7/jquery.fancybox.min.css"><link rel="stylesheet" href="//at.alicdn.com/t/c/font_1749284_5i9bdhy70f8.css"><link rel="stylesheet" href="//at.alicdn.com/t/c/font_1736178_k526ubmyhba.css"><link rel="stylesheet" href="/css/main.css"><script id="fluid-configs">var Fluid=window.Fluid||{};Fluid.ctx=Object.assign({},Fluid.ctx);var CONFIG={hostname:"jichangtuijian.com",root:"/",version:"1.9.8",typing:{enable:!1,typeSpeed:70,cursorChar:"_",loop:!1,scope:[]},anchorjs:{enable:!1,element:"h1,h2,h3,h4,h5,h6",placement:"left",visible:"hover",icon:""},progressbar:{enable:!0,height_px:3,color:"#29d",options:{showSpinner:!1,trickleSpeed:100}},code_language:{enable:!0,default:"TEXT"},copy_btn:!1,image_caption:{enable:!0},image_zoom:{enable:!0,img_url_replace:["",""]},toc:{enable:!0,placement:"right",headingSelector:"h1,h2,h3,h4,h5,h6",collapseDepth:0},lazyload:{enable:!0,loading_img:"/img/loading.svg",onlypost:!1,offset_factor:2},web_analytics:{enable:!1,follow_dnt:!0,baidu:null,google:{measurement_id:null},tencent:{sid:null,cid:null},leancloud:{app_id:null,app_key:null,server_url:null,path:"window.location.pathname",ignore_local:!1},umami:{src:null,website_id:null,domains:null,start_time:"2024-01-01T00:00:00.000Z",token:null,api_server:null}},search_path:"/local-search.xml",include_content_in_search:!0};if(CONFIG.web_analytics.follow_dnt){var dntVal=navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack;Fluid.ctx.dnt=dntVal&&(dntVal.startsWith("1")||dntVal.startsWith("yes")||dntVal.startsWith("on"))}</script><script src="/js/utils.js"></script><script src="/js/color-schema.js"></script><meta name="generator" content="Hexo 7.0.0"></head><body><header><div class="header-inner" style="height:70vh"><nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar"><div class="container"><a class="navbar-brand" href="/"><strong>机场推荐</strong> </a><button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><div class="animated-icon"><span></span><span></span><span></span></div></button><div class="collapse navbar-collapse" id="navbarSupportedContent"><ul class="navbar-nav ml-auto text-center"><li class="nav-item"><a class="nav-link" href="/" target="_self"><i class="iconfont icon-home-fill"></i> <span>首页</span></a></li><li class="nav-item"><a class="nav-link" href="/archives/" target="_self"><i class="iconfont icon-archive-fill"></i> <span>归档</span></a></li><li class="nav-item" id="color-toggle-btn"><a class="nav-link" target="_self" href="javascript:;" rel="external nofollow noreferrer" aria-label="Color Toggle"><i class="iconfont icon-dark" id="color-toggle-icon"></i></a></li></ul></div></div></nav><div id="banner" class="banner" parallax="true" style="background:url(/img/default.webp) no-repeat center center;background-size:cover"><div class="full-bg-img"><div class="mask flex-center" style="background-color:rgba(0,0,0,.3)"><div class="banner-text text-center fade-in-up"><div class="h2"><span id="subtitle">Reality一键安装脚本和各个系统客户端收集推荐</span></div><div class="mt-3"></div><div class="mt-1"></div></div></div></div></div></div></header><main><div class="container-fluid nopadding-x"><div class="row nomargin-x"><div class="side-col d-none d-lg-block col-lg-2"></div><div class="col-lg-8 nopadding-x-md"><div class="container nopadding-x-md" id="board-ctn"><div id="board"><article class="post-content mx-auto"><h1 id="seo-header">Reality一键安装脚本和各个系统客户端收集推荐</h1><p id="updated-time" class="note note-info">本文最后更新于 2024年10月22日 晚上</p><div class="markdown-body"><p>tag:Reality,一键安装脚本,自建翻墙</p><p>Trojan特征也很明显,容易被识别,暂时推荐使用最新的Reality自建翻墙代理。不被GFW识别封ip,目前最稳的自建协议。下面是一键安装脚本。后面有各个系统的客户端推荐和配置使用教程。</p><p>辛苦整理,转载请带来源,谢谢。</p><p><a href="./国外VPS主机推荐.html" target="_blank">适合翻墙建站国外VPS服务器主机推荐</a> :适合自建梯子,或者建站VPS。有便宜有贵的。</p><p>本人Telegram电报频道:<a href="https://t.me/jichangtj" rel="external nofollow noreferrer">科学上网观察与机场测速频道</a>:掌握最新机场优惠折扣通知,最新机场推荐与机场评测,最新科学上网相关新闻与消息,欢迎关注。</p><span id="more"></span><h2 id="Reality优点"><a href="#Reality优点" class="headerlink" title="Reality优点"></a>Reality优点</h2><p><a href="https://github.com/XTLS/Xray-core/discussions/1295" rel="external nofollow noreferrer">TLS in TLS问题,XTLS Vision</a>。但是目前我们都不知道gfw到底能不能识别Trojan,REALITY适合搭建了trojan还被封的用户。</p><p>REALITY本质是对通过认证的外层 TLS 进行了一次事先约好的 MitM</p><details><br><summary>原理拾零,以下来源于作者RPRX在github issue回答,看不懂也没影响,点击展开</summary><br><br><a href="https://github.com/XTLS/Xray-core/issues/1689#issuecomment-1439447009" rel="external nofollow noreferrer">REALITY 的设计哲学</a>:<br><br>1)在设计上就把安全等级拉满,限制人的可控范围,最大程度降低人为因素的影响,文章中再细说<br>2)信任服务端,客户端不可信,甚至默认客户端持有的节点信息全泄露了,文章中再细说<br>3)服务端对客户端是有选择的,比如拒绝版本过低的 Xray-core 连接,防止过时的客户端实现不当害了服务端,比如指纹过时<br>以后服务端还可以带信息给客户端,告知客户端有新版了/告知客户端版本过低,要求更新,否则多长时间后不再支持<br><br><br><br>原理拾零:<br>REALITY 是生成一个最小证书,然后用 hmac 对其中的公钥签名填到signature,客户端接管证书验证,可以区分它与正常证书。所以证书链攻击对 REALITY 完全无效,比如来自 CA 的攻击、手机(系统)内置根证书等,比普遍没 pin 证书的 TLS 更安全。强制双向认证,但不会把特征拉满,且不基于现有的根证书体系,比常规的 TLS 更安全。<br><br>配置中 publicKey 和 privateKey 的作用:<br>客户端用 Client Hello 中 key_share 对应的私钥和配置中的 publicKey 算出一个共享密钥,再 HKDF 生成“临时认证密钥”,用它对版本号、时间戳、Short ID 进行 AEAD 认证加密,附加数据为整个握手,结果填充至 session ID,以供服务端验证请求。<br>服务端用配置中的 privateKey 和 Client Hello 中的 key_share 算出一个相同的共享密钥,再 HKDF 生成相同的“临时认证密钥”,用它解密、验证客户端的请求,然后生成一个 Ed25519 “临时可信证书”,签名为“临时认证密钥”对其中的公钥的 HMAC。<br><br>REALITY 的原理不是“偷证书”,TLSv1.3 把 Server Hello 后的消息全加密了,中间人看不到证书。REALITY 服务端只偷了目标网站的 Server Hello,和后续握手消息的长度特征。<br><br>REALITY 服务端始终是双向转发流量,同时在符合一些条件时尝试对 Client Hello 进行验证,验证成功才会自己处理<br><br>REALITY 客户端应当收到由“临时认证密钥”签发的“临时可信证书”,正常不会收到目标网站的真证书。目标网站是自己选的,你得保证目标网站的证书有效,就像允许哪些 serverNames 也由服务端决定一样,想的话你随便填都行。只要 dest 有默认证书,你就可以填任何 serverNames。<br><br>来源:<br><a href="https://github.com/XTLS/Xray-core/issues/1734#issuecomment-1453135481" rel="external nofollow noreferrer">#1701 (comment)</a><br><a href="https://github.com/XTLS/Xray-core/issues/1701#issuecomment-1442150048" rel="external nofollow noreferrer">#1697 (comment)</a><br><a href="https://github.com/XTLS/Xray-core/issues/1697#issuecomment-1441215569" rel="external nofollow noreferrer">#1697 (comment)</a><br><a href="https://github.com/XTLS/Xray-core/issues/1681#issuecomment-1436655742" rel="external nofollow noreferrer">#1681 (comment)</a><br><a href="https://github.com/XTLS/Xray-core/issues/1588#issuecomment-1415861613" rel="external nofollow noreferrer">#1588 (comment)</a><br><br></details><p><a href="https://github.com/XTLS/Trojan-killer" rel="external nofollow noreferrer">检测 TLS in TLS 的工具</a></p><p><a href="https://github.com/XTLS/REALITY" rel="external nofollow noreferrer">Xray REALITY 官方github地址</a></p><p>Reality优点:</p><ol><li>无TLS特征。仍有前向保密性等,且证书链攻击无效,安全性超越常规 TLS</li><li>可指向别人的网站,不需要域名。配置 TLS 服务端,更方便,实现向中间人呈现指定 SNI 的全程真实 TLS</li></ol><p>不过reality也不是完全安全,墙直接发威ban整个ip段啥协议都没用。首先得ip干净,比如Vultr,甲骨文,谷歌云等这种被重点关注的就很容易被墙。</p><h2 id="一键脚本"><a href="#一键脚本" class="headerlink" title="一键脚本"></a>一键脚本</h2><p>买的线路不好的话可以安装BBR加速:</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh</span><br></pre></td></tr></table></figure><p>然后重启。</p><h3 id="mack-a大八合一"><a href="#mack-a大八合一" class="headerlink" title="mack-a大八合一"></a>mack-a大八合一</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh</span><br></pre></td></tr></table></figure><p>选择[5.REALITY管理] –选则1安装 – 端口输入443–输入域名最低标准为:国外网站,支持 TLSv1.3 、H2–后面回车即可。</p><p>域名别用微软家的,最好你的 vps 是哪个国家的就用哪个国家的域名。</p><details><br><summary>图例子,点击展开</summary><br><img src="/uploads/reality/reality.webp" srcset="/img/loading.svg" lazyload width="90%" align="center" alt="1"><br></details><p>注意复制好最后的通用格式、格式化明文和二维码节点信息。后面导入需要使用。<br>reality的dest相当于端口转发,可以把它理解为nginx的反代,servername最好和dest一致。</p><details><br><summary>国外网站域名推荐,点击展开</summary><br><br><br>gateway.icloud.com<br>itunes.apple.com<br>download-installer.cdn.mozilla.net<br>airbnb【这个不同的区有不同的域名建议自己搜索】<br>addons.mozilla.org<br><a href="http://www.lovelive-anime.jp" rel="external nofollow noreferrer">www.lovelive-anime.jp</a><br><a href="http://www.speedtest.net" rel="external nofollow noreferrer">www.speedtest.net</a><br><a href="http://www.speedtest.org" rel="external nofollow noreferrer">www.speedtest.org</a><br><br>CDN<br>Apple:<br>swdist.apple.com<br>swcdn.apple.com<br>updates.cdn-apple.com<br>mensura.cdn-apple.com<br>osxapps.itunes.apple.com<br>aod.itunes.apple.com<br><br>Amazon:<br>s0.awsstatic.com<br>d1.awsstatic.com<br>images-na.ssl-images-amazon.com<br>m.media-amazon.com<br>player.live-video.net<br><br>Google:<br>dl.google.com<br><a href="http://www.google-analytics.com" rel="external nofollow noreferrer">www.google-analytics.com</a><br><br></details><h3 id="X-UI一键脚本"><a href="#X-UI一键脚本" class="headerlink" title="X-UI一键脚本"></a>X-UI一键脚本</h3><p>xui只是个可视化的配置工具,和一键脚本都差不多,本质还是用的xray,也可以使用这些搞一键安装。</p><p><a href="https://github.com/sing-web/x-ui" rel="external nofollow noreferrer">https://github.com/sing-web/x-ui</a></p><p><a href="https://github.com/MHSanaei/3x-ui" rel="external nofollow noreferrer">https://github.com/MHSanaei/3x-ui</a></p><p><a href="https://github.com/FranzKafkaYu/x-ui" rel="external nofollow noreferrer">https://github.com/FranzKafkaYu/x-ui</a></p><h2 id="各个平台客户端"><a href="#各个平台客户端" class="headerlink" title="各个平台客户端"></a>各个平台客户端</h2><h3 id="一、Windows"><a href="#一、Windows" class="headerlink" title="一、Windows"></a>一、Windows</h3><h4 id="1-v2rayN"><a href="#1-v2rayN" class="headerlink" title="1.v2rayN"></a>1.v2rayN</h4><p>下载地址:<a href="https://github.com/2dust/v2rayN" rel="external nofollow noreferrer">https://github.com/2dust/v2rayN</a></p><p>需要先下载<a href="https://github.com/XTLS/Xray-core/releases" rel="external nofollow noreferrer">Xray-core</a><br>Xray-Core需要1.8.1以上<br>放到bin\Xray文件夹中</p><p>导入:</p><p>复制通用格式,然后点击“<strong>服务器–从剪贴板导入批量URL</strong>”</p><p>或者自己填写:右上角<strong>服务器–添加VLESS服务器</strong> SNI就填回落域名,用户ID是账号</p><p><img src="/uploads/reality/v2rayN.webp" srcset="/img/loading.svg" lazyload width="90%" align="center" alt="v2rayN客户端配置设置教程"></p><p>v2rayN教程:<br>回到主页面,右键该节点–设置为活动服务器<br>简单点,直接设置为系统代理,这样整个电脑都走这个软件。</p><p>Clash meta相关文档:<a href="https://docs.metacubex.one/" rel="external nofollow noreferrer">https://docs.metacubex.one/</a></p><p><a href="https://clash-meta.wiki/" rel="external nofollow noreferrer">https://clash-meta.wiki/</a></p><h4 id="2-Clash-Verge-rev"><a href="#2-Clash-Verge-rev" class="headerlink" title="2.Clash Verge-rev"></a>2.Clash Verge-rev</h4><p><a href="https://github.com/clash-verge-rev/clash-verge-rev/releases" rel="external nofollow noreferrer">下载</a></p><p>Clash Verge 是另一个跨平台的 Clash 代理软件,相比 Clash for Windows,体积更小,运行时占用资源更低,设置更少使用更简单,自带中文语言.且可以一键更改内核为clash.meta</p><p>使用tauri写的clash GUI。支持Windows, macOS和Linux,发布一年了,支持中文。</p><p>一键切换内核:<br>英文:Setting–Clash Core–/Clash-Meta–RESTART<br>中文:设置–Clash内核–/Clash-Meta–重启内核</p><p><a href="./clash-verge-rev.html">教程</a></p><h4 id="3-Clash-nyanpasu"><a href="#3-Clash-nyanpasu" class="headerlink" title="3.Clash-nyanpasu"></a>3.Clash-nyanpasu</h4><p>Win/Mac/Linux<br><a href="https://github.com/keiko233/clash-nyanpasu/releases" rel="external nofollow noreferrer">下载</a><br>界面简约点清新</p><p><a href="https://jichanggo.com/clash-nyanpasu%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b" rel="external nofollow noreferrer">教程</a></p><h4 id="4-GUI-for-Clash"><a href="#4-GUI-for-Clash" class="headerlink" title="4.GUI.for.Clash"></a>4.GUI.for.Clash</h4><p>Win/Mac/Linux 全协议 。 vue3 + wails开发<br><a href="https://github.com/GUI-for-Cores/GUI.for.Clash" rel="external nofollow noreferrer">下载</a></p><h4 id="5-GUI-for-SingBox"><a href="#5-GUI-for-SingBox" class="headerlink" title="5.GUI.for.SingBox"></a>5.GUI.for.SingBox</h4><p>Win/Mac/Linux 全协议 。 不支持ssr<br><a href="https://github.com/GUI-for-Cores/GUI.for.SingBox" rel="external nofollow noreferrer">下载</a></p><h4 id="6-Hiddify"><a href="#6-Hiddify" class="headerlink" title="6.Hiddify"></a>6.Hiddify</h4><p>全平台 , 使用简单但bug多 ,不支持ssr 。伊朗人开发的。</p><p><a href="https://github.com/hiddify/hiddify-next/releases" rel="external nofollow noreferrer">下载</a></p><p><a href="./hiddifynext.html">教程</a></p><h4 id="7-FlClash"><a href="#7-FlClash" class="headerlink" title="7.FlClash"></a>7.FlClash</h4><p>支持mac、hwindow和安卓。 Flutter开发,仿Surfboard</p><p><a href="https://github.com/chen08209/FlClash" rel="external nofollow noreferrer">下载</a></p><p><a href="./flclash.html">教程</a></p><h4 id="8-ClashN"><a href="#8-ClashN" class="headerlink" title="8.ClashN"></a>8.ClashN</h4><p>下载地址:<a href="https://github.com/2dust/clashN" rel="external nofollow noreferrer">https://github.com/2dust/clashN</a></p><p>A clash client for Windows, supports Clash core and Clash.Meta core</p><h4 id="8-nekoray"><a href="#8-nekoray" class="headerlink" title="8.nekoray"></a>8.nekoray</h4><p>下载地址:<a href="https://github.com/MatsuriDayo/nekoray" rel="external nofollow noreferrer">https://github.com/MatsuriDayo/nekoray</a></p><p><a href="./nekoray.html">教程</a></p><h4 id="9-Clash-for-Windows"><a href="#9-Clash-for-Windows" class="headerlink" title="9.Clash for Windows"></a>9.Clash for Windows</h4><p>下载地址:<a href="https://github.com/Fndroid/clash_for_windows_pkg/releases" rel="external nofollow noreferrer">https://github.com/Fndroid/clash_for_windows_pkg/releases</a></p><p>需自己替换内核为<a href="https://github.com/MetaCubeX/Clash.Meta/releases/tag/v1.14.3" rel="external nofollow noreferrer">Clash.Meta</a>,<br>(一般64位的选clash.meta-windows-amd64,x86:32位系统专用)<br>内核名字改为clash-win64.exe。替换文件:clash-win64.exe ,默认Clash安装目录:C:\Program Files\Clash for Windows\resources\static\files\win\x64</p><p><a href="./clash教程.html">教程</a></p><details><br><summary>clash配置例子,点击展开</summary><br>grcp:<br><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">- name: reality-grpc</span><br><span class="line"> server: ip地址</span><br><span class="line"> type: vless</span><br><span class="line"> port: 端口</span><br><span class="line"> uuid: 你的uuid</span><br><span class="line"> network: grpc</span><br><span class="line"> servername: 回落域名</span><br><span class="line"> flow: ""</span><br><span class="line"> udp: true</span><br><span class="line"> tls: true</span><br><span class="line"> reality-opts:</span><br><span class="line"> public-key: 公钥publicKey</span><br><span class="line"> client-fingerprint: chrome</span><br><span class="line"> grpc-opts:</span><br><span class="line"> grpc-service-name: grpc</span><br></pre></td></tr></table></figure><br><br>或者<br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">- {name: reality-grpc, server: ip地址, type: vless, port: 端口, uuid: 你的uuid ,network: grpc, servername: 回落域名, flow: "", udp: true, tls: true, reality-opts: { public-key: 公钥publicKey }, client-fingerprint: chrome, grpc-opts: {grpc-service-name: grpc } }</span><br></pre></td></tr></table></figure><br><br>tcp:<br><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line">- name: reality-tcp</span><br><span class="line"> server: vpsIP地址</span><br><span class="line"> type: vless</span><br><span class="line"> port: 端口</span><br><span class="line"> uuid: 你的uuid</span><br><span class="line"> network: tcp</span><br><span class="line"> servername: 允许客户端访问的域名,对应的是服务端 serverNames</span><br><span class="line"> flow: xtls-rprx-vision</span><br><span class="line"> udp: true</span><br><span class="line"> tls: true</span><br><span class="line"> reality-opts:</span><br><span class="line"> public-key: 公钥publicKey</span><br><span class="line"> client-fingerprint: chrome</span><br></pre></td></tr></table></figure><br><br></details><h3 id="二、MacOS"><a href="#二、MacOS" class="headerlink" title="二、MacOS"></a>二、MacOS</h3><h4 id="1-Clash-Verge"><a href="#1-Clash-Verge" class="headerlink" title="1.Clash Verge"></a>1.Clash Verge</h4><p>同上</p><h4 id="2-Clash-nyanpasu"><a href="#2-Clash-nyanpasu" class="headerlink" title="2.Clash-nyanpasu"></a>2.Clash-nyanpasu</h4><p>同上</p><h4 id="3-GUI-for-Clash"><a href="#3-GUI-for-Clash" class="headerlink" title="3.GUI.for.Clash"></a>3.GUI.for.Clash</h4><p>同上</p><h4 id="4-GUI-for-Clash-1"><a href="#4-GUI-for-Clash-1" class="headerlink" title="4.GUI.for.Clash"></a>4.GUI.for.Clash</h4><p>同上</p><h4 id="5-FlClash"><a href="#5-FlClash" class="headerlink" title="5.FlClash"></a>5.FlClash</h4><p>同上</p><h4 id="6-Hiddify-1"><a href="#6-Hiddify-1" class="headerlink" title="6.Hiddify"></a>6.Hiddify</h4><p>同上</p><h4 id="7-ClashX-Meta"><a href="#7-ClashX-Meta" class="headerlink" title="7.ClashX.Meta"></a>7.ClashX.Meta</h4><p>下载地址:<a href="https://github.com/MetaCubeX/ClashX.Meta" rel="external nofollow noreferrer">https://github.com/MetaCubeX/ClashX.Meta</a><br>和clashX 使用差不多的。</p><h4 id="8-Foxray"><a href="#8-Foxray" class="headerlink" title="8.Foxray"></a>8.Foxray</h4><p>下载地址:<a href="https://apps.apple.com/us/app/foxray/id6448898396?l=zh" rel="external nofollow noreferrer">https://apps.apple.com/us/app/foxray/id6448898396?l=zh</a></p><p>原来的wingsX,改名了。见下方ios部分。</p><p>规则文件地址:<a href="https://github.com/hwanz/FoXray" rel="external nofollow noreferrer">https://github.com/hwanz/FoXray</a></p><h4 id="9-V2RayXS"><a href="#9-V2RayXS" class="headerlink" title="9.V2RayXS"></a>9.V2RayXS</h4><p>下载地址:<a href="https://github.com/tzmax/V2RayXS/releases" rel="external nofollow noreferrer">https://github.com/tzmax/V2RayXS/releases</a><br>GUI for xray-core on macOS<br>支持VLESS and XTLS</p><h4 id="10-Clash-for-Windows"><a href="#10-Clash-for-Windows" class="headerlink" title="10.Clash for Windows"></a>10.Clash for Windows</h4><p>下载地址:<a href="https://github.com/Fndroid/clash_for_windows_pkg/releases" rel="external nofollow noreferrer">https://github.com/Fndroid/clash_for_windows_pkg/releases</a></p><p>同上改内核<a href="https://github.com/MetaCubeX/Clash.Meta/releases/tag/v1.14.3" rel="external nofollow noreferrer">Clash.Meta</a>, 内核选择:<br>intel选darwin-amd64 ,m1、m2选darwin-arm64</p><p>替换文件:</p><p>intel、ARM(M1、M2):/Applications/Clash\ for\ Windows.app/Contents/Resources/static/files/darwin/x64/</p><p>(找不到就右键Clash for Windows–选项–在访达中显示–打开应用程序–右键Clash for Windows–显示包内容)</p><p>需要下载v1.14.3+的core,mac的名字改为clash-darwin ,关闭clash后,替换文件,在当前目录打开终端执行: chmod +x clash-darwin ,将这个文件改为可执行文件。重新打开文件。</p><h3 id="三、IOS"><a href="#三、IOS" class="headerlink" title="三、IOS"></a>三、IOS</h3><h4 id="1-Shadowrocket"><a href="#1-Shadowrocket" class="headerlink" title="1.Shadowrocket"></a>1.Shadowrocket</h4><p>正式版2.2.30(1947)版本以上。<br>复制一键订阅后打开小火箭即可自动导入。 <a href="./IOS-Shadowrocket小火箭使用教程.html">教程</a></p><p><img src="/uploads/reality/shadowrocket.webp" srcset="/img/loading.svg" lazyload width="90%" align="center" alt="shadowrocket"></p><h4 id="2-strisand"><a href="#2-strisand" class="headerlink" title="2.strisand"></a>2.strisand</h4><p>IOS ,新出,使用简单</p><p><a href="https://apps.apple.com/us/app/streisand/id6450534064?ign-itscg=30200&ign-itsct=apps_box_badge%5C" rel="external nofollow noreferrer">免费下载</a></p><p><a href="https://jichanggo.com/streisand" rel="external nofollow noreferrer">教程</a></p><h4 id="3-Karing"><a href="#3-Karing" class="headerlink" title="3.Karing"></a>3.Karing</h4><p>支持Win/Mac/IOS/Android,全协议 ,功能多但不够美观<br><a href="https://github.com/KaringX/karing/blob/main/README_cn.md" rel="external nofollow noreferrer">免费下载</a> |</p><p><a href="https://jichanggo.com/karing" rel="external nofollow noreferrer">教程</a></p><h4 id="4-Potatso-Pro"><a href="#4-Potatso-Pro" class="headerlink" title="4.Potatso Pro"></a>4.Potatso Pro</h4><p>全协议。<br>使用简单。<a href="https://apps.apple.com/us/app/pharos-pro/id1456610173" rel="external nofollow noreferrer">2.99$下载</a> | 用的人不多</p><p><a href="https://jichanggo.com/potatso" rel="external nofollow noreferrer">教程</a></p><h4 id="5-Foxray"><a href="#5-Foxray" class="headerlink" title="5.Foxray"></a>5.Foxray</h4><p><a href="https://apps.apple.com/us/app/foxray/id6448898396?l=zh" rel="external nofollow noreferrer">https://apps.apple.com/us/app/foxray/id6448898396?l=zh</a></p><p>需要IOS 16以上</p><p>原来的wingsX,改名了。导入挺方便的。<a href="https://t.me/foxrayapple" rel="external nofollow noreferrer">foxray TG频道</a></p><p>可以一键导入。</p><details><br><summary>导入说明</summary><br><img src="/uploads/reality/foxray_main.webp" srcset="/img/loading.svg" lazyload width="90%" align="center" alt="foxray首页"><br>从左到右分别为:手动添加节点,摄像头扫二维码添加,扫描本地二维码图片添加,从剪贴板粘贴添加节点<br><br>填对应的ip,端口,uuid和域名。<br><br>手动添加reality-tcp和reality-grpc节点<br><img src="/uploads/reality/foxray_tcp_grcp.webp" srcset="/img/loading.svg" lazyload width="90%" align="center" alt="foxray手动添加reality-tcp和reality-grcp节点"><br><br></details><p>不过目前会全局模式访问网络。还需要导入规则:</p><p>下面是规则<br>规则文件地址:<a href="https://github.com/hwanz/FoXray" rel="external nofollow noreferrer">https://github.com/hwanz/FoXray</a></p><details><br><summary>规则,点击展开</summary><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">foxray://eyJkbnMiOnsic2Vjb25kVGFnIjoiZGlyZWN0IiwiZGlzYWJsZUZhbGxiYWNrIjpmYWxzZSwicXVlcnlTdHJhdGVneSI6IlVzZUlQIiwibmFtZVNlcnZlcnMiOlt7ImFkZHJlc3MiOiIyMjMuNS41LjUiLCJkb21haW5zIjpbXSwiaXAiOltdLCJpZCI6IjNDOTEyNTRFLUJBRTYtNDE1Ni1BNDIxLUVFNTlDMUIwMDJBNSIsImV4cGVjdElQcyI6WyJDTiJdLCJkb21haW5UeXBlIjoiZG9tYWluIiwidHlwZSI6InN0YW5kYXJkIiwiZ2VvRG9tYWluIjpbXSwic2tpcEZhbGxiYWNrIjpmYWxzZSwibmFtZSI6ImFsaWRucyJ9LHsiYWRkcmVzcyI6IjguOC44LjgiLCJkb21haW5zIjpbXSwiaXAiOltdLCJpZCI6IjhDQjQ2MTY2LUZCNzgtNEQ0My1BNEY4LUYwOTZGNEI0NzkxMCIsImV4cGVjdElQcyI6W10sImRvbWFpblR5cGUiOiJkb21haW4iLCJ0eXBlIjoic3RhbmRhcmQiLCJnZW9Eb21haW4iOltdLCJza2lwRmFsbGJhY2siOmZhbHNlLCJuYW1lIjoiZ29vZ2xlLWRucyJ9XSwiZGlzYWJsZUNhY2hlIjpmYWxzZSwiZGlzYWJsZUZhbGxiYWNrSWZNYXRjaCI6ZmFsc2UsImRlZmF1bHREbnMiOiI4LjguOC44IiwibmFtZSI6ImNuLWRucyIsIm91dGJvdW5kVGFnIjoiZGlyZWN0In0sIm5hbWVTZXJ2ZXJzIjpbeyJhZGRyZXNzIjoiMjIzLjUuNS41IiwiZG9tYWlucyI6W10sImlwIjpbXSwiaWQiOiIzQzkxMjU0RS1CQUU2LTQxNTYtQTQyMS1FRTU5QzFCMDAyQTUiLCJleHBlY3RJUHMiOlsiQ04iXSwiZG9tYWluVHlwZSI6ImRvbWFpbiIsInR5cGUiOiJzdGFuZGFyZCIsImdlb0RvbWFpbiI6W10sInNraXBGYWxsYmFjayI6ZmFsc2UsIm5hbWUiOiJhbGlkbnMifSx7ImFkZHJlc3MiOiI4LjguOC44IiwiZG9tYWlucyI6W10sImlwIjpbXSwiaWQiOiI4Q0I0NjE2Ni1GQjc4LTRENDMtQTRGOC1GMDk2RjRCNDc5MTAiLCJleHBlY3RJUHMiOltdLCJkb21haW5UeXBlIjoiZG9tYWluIiwidHlwZSI6InN0YW5kYXJkIiwiZ2VvRG9tYWluIjpbXSwic2tpcEZhbGxiYWNrIjpmYWxzZSwibmFtZSI6Imdvb2dsZS1kbnMifV19</span><br></pre></td></tr></table></figure><br><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">foxray://eyJyb3V0ZXIiOnsicnVsZXMiOlt7ImRvbWFpbiI6W10sImdlb2lwIjpbInByaXZhdGUiXSwiaWQiOiJBOTU1QTFFRi0wMzZELTQ1NDItQjEzQy0zNDhEMTI1MUUxOEUiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbXSwidHlwZSI6IklQIiwibmFtZSI6InByaXZhdGVJcCIsImlwIjpbXX0seyJkb21haW4iOlsienVjaGUuY29tIl0sImdlb2lwIjpbXSwiaWQiOiI2NzI3NzFBQy1CRERELTRGRjYtODIyMS1EOTJDM0QxQTc4QjMiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbInByaXZhdGUiLCJhcHBsZSIsImJpbmciLCJjbiJdLCJ0eXBlIjoiRG9tYWluIiwibmFtZSI6ImNuIiwiaXAiOltdfV0sIm5hbWUiOiJjbi1kaXJlY3QiLCJkZWZhdWx0VGFnIjoicHJveHkiLCJkb21haW5TdHJhdGVneSI6IkFzSXMifSwicnVsZXMiOlt7ImRvbWFpbiI6W10sImdlb2lwIjpbInByaXZhdGUiXSwiaWQiOiJBOTU1QTFFRi0wMzZELTQ1NDItQjEzQy0zNDhEMTI1MUUxOEUiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbXSwidHlwZSI6IklQIiwibmFtZSI6InByaXZhdGVJcCIsImlwIjpbXX0seyJkb21haW4iOlsienVjaGUuY29tIl0sImdlb2lwIjpbXSwiaWQiOiI2NzI3NzFBQy1CRERELTRGRjYtODIyMS1EOTJDM0QxQTc4QjMiLCJkb21haW5UeXBlIjoiZG9tYWluIiwidGFnIjoiZGlyZWN0IiwiZ2VvRG9tYWluIjpbInByaXZhdGUiLCJhcHBsZSIsImJpbmciLCJjbiJdLCJ0eXBlIjoiRG9tYWluIiwibmFtZSI6ImNuIiwiaXAiOltdfV19</span><br></pre></td></tr></table></figure><br></details><p><strong>分别复制后点击主页的“从剪贴板粘贴”,最后一个那个,一键导入配置。然后分别点击主页顶部的“路由”和”DNS”页面,选中刚才导入的配置,点击底部的“保存”。</strong></p><h4 id="6-V2Box"><a href="#6-V2Box" class="headerlink" title="6.V2Box"></a>6.V2Box</h4><p><a href="https://apps.apple.com/us/app/v2box-v2ray-client/id6446814690" rel="external nofollow noreferrer">官方下载地址</a></p><ul><li>支持 Shadowsocks, v2ray, trojan,vless,vmess</li><li>支持 Reality (xray)</li><li>支持 vless vision</li><li>支持 utls</li></ul><p>支持IOS 15,很多vless软件不支持IOS 16,V2Box缺点是有广告,作者说都是谷歌广告,不收集用户信息。</p><p><a href="https://t.me/v2box_support" rel="external nofollow noreferrer">官方TG群</a></p><p>使用很简单。</p><details><br><summary>导入说明</summary><br>点击下方Configs:<br>可以复制通用订阅,然后点击软件右上角加号–Import V2ray URI from Clipboard–<br>(或者点击右上角加号–ScanQR,扫订阅的二维码)<br>选择节点–点击下方Home–点击Slide to Connet即可<br><br><img src="/uploads/reality/V2Box.webp" srcset="/img/loading.svg" lazyload width="90%" align="center" alt="V2Box"><br><br></details><h4 id="7-sing-box-for-ios-sfi"><a href="#7-sing-box-for-ios-sfi" class="headerlink" title="7.sing-box for ios/sfi"></a>7.sing-box for ios/sfi</h4><p>下载和文档:<a href="https://sing-box.sagernet.org/installation/clients/sfi/" rel="external nofollow noreferrer">https://sing-box.sagernet.org/installation/clients/sfi/</a></p><p>规则文件已经上传到 github: <a href="https://github.com/hwanz/sing-box" rel="external nofollow noreferrer">https://github.com/hwanz/sing-box</a></p><details><br><summary>ios sing-box reality-tcp配置模版,略长,点击展开</summary><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br></pre></td><td class="code"><pre><span class="line">{</span><br><span class="line"> "log": {</span><br><span class="line"> "disabled": false,</span><br><span class="line"> "level": "error",</span><br><span class="line"> "timestamp": true</span><br><span class="line"> },</span><br><span class="line"> "dns": {</span><br><span class="line"> "servers": [</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-remote",</span><br><span class="line"> "address": "https://dns.google/dns-query",</span><br><span class="line"> "address_resolver": "dns-direct",</span><br><span class="line"> "address_strategy": "ipv4_only",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-direct",</span><br><span class="line"> "address": "https://dns.alidns.com/dns-query",</span><br><span class="line"> "address_resolver": "dns-local",</span><br><span class="line"> "address_strategy": "ipv4_only",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-local",</span><br><span class="line"> "address": "local",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-block",</span><br><span class="line"> "address": "rcode://success"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-fake",</span><br><span class="line"> "address": "fakeip",</span><br><span class="line"> "strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "server": "dns-local"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "server": "dns-block",</span><br><span class="line"> "disable_cache": true</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "tun-in",</span><br><span class="line"> "query_type": [</span><br><span class="line"> "A",</span><br><span class="line"> "AAAA"</span><br><span class="line"> ],</span><br><span class="line"> "geosite": "geolocation-!cn",</span><br><span class="line"> "server": "dns-fake",</span><br><span class="line"> "rewrite_ttl": 999999999</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "dns-remote",</span><br><span class="line"> "reverse_mapping": true,</span><br><span class="line"> "fakeip": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "inet4_range": "198.18.0.0/15",</span><br><span class="line"> "inet6_range": "fc00::/18"</span><br><span class="line"> },</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "independent_cache": true</span><br><span class="line"> },</span><br><span class="line"> "inbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "mixed",</span><br><span class="line"> "tag": "mixed-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 2080,</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "dns-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 6450,</span><br><span class="line"> "override_address": "8.8.8.8",</span><br><span class="line"> "override_port": 53</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "tun",</span><br><span class="line"> "tag": "tun-in",</span><br><span class="line"> "mtu": 9000,</span><br><span class="line"> "inet4_address": "172.19.0.1/30",</span><br><span class="line"> "inet6_address": "fdfe:dcba:9876::1/126",</span><br><span class="line"> "auto_route": true,</span><br><span class="line"> "strict_route": true,</span><br><span class="line"> "endpoint_independent_nat": true,</span><br><span class="line"> "stack": "system",</span><br><span class="line"> "platform": {</span><br><span class="line"> "http_proxy": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server": "127.0.0.1",</span><br><span class="line"> "server_port": 2080</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "outbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "vless",</span><br><span class="line"> "tag": "proxy",</span><br><span class="line"> "server": "", // 服务端的 IP</span><br><span class="line"> "server_port": 443,</span><br><span class="line"> "uuid": "", // 与服务端一致</span><br><span class="line"> "flow": "xtls-rprx-vision",</span><br><span class="line"> "tls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server_name": "", // 与服务端一致</span><br><span class="line"> "utls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹</span><br><span class="line"> },</span><br><span class="line"> "reality": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "public_key": "", // 填 "PublicKey" 的值</span><br><span class="line"> "short_id": "" // 与服务端一致</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "packet_encoding": "xudp"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "block",</span><br><span class="line"> "tag": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "dns",</span><br><span class="line"> "tag": "dns-out"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "route": {</span><br><span class="line"> "geoip": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "geosite": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "port": 53,</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "dns_in",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "protocol": "dns",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "network": "udp",</span><br><span class="line"> "port": 443,</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geoip": [</span><br><span class="line"> "cn",</span><br><span class="line"> "private"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "proxy",</span><br><span class="line"> "auto_detect_interface": true</span><br><span class="line"> },</span><br><span class="line"> "experimental": {</span><br><span class="line"> "clash_api": {</span><br><span class="line"> "external_controller": "127.0.0.1:9090",</span><br><span class="line"> "external_ui": "clash_api",</span><br><span class="line"> "external_ui_download_detour": "proxy",</span><br><span class="line"> "default_mode": "rule",</span><br><span class="line"> "store_fakeip": true,</span><br><span class="line"> "cache_file": "cache.db"</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line">}</span><br></pre></td></tr></table></figure><br><br></details><details><br><summary>ios sing-box reality-grcp配置模版,和tcp不一样的就是outbond部分,点击展开</summary><br><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br></pre></td><td class="code"><pre><span class="line">{</span><br><span class="line"> "log": {</span><br><span class="line"> "disabled": false,</span><br><span class="line"> "level": "error",</span><br><span class="line"> "timestamp": true</span><br><span class="line"> },</span><br><span class="line"> "dns": {</span><br><span class="line"> "servers": [</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-remote",</span><br><span class="line"> "address": "https://dns.google/dns-query",</span><br><span class="line"> "address_resolver": "dns-direct",</span><br><span class="line"> "address_strategy": "ipv4_only",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-direct",</span><br><span class="line"> "address": "https://dns.alidns.com/dns-query",</span><br><span class="line"> "address_resolver": "dns-local",</span><br><span class="line"> "address_strategy": "ipv4_only",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-local",</span><br><span class="line"> "address": "local",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-block",</span><br><span class="line"> "address": "rcode://success"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-fake",</span><br><span class="line"> "address": "fakeip",</span><br><span class="line"> "strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "server": "dns-local"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "server": "dns-block",</span><br><span class="line"> "disable_cache": true</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "tun-in",</span><br><span class="line"> "query_type": [</span><br><span class="line"> "A",</span><br><span class="line"> "AAAA"</span><br><span class="line"> ],</span><br><span class="line"> "geosite": "geolocation-!cn",</span><br><span class="line"> "server": "dns-fake",</span><br><span class="line"> "rewrite_ttl": 999999999</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "dns-remote",</span><br><span class="line"> "reverse_mapping": true,</span><br><span class="line"> "fakeip": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "inet4_range": "198.18.0.0/15",</span><br><span class="line"> "inet6_range": "fc00::/18"</span><br><span class="line"> },</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "independent_cache": true</span><br><span class="line"> },</span><br><span class="line"> "inbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "mixed",</span><br><span class="line"> "tag": "mixed-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 2080,</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "dns-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 6450,</span><br><span class="line"> "override_address": "8.8.8.8",</span><br><span class="line"> "override_port": 53</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "tun",</span><br><span class="line"> "tag": "tun-in",</span><br><span class="line"> "mtu": 9000,</span><br><span class="line"> "inet4_address": "172.19.0.1/30",</span><br><span class="line"> "inet6_address": "fdfe:dcba:9876::1/126",</span><br><span class="line"> "auto_route": true,</span><br><span class="line"> "strict_route": true,</span><br><span class="line"> "endpoint_independent_nat": true,</span><br><span class="line"> "stack": "system",</span><br><span class="line"> "platform": {</span><br><span class="line"> "http_proxy": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server": "127.0.0.1",</span><br><span class="line"> "server_port": 2080</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "outbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "vless",</span><br><span class="line"> "tag": "proxy",</span><br><span class="line"> "server": "", // 服务端的 IP</span><br><span class="line"> "server_port": 443,</span><br><span class="line"> "uuid": "", // 与服务端一致</span><br><span class="line"> "flow": "", // 留空</span><br><span class="line"> "tls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server_name": "", // 与服务端一致</span><br><span class="line"> "utls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹</span><br><span class="line"> },</span><br><span class="line"> "reality": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "public_key": "", // 填 "PublicKey" 的值</span><br><span class="line"> "short_id": "" // 与服务端一致</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "packet_encoding": "xudp",</span><br><span class="line"> "transport": {</span><br><span class="line"> "type": "grpc",</span><br><span class="line"> "service_name": "grpc" // 与服务端一致</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "block",</span><br><span class="line"> "tag": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "dns",</span><br><span class="line"> "tag": "dns-out"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "route": {</span><br><span class="line"> "geoip": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "geosite": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "port": 53,</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "dns_in",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "protocol": "dns",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "network": "udp",</span><br><span class="line"> "port": 443,</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geoip": [</span><br><span class="line"> "cn",</span><br><span class="line"> "private"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "proxy",</span><br><span class="line"> "auto_detect_interface": true</span><br><span class="line"> },</span><br><span class="line"> "experimental": {</span><br><span class="line"> "clash_api": {</span><br><span class="line"> "external_controller": "127.0.0.1:9090",</span><br><span class="line"> "external_ui": "clash_api",</span><br><span class="line"> "external_ui_download_detour": "proxy",</span><br><span class="line"> "default_mode": "rule",</span><br><span class="line"> "store_fakeip": true,</span><br><span class="line"> "cache_file": "cache.db"</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line">}</span><br></pre></td></tr></table></figure><br><br></details><p>点击Profiles-New Profile–Name随便起名字–Create–点击刚才创建的配置–Edit Content–删除里面的本来的{}–复制粘贴配置进去–check检查下弹窗success表示格式正确</p><p>short_id 可以空。</p><p>ios:sfi不支持system stack,所以配置里面用的是gvisor。</p><h4 id="8-meta-for-ios-mfi"><a href="#8-meta-for-ios-mfi" class="headerlink" title="8.meta for ios/mfi"></a>8.meta for ios/mfi</h4><p>下载地址:<a href="https://t.me/meta_for_ios" rel="external nofollow noreferrer">https://t.me/meta_for_ios</a></p><p>支持meta的ios clash客户端</p><p>mfi拷贝clash配置到proxies中,注意 - 换行<br>rules:复制粘贴你电脑里面的clash 规则到rules,下面的规则是不完整的。</p><details><br><summary>grpc例子,点击展开</summary><br><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br></pre></td><td class="code"><pre><span class="line">mixed-port: 7890</span><br><span class="line">log-level: info</span><br><span class="line">mode: rule</span><br><span class="line">ipv6: true</span><br><span class="line">external-controller: 127.0.0.1:9090</span><br><span class="line">tcp-concurrent: true</span><br><span class="line">sniffer:</span><br><span class="line"> enable: true</span><br><span class="line"> sniffing:</span><br><span class="line"> - http</span><br><span class="line"> - tls</span><br><span class="line">dns:</span><br><span class="line"> enable: true</span><br><span class="line"> listen: 127.0.0.1:53</span><br><span class="line"> ipv6: true</span><br><span class="line"> enhanced-mode: normal</span><br><span class="line"> fake-ip-range: 198.18.0.1/16</span><br><span class="line"> default-nameserver:</span><br><span class="line"> - 114.114.114.114</span><br><span class="line"> - 223.5.5.5</span><br><span class="line">proxies:</span><br><span class="line"> - </span><br><span class="line"> name: reality-grpc</span><br><span class="line"> server: 代理服务器ip</span><br><span class="line"> type: vless</span><br><span class="line"> port: 443</span><br><span class="line"> uuid: uuid</span><br><span class="line"> network: grpc</span><br><span class="line"> servername: 回落域名</span><br><span class="line"> flow: ""</span><br><span class="line"> udp: true</span><br><span class="line"> tls: true</span><br><span class="line"> reality-opts:</span><br><span class="line"> public-key: 公钥</span><br><span class="line"> client-fingerprint: chrome</span><br><span class="line"> grpc-opts:</span><br><span class="line"> grpc-service-name: grpc</span><br><span class="line"></span><br><span class="line">proxy-groups:</span><br><span class="line"></span><br><span class="line"> -</span><br><span class="line"> name: '节点选择'</span><br><span class="line"> type: select</span><br><span class="line"> proxies:</span><br><span class="line"> - 'reality-grpc'</span><br><span class="line"></span><br><span class="line">rules:</span><br><span class="line"> - DOMAIN-KEYWORD,google,节点选择</span><br><span class="line"> - DOMAIN-KEYWORD,instagram,节点选择</span><br><span class="line"> - DOMAIN-KEYWORD,telegram,节点选择</span><br><span class="line"> - DOMAIN-KEYWORD,twitter,节点选择</span><br><span class="line"> - DOMAIN-KEYWORD,youtube,节点选择</span><br><span class="line"></span><br></pre></td></tr></table></figure><br><br>Clash meta相关文档:<a href="https://docs.metacubex.one/" rel="external nofollow noreferrer">https://docs.metacubex.one/</a><br><br><a href="https://clash-meta.wiki/" rel="external nofollow noreferrer">https://clash-meta.wiki/</a><br><br>Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 客户端,<a href="https://github.com/Loyalsoldier/clash-rules" rel="external nofollow noreferrer">clash-rules</a><br><br></details><h3 id="四、Android"><a href="#四、Android" class="headerlink" title="四、Android"></a>四、Android</h3><h4 id="1-NekoBoxForAndroid"><a href="#1-NekoBoxForAndroid" class="headerlink" title="1.NekoBoxForAndroid"></a>1.NekoBoxForAndroid</h4><p>下载地址:<a href="https://github.com/MatsuriDayo/NekoBoxForAndroid/releases" rel="external nofollow noreferrer">https://github.com/MatsuriDayo/NekoBoxForAndroid/releases</a></p><p>使用也挺方便的,直接复制通用订阅,点击右上角加号–从剪切板导入–然后连接</p><p><a href="./surfboard使用教程.html">教程</a></p><h4 id="2-Clash-Meta-for-Android"><a href="#2-Clash-Meta-for-Android" class="headerlink" title="2.Clash Meta for Android"></a>2.Clash Meta for Android</h4><p>下载地址:<a href="https://github.com/MetaCubeX/ClashMetaForAndroid" rel="external nofollow noreferrer">https://github.com/MetaCubeX/ClashMetaForAndroid</a></p><p>cfa的样式的,导入clash配置即可。</p><p><a href="./Android—Clash%20for%20Android%20使用教程.html">教程</a></p><h4 id="3-hiddify"><a href="#3-hiddify" class="headerlink" title="3.hiddify"></a>3.hiddify</h4><p>同上</p><h4 id="4-FlClash"><a href="#4-FlClash" class="headerlink" title="4.FlClash"></a>4.FlClash</h4><h4 id="5-v2rayNG"><a href="#5-v2rayNG" class="headerlink" title="5.v2rayNG"></a>5.v2rayNG</h4><p>下载地址:<a href="https://github.com/2dust/v2rayNG/releases" rel="external nofollow noreferrer">https://github.com/2dust/v2rayNG/releases</a></p><p>使用也挺方便的,直接复制通用订阅,点击右上角加号–从剪切板导入–然后连接<br>或者扫二维码导入。<br>都是一样的。</p><p><a href="./安卓ssr-v2ray-trojan代理客户端v2rayN使用教程.html">教程</a></p><h4 id="6-sing-box"><a href="#6-sing-box" class="headerlink" title="6.sing-box"></a>6.sing-box</h4><p>下载地址:<a href="https://sing-box.sagernet.org/zh/installation/clients/sfa/" rel="external nofollow noreferrer">https://sing-box.sagernet.org/zh/installation/clients/sfa/</a></p><p>规则文件已经上传到 github: <a href="https://github.com/hwanz/sing-box" rel="external nofollow noreferrer">https://github.com/hwanz/sing-box</a></p><details><br><summary>安卓 sing-box reality-tcp配置模版,安卓10以上,略长,点击展开</summary><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br></pre></td><td class="code"><pre><span class="line">{</span><br><span class="line"> "log": {</span><br><span class="line"> "disabled": false,</span><br><span class="line"> "level": "error",</span><br><span class="line"> "timestamp": true</span><br><span class="line"> },</span><br><span class="line"> "dns": {</span><br><span class="line"> "servers": [</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-remote",</span><br><span class="line"> "address": "https://dns.google/dns-query",</span><br><span class="line"> "address_resolver": "dns-direct",</span><br><span class="line"> "address_strategy": "ipv4_only",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-direct",</span><br><span class="line"> "address": "https://223.5.5.5/dns-query",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-local",</span><br><span class="line"> "address": "local",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-block",</span><br><span class="line"> "address": "rcode://success"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-fake",</span><br><span class="line"> "address": "fakeip",</span><br><span class="line"> "strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "server": "dns-block",</span><br><span class="line"> "disable_cache": true</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "tun-in",</span><br><span class="line"> "query_type": [</span><br><span class="line"> "A",</span><br><span class="line"> "AAAA"</span><br><span class="line"> ],</span><br><span class="line"> "geosite": "geolocation-!cn",</span><br><span class="line"> "server": "dns-fake",</span><br><span class="line"> "rewrite_ttl": 999999999</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "dns-remote",</span><br><span class="line"> "reverse_mapping": true,</span><br><span class="line"> "fakeip": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "inet4_range": "198.18.0.0/15",</span><br><span class="line"> "inet6_range": "fc00::/18"</span><br><span class="line"> },</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "independent_cache": true</span><br><span class="line"> },</span><br><span class="line"> "inbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "mixed",</span><br><span class="line"> "tag": "mixed-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 2080,</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "dns-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 6450,</span><br><span class="line"> "override_address": "8.8.8.8",</span><br><span class="line"> "override_port": 53</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "tun",</span><br><span class="line"> "tag": "tun-in",</span><br><span class="line"> "mtu": 9000,</span><br><span class="line"> "inet4_address": "172.19.0.1/30",</span><br><span class="line"> "inet6_address": "fdfe:dcba:9876::1/126",</span><br><span class="line"> "auto_route": true,</span><br><span class="line"> "strict_route": true,</span><br><span class="line"> "inet4_route_address": [</span><br><span class="line"> "0.0.0.0/1",</span><br><span class="line"> "128.0.0.0/1",</span><br><span class="line"> "198.18.0.0/15"</span><br><span class="line"> ],</span><br><span class="line"> "inet6_route_address": [</span><br><span class="line"> "::/1",</span><br><span class="line"> "8000::/1",</span><br><span class="line"> "fc00::/18"</span><br><span class="line"> ],</span><br><span class="line"> "endpoint_independent_nat": true,</span><br><span class="line"> "stack": "gvisor",</span><br><span class="line"> "platform": {</span><br><span class="line"> "http_proxy": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server": "127.0.0.1",</span><br><span class="line"> "server_port": 2080</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "outbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "vless",</span><br><span class="line"> "tag": "proxy",</span><br><span class="line"> "server": "", // 服务端的 IP</span><br><span class="line"> "server_port": 443,</span><br><span class="line"> "uuid": "", // 与服务端一致</span><br><span class="line"> "flow": "xtls-rprx-vision",</span><br><span class="line"> "tls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server_name": "", // 与服务端一致</span><br><span class="line"> "utls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹</span><br><span class="line"> },</span><br><span class="line"> "reality": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "public_key": "", // 填 "PublicKey" 的值</span><br><span class="line"> "short_id": "" // 与服务端一致</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "packet_encoding": "xudp"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "block",</span><br><span class="line"> "tag": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "dns",</span><br><span class="line"> "tag": "dns-out"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "route": {</span><br><span class="line"> "geoip": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "geosite": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "port": 53,</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "dns_in",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "protocol": "dns",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "network": "udp",</span><br><span class="line"> "port": 443,</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geoip": [</span><br><span class="line"> "cn",</span><br><span class="line"> "private"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "proxy",</span><br><span class="line"> "auto_detect_interface": true</span><br><span class="line"> },</span><br><span class="line"> "experimental": {</span><br><span class="line"> "clash_api": {</span><br><span class="line"> "external_controller": "127.0.0.1:9090",</span><br><span class="line"> "external_ui": "clash_api",</span><br><span class="line"> "external_ui_download_detour": "proxy",</span><br><span class="line"> "default_mode": "rule",</span><br><span class="line"> "store_fakeip": true,</span><br><span class="line"> "cache_file": "cache.db"</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line">}</span><br></pre></td></tr></table></figure><br></details><details><br><summary>安卓 sing-box reality-grpc配置模版,安卓10以上,略长,点击展开</summary><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br><span class="line">230</span><br><span class="line">231</span><br><span class="line">232</span><br><span class="line">233</span><br></pre></td><td class="code"><pre><span class="line">{</span><br><span class="line"> "log": {</span><br><span class="line"> "disabled": false,</span><br><span class="line"> "level": "error",</span><br><span class="line"> "timestamp": true</span><br><span class="line"> },</span><br><span class="line"> "dns": {</span><br><span class="line"> "servers": [</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-remote",</span><br><span class="line"> "address": "https://dns.google/dns-query",</span><br><span class="line"> "address_resolver": "dns-direct",</span><br><span class="line"> "address_strategy": "ipv4_only",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-direct",</span><br><span class="line"> "address": "https://223.5.5.5/dns-query",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-local",</span><br><span class="line"> "address": "local",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-block",</span><br><span class="line"> "address": "rcode://success"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-fake",</span><br><span class="line"> "address": "fakeip",</span><br><span class="line"> "strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "server": "dns-block",</span><br><span class="line"> "disable_cache": true</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "tun-in",</span><br><span class="line"> "query_type": [</span><br><span class="line"> "A",</span><br><span class="line"> "AAAA"</span><br><span class="line"> ],</span><br><span class="line"> "geosite": "geolocation-!cn",</span><br><span class="line"> "server": "dns-fake",</span><br><span class="line"> "rewrite_ttl": 999999999</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "dns-remote",</span><br><span class="line"> "reverse_mapping": true,</span><br><span class="line"> "fakeip": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "inet4_range": "198.18.0.0/15",</span><br><span class="line"> "inet6_range": "fc00::/18"</span><br><span class="line"> },</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "independent_cache": true</span><br><span class="line"> },</span><br><span class="line"> "inbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "mixed",</span><br><span class="line"> "tag": "mixed-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 2080,</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "dns-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 6450,</span><br><span class="line"> "override_address": "8.8.8.8",</span><br><span class="line"> "override_port": 53</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "tun",</span><br><span class="line"> "tag": "tun-in",</span><br><span class="line"> "mtu": 9000,</span><br><span class="line"> "inet4_address": "172.19.0.1/30",</span><br><span class="line"> "inet6_address": "fdfe:dcba:9876::1/126",</span><br><span class="line"> "auto_route": true,</span><br><span class="line"> "strict_route": true,</span><br><span class="line"> "inet4_route_address": [</span><br><span class="line"> "0.0.0.0/1",</span><br><span class="line"> "128.0.0.0/1",</span><br><span class="line"> "198.18.0.0/15"</span><br><span class="line"> ],</span><br><span class="line"> "inet6_route_address": [</span><br><span class="line"> "::/1",</span><br><span class="line"> "8000::/1",</span><br><span class="line"> "fc00::/18"</span><br><span class="line"> ],</span><br><span class="line"> "endpoint_independent_nat": true,</span><br><span class="line"> "stack": "gvisor",</span><br><span class="line"> "platform": {</span><br><span class="line"> "http_proxy": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server": "127.0.0.1",</span><br><span class="line"> "server_port": 2080</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "outbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "vless",</span><br><span class="line"> "tag": "proxy",</span><br><span class="line"> "server": "", // 服务端的 IP</span><br><span class="line"> "server_port": 443,</span><br><span class="line"> "uuid": "", // 与服务端一致</span><br><span class="line"> "flow": "", // 留空</span><br><span class="line"> "tls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "server_name": "", // 与服务端一致</span><br><span class="line"> "utls": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹</span><br><span class="line"> },</span><br><span class="line"> "reality": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "public_key": "", // 填 "PublicKey" 的值</span><br><span class="line"> "short_id": "" // 与服务端一致</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> "packet_encoding": "xudp",</span><br><span class="line"> "transport": {</span><br><span class="line"> "type": "grpc",</span><br><span class="line"> "service_name": "grpc" // 与服务端一致</span><br><span class="line"> }</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "block",</span><br><span class="line"> "tag": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "dns",</span><br><span class="line"> "tag": "dns-out"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "route": {</span><br><span class="line"> "geoip": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "geosite": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "port": 53,</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "dns_in",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "protocol": "dns",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "network": "udp",</span><br><span class="line"> "port": 443,</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geoip": [</span><br><span class="line"> "cn",</span><br><span class="line"> "private"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "proxy",</span><br><span class="line"> "auto_detect_interface": true</span><br><span class="line"> },</span><br><span class="line"> "experimental": {</span><br><span class="line"> "clash_api": {</span><br><span class="line"> "external_controller": "127.0.0.1:9090",</span><br><span class="line"> "external_ui": "clash_api",</span><br><span class="line"> "external_ui_download_detour": "proxy",</span><br><span class="line"> "default_mode": "rule",</span><br><span class="line"> "store_fakeip": true,</span><br><span class="line"> "cache_file": "cache.db"</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line">}</span><br></pre></td></tr></table></figure><br></details><p>我手机不是安卓10,自测吧。</p><p>安卓10以下也可以用的:outbounds里面的自行替换就好。不重复了。</p><details><br><summary>安卓 sing-box reality配置模版,安卓10以下也可以用,略长,点击展开</summary><br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br></pre></td><td class="code"><pre><span class="line">{</span><br><span class="line"> "log": {</span><br><span class="line"> "disabled": false,</span><br><span class="line"> "level": "error",</span><br><span class="line"> "timestamp": true</span><br><span class="line"> },</span><br><span class="line"> "dns": {</span><br><span class="line"> "servers": [</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-remote",</span><br><span class="line"> "address": "https://dns.google/dns-query",</span><br><span class="line"> "address_resolver": "dns-direct",</span><br><span class="line"> "address_strategy": "ipv4_only",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-direct",</span><br><span class="line"> "address": "https://223.5.5.5/dns-query",</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-local",</span><br><span class="line"> "address": "local",</span><br><span class="line"> "detour": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-block",</span><br><span class="line"> "address": "rcode://success"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "tag": "dns-fake",</span><br><span class="line"> "address": "fakeip",</span><br><span class="line"> "strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "server": "dns-block",</span><br><span class="line"> "disable_cache": true</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "tun-in",</span><br><span class="line"> "query_type": [</span><br><span class="line"> "A",</span><br><span class="line"> "AAAA"</span><br><span class="line"> ],</span><br><span class="line"> "geosite": "geolocation-!cn",</span><br><span class="line"> "server": "dns-fake",</span><br><span class="line"> "rewrite_ttl": 999999999</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "server": "dns-direct"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "dns-remote",</span><br><span class="line"> "reverse_mapping": true,</span><br><span class="line"> "fakeip": {</span><br><span class="line"> "enabled": true,</span><br><span class="line"> "inet4_range": "198.18.0.0/15",</span><br><span class="line"> "inet6_range": "fc00::/18"</span><br><span class="line"> },</span><br><span class="line"> "strategy": "ipv4_only",</span><br><span class="line"> "independent_cache": true</span><br><span class="line"> },</span><br><span class="line"> "inbounds": [</span><br><span class="line"> {</span><br><span class="line"> "type": "mixed",</span><br><span class="line"> "tag": "mixed-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 2080,</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "dns-in",</span><br><span class="line"> "listen": "127.0.0.1",</span><br><span class="line"> "listen_port": 6450,</span><br><span class="line"> "override_address": "8.8.8.8",</span><br><span class="line"> "override_port": 53</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "tun",</span><br><span class="line"> "tag": "tun-in",</span><br><span class="line"> "mtu": 9000,</span><br><span class="line"> "inet4_address": "172.19.0.1/30",</span><br><span class="line"> "inet6_address": "fdfe:dcba:9876::1/126",</span><br><span class="line"> "auto_route": true,</span><br><span class="line"> "strict_route": true,</span><br><span class="line"> "inet4_route_address": [</span><br><span class="line"> "0.0.0.0/1",</span><br><span class="line"> "128.0.0.0/1",</span><br><span class="line"> "198.18.0.0/15"</span><br><span class="line"> ],</span><br><span class="line"> "inet6_route_address": [</span><br><span class="line"> "::/1",</span><br><span class="line"> "8000::/1",</span><br><span class="line"> "fc00::/18"</span><br><span class="line"> ],</span><br><span class="line"> "endpoint_independent_nat": true,</span><br><span class="line"> "stack": "gvisor",</span><br><span class="line"> "sniff": true,</span><br><span class="line"> "sniff_override_destination": false,</span><br><span class="line"> "domain_strategy": "ipv4_only"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "outbounds": [</span><br><span class="line"> {</span><br><span class="line"> "tag": "proxy"</span><br><span class="line"> //换成你的节点,注意tag必须为proxy,参考上方的</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "direct",</span><br><span class="line"> "tag": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "block",</span><br><span class="line"> "tag": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "type": "dns",</span><br><span class="line"> "tag": "dns-out"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "route": {</span><br><span class="line"> "geoip": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geoip/releases/latest/download/geoip.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "geosite": {</span><br><span class="line"> "download_url": "https://github.com/soffchen/sing-geosite/releases/latest/download/geosite.db",</span><br><span class="line"> "download_detour": "proxy"</span><br><span class="line"> },</span><br><span class="line"> "rules": [</span><br><span class="line"> {</span><br><span class="line"> "port": 53,</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "inbound": "dns_in",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "protocol": "dns",</span><br><span class="line"> "outbound": "dns-out"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "private",</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "network": "udp",</span><br><span class="line"> "port": 443,</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": "category-ads-all",</span><br><span class="line"> "outbound": "block"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geosite": [</span><br><span class="line"> "category-games@cn",</span><br><span class="line"> "cn"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "direct"</span><br><span class="line"> },</span><br><span class="line"> {</span><br><span class="line"> "geoip": [</span><br><span class="line"> "cn",</span><br><span class="line"> "private"</span><br><span class="line"> ],</span><br><span class="line"> "outbound": "bypass"</span><br><span class="line"> }</span><br><span class="line"> ],</span><br><span class="line"> "final": "proxy",</span><br><span class="line"> "auto_detect_interface": true</span><br><span class="line"> },</span><br><span class="line"> "experimental": {</span><br><span class="line"> "clash_api": {</span><br><span class="line"> "external_controller": "127.0.0.1:9090",</span><br><span class="line"> "external_ui": "clash_api",</span><br><span class="line"> "external_ui_download_detour": "proxy",</span><br><span class="line"> "default_mode": "rule",</span><br><span class="line"> "store_fakeip": true,</span><br><span class="line"> "cache_file": "cache.db"</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line">}</span><br></pre></td></tr></table></figure><br></details><h4 id="7-clash-meta-for-magisk"><a href="#7-clash-meta-for-magisk" class="headerlink" title="7.clash meta for magisk"></a>7.clash meta for magisk</h4><p><a href="https://t.me/db4cm" rel="external nofollow noreferrer">Dashboard 更新发布|引退</a></p><p><a href="https://t.me/MagiskChangeKing" rel="external nofollow noreferrer">我是魔改2大王</a></p><p>适合想捣鼓的</p><h3 id="五、Linux"><a href="#五、Linux" class="headerlink" title="五、Linux"></a>五、Linux</h3><p>Clash Verge Rev、Clash-nyanpasu、Singbox、Hiddify、FlClash、 GUI.for.Clash 、-GUI.for.Singbox的linux版本,不赘述</p><h3 id="六、Openwrt"><a href="#六、Openwrt" class="headerlink" title="六、Openwrt"></a>六、Openwrt</h3><p><a href="https://github.com/juewuy/ShellClash" rel="external nofollow noreferrer">ShellClash</a> :通过管理脚本在Shell环境下便捷使用Clash,支持在Shell环境下管理Clash各种功能</p><p><a href="https://github.com/douglarek/luci-app-homeproxy/releases" rel="external nofollow noreferrer">OpenClash</a> :一个可运行在 OpenWrt 上的 Clash 客户端.兼容 Shadowsocks、ShadowsocksR、Vmess、Trojan、Snell 等协议,根据灵活的规则配置实现策略代理</p><p>Merlin (KoolCenter 固件/paldier SWRT 固件):<a href="https://t.me/merlinclashcat" rel="external nofollow noreferrer">merlinclashcat TG频道</a></p><p><a href="https://github.com/xiaorouji/openwrt-passwall" rel="external nofollow noreferrer">openwrt-passwall</a></p><p><a href="https://github.com/xiaorouji/openwrt-passwall2" rel="external nofollow noreferrer">openwrt-passwall2</a></p><p><a href="https://github.com/fw876/helloworld" rel="external nofollow noreferrer">helloworld</a></p><p><a href="https://github.com/yichya/openwrt-xray" rel="external nofollow noreferrer">openwrt-xray</a> :Prebuilt Xray binaries for OpenWrt</p><p><a href="https://github.com/yichya/luci-app-xray" rel="external nofollow noreferrer">luci-app-xray</a> :(Almost) full feature Xray client for OpenWrt</p><p><a href="https://t.me/merlinclashcat" rel="external nofollow noreferrer">MerlinClash猫咪爬梯</a> :说明文档:<a href="https://mcreadme.gitbook.io/mc" rel="external nofollow noreferrer">https://mcreadme.gitbook.io/mc</a></p><p><a href="https://t.me/e58695/59" rel="external nofollow noreferrer">e58695</a> : Clash 及其衍生版本均支持 TPROXY 透明代理</p><p><a href="https://t.me/MagiskChangeKing/126" rel="external nofollow noreferrer">MagiskChangeKing</a></p><h3 id="七、Shell"><a href="#七、Shell" class="headerlink" title="七、Shell"></a>七、Shell</h3><h4 id="ShellCrash"><a href="#ShellCrash" class="headerlink" title="ShellCrash"></a>ShellCrash</h4><p><a href="https://github.com/juewuy/ShellCrash/blob/master/README_CN.md" rel="external nofollow noreferrer">https://github.com/juewuy/ShellCrash/blob/master/README_CN.md</a></p><h4 id="Clash-Tproxy-Android"><a href="#Clash-Tproxy-Android" class="headerlink" title="Clash Tproxy Android"></a>Clash Tproxy Android</h4><p><a href="https://t.me/e58695/59" rel="external nofollow noreferrer">https://t.me/e58695/59</a></p><h4 id="Clash-Meta-for-Magisk"><a href="#Clash-Meta-for-Magisk" class="headerlink" title="Clash.Meta for Magisk"></a>Clash.Meta for Magisk</h4><p><a href="https://t.me/MagiskChangeKing/126" rel="external nofollow noreferrer">https://t.me/MagiskChangeKing/126</a></p><h3 id="其它客户端整理"><a href="#其它客户端整理" class="headerlink" title="其它客户端整理"></a>其它客户端整理</h3><p><a href="./proxyclient.html" target="_blank">各系统平台客户端整理和推荐</a></p><h2 id="常见问题"><a href="#常见问题" class="headerlink" title="常见问题"></a>常见问题</h2><p>1.有时候能用,有时候不行<br>目标网站/域名的选择会极大程度地影响 REALITY 代理的延迟、速度、稳定性等:<br>至少目前,REALITY 每次都要去拿握手包,需要注意目标网站近不近、稳不稳定(请求多了就把你半拉黑也是一种不稳定)。<br>运营商层面可能会给某些域名更高的流量优先级,拥堵时优先保证它们的流量通过。<br>GFW 层面至少有黑名单(google)和白名单(microsoft),可能还有其它名单,比如偶尔干扰/限速名单(github?)</p><p>各种协议本就是和防火墙做斗智斗勇的。来来回回这么多年了。</p><p><a href="https://www.v2ray-agent.com/archives/1680104902581" rel="external nofollow noreferrer">博客来源1</a></p><p>部分来源hostloc mjj们的回复。</p><p>辛苦整理,转载请带来源,谢谢!</p><h2 id="其它博客"><a href="#其它博客" class="headerlink" title="其它博客"></a>其它博客</h2><p><a href="./ssr-v2ray专线机场推荐.html" target="_blank">自用稳定高速国外ssr-v2ray-trojan付费专线机场推荐</a></p></div><hr><div><div class="post-metas my-3"><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Reality/" class="print-no-link">#Reality</a></div></div><div class="post-prevnext my-3"><article class="post-prev col-6"><a href="/%E5%B8%81%E5%AE%89%E5%92%8C%E6%AC%A7%E6%98%93okx%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B.html" title="币安和欧易OKX使用教程"><i class="iconfont icon-arrowleft"></i> <span class="hidden-mobile">币安和欧易OKX使用教程</span> <span class="visible-mobile">上一篇</span></a></article><article class="post-next col-6"><a href="/%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98%E4%B8%8D%E9%99%90%E9%80%9F%E7%A0%B4%E8%A7%A3.html" title="百度网盘不限速破解2025最新"><span class="hidden-mobile">百度网盘不限速破解2025最新</span> <span class="visible-mobile">下一篇</span> <i class="iconfont icon-arrowright"></i></a></article></div></div></article></div></div></div><div class="side-col d-none d-lg-block col-lg-2"><aside class="sidebar" style="margin-left:-1rem"><div id="toc"><p class="toc-header"><i class="iconfont icon-list"></i> <span>目录</span></p><div class="toc-body" id="toc-body"></div></div></aside></div></div></div><a id="scroll-top-button" aria-label="TOP" href="#" role="button"><i class="iconfont icon-arrowup" aria-hidden="true"></i></a></main><footer><div class="footer-inner"><div class="footer-content"><a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a></div></div></footer><script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/nprogress/0.2.0/nprogress.min.js"></script><link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/nprogress/0.2.0/nprogress.min.css"><script>NProgress.configure({showSpinner:!1,trickleSpeed:100}),NProgress.start(),window.addEventListener("load",(function(){NProgress.done()}))</script><script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/jquery/3.6.0/jquery.min.js"></script><script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/bootstrap/4.6.0/js/bootstrap.min.js"></script><script src="/js/events.js"></script><script src="/js/plugins.js"></script><script src="/js/img-lazyload.js"></script><script>Fluid.utils.createScript("https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/tocbot/4.12.3/tocbot.min.js",(function(){var t=jQuery("#toc");if(0!==t.length&&window.tocbot){var o=jQuery("#board-ctn").offset().top;window.tocbot.init(Object.assign({tocSelector:"#toc-body",contentSelector:".markdown-body",linkClass:"tocbot-link",activeLinkClass:"tocbot-active-link",listClass:"tocbot-list",isCollapsedClass:"tocbot-is-collapsed",collapsibleClass:"tocbot-is-collapsible",scrollSmooth:!0,includeTitleTags:!0,headingsOffset:-o},CONFIG.toc)),t.find(".toc-list-item").length>0&&t.css("visibility","visible"),Fluid.events.registerRefreshCallback((function(){if("tocbot"in window){tocbot.refresh();var t=jQuery("#toc");if(0===t.length||!tocbot)return;t.find(".toc-list-item").length>0&&t.css("visibility","visible")}}))}}))</script><script>Fluid.plugins.codeWidget()</script><script>Fluid.utils.createScript("https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/fancybox/3.5.7/jquery.fancybox.min.js",(function(){Fluid.plugins.fancyBox()}))</script><script>Fluid.plugins.imageCaption()</script><script src="/js/boot.js"></script><noscript><div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div></noscript></body></html>