id: 27524665fc28463896531e7be2c2e26c
parent_id: 
item_type: 1
item_id: 080fc65de1a84f0e810cb70e33d17157
item_updated_time: 1764345471782
title_diff: "[{\"diffs\":[[1,\"15962803481021\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":14}]"
body_diff: "[{\"diffs\":[[1,\"<!DOCTYPE html>\\\n<html lang=\\\"zh\\\">\\\n<head>\\\n<meta charset=\\\"utf-8\\\">\\\n<meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=edge\\\">\\\n<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1\\\">\\\n<title>\\\n      \\\n    OpenClash 安装和简单使用教程及常见错误解决（openwrt） - 阿道博客备份\\\n    \\\n    </title>\\\n<link href=\\\"atom.xml\\\" rel=\\\"alternate\\\" title=\\\"阿道博客备份\\\" type=\\\"application/atom+xml\\\">\\\n<link rel=\\\"stylesheet\\\" href=\\\"asset/css/style.min.css\\\">\\\n<link rel=\\\"stylesheet\\\" href=\\\"asset/css/doc.css\\\">\\\n<script src=\\\"asset/app.js\\\"></script>\\\n</head>\\\n<body>\\\n<section class=\\\"hero\\\">\\\n<div class=\\\"hero-head\\\">\\\n<nav class=\\\"navbar\\\" role=\\\"navigation\\\" aria-label=\\\"main navigation\\\">\\\n<div class=\\\"container\\\">\\\n<div class=\\\"navbar-brand\\\">\\\n<a target=\\\"_self\\\" class=\\\"navbar-item \\\" href=\\\"index.html\\\">Home</a>\\\n<a target=\\\"_self\\\" class=\\\"navbar-item \\\" href=\\\"archives.html\\\">Archives</a>\\\n<a target=\\\"_self\\\" class=\\\"navbar-item \\\" href=\\\"about.html\\\">关于</a>\\\n<a role=\\\"button\\\" id=\\\"navbarSNSRssSwitchBtn\\\" class=\\\"navbar-burger burger\\\" aria-label=\\\"menu\\\" aria-expanded=\\\"false\\\" data-target=\\\"navbarSNSRssButtons\\\">\\\n<span aria-hidden=\\\"true\\\"></span>\\\n<span aria-hidden=\\\"true\\\"></span>\\\n<span aria-hidden=\\\"true\\\"></span>\\\n</a>\\\n</div>\\\n<div id=\\\"navbarSNSRssButtons\\\" class=\\\"navbar-menu\\\">\\\n<div class=\\\"navbar-start\\\">\\\n</div>\\\n<div class=\\\"navbar-end\\\">\\\n<div class=\\\"navbar-item\\\">\\\n\\\n<div class=\\\"buttons\\\">\\\n<a href=\\\"atom.xml\\\" target=\\\"_blank\\\" title=\\\"RSS\\\">\\\n<span class=\\\"icon is-large has-text-black-bis\\\">\\\n<svg class=\\\"svg-inline--fa fa-rss fa-w-14 fa-lg\\\" aria-hidden=\\\"true\\\" focusable=\\\"false\\\" data-prefix=\\\"fas\\\" data-icon=\\\"rss\\\" role=\\\"img\\\" xmlns=\\\"https://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 448 512\\\" data-fa-i2svg=\\\"\\\"><path fill=\\\"currentColor\\\" d=\\\"M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z\\\"></path></svg>\\\n</span>\\\n</a>\\\n</div>\\\n\\\n</div>\\\n</div>\\\n</div>\\\n</div>\\\n</nav>\\\n</div>\\\n<div class=\\\"hero-body ct-body\\\"></div>\\\n</section>\\\n<section class=\\\"ct-body\\\">\\\n<div class=\\\"container\\\">\\\n<div class=\\\"columns is-variable bd-klmn-columns is-4 is-centered\\\">\\\n<div class=\\\"column is-four-fifths\\\">\\\n<div class=\\\"post-body single-content\\\">\\\n<div class=\\\"card-image\\\">\\\n<figure class=\\\"image\\\">\\\n<img src=\\\"media/15941064627437/默认文件1601359572043.png\\\">\\\n</figure>\\\n</div>\\\n<h1 class=\\\"title\\\">\\\nOpenClash 安装和简单使用教程及常见错误解决（openwrt）\\\n</h1>\\\n<div class=\\\"media\\\">\\\n<figure class=\\\"media-left\\\">\\\n<p class=\\\"image is-48x48\\\">\\\n<img class=\\\"is-rounded\\\" src=\\\"\\\">\\\n</p>\\\n</figure>\\\n<div class=\\\"media-content\\\">\\\n<div class=\\\"content\\\">\\\n<p>\\\n<span class=\\\"date\\\">2020/09/29</span>\\\n<span class=\\\"tran-posted-in\\\">posted in</span>&nbsp;\\\n<span class=\\\"posted-in\\\"><a href='%E8%BD%AF%E4%BB%B6.html'>软件</a></span>\\\n<span class=\\\"posted-in\\\"><a href='%E7%A1%AC%E4%BB%B6.html'>硬件</a></span>\\\n&nbsp;&nbsp;<a href=\\\"https://backup.adao.me/15962803481021.html#disqus_thread\\\"><span class=\\\"tran-disqus-comments\\\">comments</span></a>\\\n<br />\\\n<span class=\\\"tran-tags\\\">Tags:</span>&nbsp;\\\n</p>\\\n</div>\\\n</div>\\\n</div>\\\n</div>\\\n<article class=\\\"markdown-body single-content\\\">\\\n<h2 id=\\\"toc_0\\\">项目介绍</h2>\\\n<ul>\\\n<li>项目地址：<a href=\\\"https://github.com/vernesong/OpenClash\\\">OpenClash</a></li>\\\n<li>官方文档：<a href=\\\"https://github.com/vernesong/OpenClash/wiki\\\">wiki</a></li>\\\n<li>Clash内核：<a href=\\\"https://github.com/vernesong/OpenClash/releases/tag/Clash\\\">Clash</a></li>\\\n<li>TUN模式内核：<a href=\\\"https://github.com/vernesong/OpenClash/releases/tag/TUN-Premium\\\">clash_tun</a></li>\\\n<li>TUN游戏模式内核：<a href=\\\"https://github.com/vernesong/OpenClash/releases/tag/TUN\\\">clash_game</a></li>\\\n<li>历史版本下载：<a href=\\\"https://github.com/vernesong/OpenClash/releases\\\">下载</a></li>\\\n</ul>\\\n<h2 id=\\\"toc_1\\\">安装</h2>\\\n<h3 id=\\\"toc_2\\\">安装环境</h3>\\\n<ul>\\\n<li>架构：MediaTek MT7621 </li>\\\n<li>固件版本：OpenWrt R20.8.27 / LuCI Master (git-20.223.26773-d18ef13)</li>\\\n<li>内核版本：5.4.59</li>\\\n</ul>\\\n<h3 id=\\\"toc_3\\\">进入后台</h3>\\\n<p>通过终端行进入</p>\\\n<pre><code class=\\\"language-text\\\">ssh <a href=\\\"/cdn-cgi/l/email-protection\\\" class=\\\"__cf_email__\\\" data-cfemail=\\\"e4968b8b90a4d5ddd6cad5d2dccad5cad5\\\">[email&#160;protected]</a>\\\n</code></pre>\\\n<p>如果不能正常登录，请检查密码是否正确或者后台ssh登录是否开启</p>\\\n<h3 id=\\\"toc_4\\\">依赖安装</h3>\\\n<ol>\\\n<li>更新</li>\\\n</ol>\\\n<pre><code class=\\\"language-text\\\">opkg update\\\n</code></pre>\\\n<p>如更新错误，请检查系统-软件包-配置内地址是否可用<br />\\\n小娱路由器软件源（MT7621）</p>\\\n<pre><code class=\\\"language-text\\\">src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/\\\nsrc/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/\\\nsrc/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/\\\nsrc/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages\\\nsrc/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing\\\nsrc/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony\\\n</code></pre>\\\n<p>2.安装依赖<br />\\\ncoreutils-nohup, bash, iptables, dnsmasq-full, curl, jsonfilter, ca-certificates, ipset, ip-full, iptables-mod-tproxy</p>\\\n<p>按顺序安装以上依赖，每个依赖单独安装</p>\\\n<p>无法安装 kmod-tun（显示内核版本不匹配）<br />\\\n强制安装</p>\\\n<pre><code class=\\\"language-text\\\">opkg install kmod-tun --force-depends \\\n</code></pre>\\\n<p>同样问题都可以使用以上方法解决</p>\\\n<p>报错：opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.</p>\\\n<pre><code class=\\\"language-text\\\">rm -f /var/lock/opkg.lock\\\n</code></pre>\\\n<p>确认依赖安装成功后可进行后续的操作</p>\\\n<h2 id=\\\"toc_5\\\">主程序安装</h2>\\\n<ol>\\\n<li>进入tmp目录</li>\\\n</ol>\\\n<pre><code class=\\\"language-text\\\">cd /tmp/tmp/\\\n</code></pre>\\\n<ol>\\\n<li>下载及安装ipk（目前最新版本0.40.6）</li>\\\n</ol>\\\n<pre><code class=\\\"language-text\\\">wget https://github.com/vernesong/OpenClash/releases/download/v0.40.6-beta/luci-app-openclash_0.40.6-beta_all.ipk\\\nopkg install luci-app-openclash_0.40.6-beta_all.ipk\\\n</code></pre>\\\n<p>注意软件名根据下载版本更改</p>\\\n<h2 id=\\\"toc_6\\\">内核下载</h2>\\\n<ol>\\\n<li><p>进入到内核目录（根据自己的硬件选择）</p></li>\\\n</ol>\\\n<ul>\\\n<li>clash内核</li>\\\n</ul>\\\n<pre><code class=\\\"language-text\\\">cd /etc/openclash/core/\\\nwget https://github.com/vernesong/OpenClash/releases/download/Clash/clash-linux-mipsle-softfloat.tar.gz\\\ntar -zxvf clash-linux-mipsle-softfloat.tar.gz\\\nchmod 777 clash\\\n</code></pre>\\\n<p>其他内核方法一致</p>\\\n<p>安装完毕</p>\\\n<h2 id=\\\"toc_7\\\">配置设置</h2>\\\n<h3 id=\\\"toc_8\\\">模式设置</h3>\\\n<p>推荐Fake-IP模式</p>\\\n<h3 id=\\\"toc_9\\\">常规设置</h3>\\\n<ul>\\\n<li>内核编译版本：linux-mipsle-softfloat<br />\\\n### DNS设置</li>\\\n<li>本地DNS：启用</li>\\\n<li>自定义上游DNS服务器：启用</li>\\\n<li>勾选以下DNS\\\n<img src=\\\"media/15962803481021/16013588803794.jpg\\\" alt=\\\"\\\" style=\\\"width:982px;\\\" /></li>\\\n</ul>\\\n<h3 id=\\\"toc_10\\\">规则设置</h3>\\\n<p><img src=\\\"media/15962803481021/16013589558909.jpg\\\" alt=\\\"\\\" style=\\\"width:852px;\\\" /></p>\\\n<h3 id=\\\"toc_11\\\">第三方规则订阅</h3>\\\n<p><img src=\\\"media/15962803481021/16013589944993.jpg\\\" alt=\\\"\\\" style=\\\"width:422px;\\\" /></p>\\\n<h3 id=\\\"toc_12\\\">服务器与策略组</h3>\\\n<p><img src=\\\"media/15962803481021/16013590866630.jpg\\\" alt=\\\"\\\" style=\\\"width:839px;\\\" /></p>\\\n<h3 id=\\\"toc_13\\\">上传配置文件</h3>\\\n<p>自行研究</p>\\\n<p>保存配置并应用</p>\\\n<h2 id=\\\"toc_14\\\">启动成功</h2>\\\n<p><img src=\\\"media/15962803481021/16013592605139.jpg\\\" alt=\\\"\\\" style=\\\"width:980px;\\\" /></p>\\\n<p><img src=\\\"media/15962803481021/%E9%BB%98%E8%AE%A4%E6%96%87%E4%BB%B61601359572043.png\\\" alt=\\\"默认文件1601359572043\\\" /></p>\\\n</article>\\\n<div class=\\\"comments-wrap\\\">\\\n<div class=\\\"share-comments\\\">\\\n<div id=\\\"disqus_thread\\\"></div>\\\n</div>\\\n</div>\\\n</div>\\\n</div>\\\n</div>\\\n</section>\\\n<footer class=\\\"footer\\\">\\\n<div class=\\\"content has-text-centered\\\">\\\n<p>\\\nCopyright &copy; 2020 adao.me\\\n</p>\\\n</div>\\\n</footer>\\\n<script data-cfasync=\\\"false\\\" src=\\\"/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js\\\"></script><script src=\\\"asset/prism.js\\\"></script>\\\n<script type=\\\"text/javascript\\\">\\\n    var disqus_shortname = 'adao'; \\\n\\\n    (function() {\\\n        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;\\\n        dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';\\\n        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);\\\n    })();\\\n</script>\\\n<script type=\\\"text/javascript\\\">\\\nvar disqus_shortname = 'adao'; \\\n\\\n(function () {\\\nvar s = document.createElement('script'); s.async = true;\\\ns.type = 'text/javascript';\\\ns.src = '//' + disqus_shortname + '.disqus.com/count.js';\\\n(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);\\\n}());\\\n</script>\\\n</body>\\\n</html>\\\n\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":8583}]"
metadata_diff: {"new":{"id":"080fc65de1a84f0e810cb70e33d17157","parent_id":"b2dc55629fb94470a3e551b0c9d96b1e","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345746254,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:12:52.025Z
created_time: 2025-11-28T16:12:52.025Z
type_: 13