{"id":460,"date":"2020-12-26T13:52:01","date_gmt":"2020-12-26T05:52:01","guid":{"rendered":"https:\/\/blog.73007300.xyz\/?p=460"},"modified":"2021-03-27T00:32:12","modified_gmt":"2021-03-26T16:32:12","slug":"openwrt%e7%bc%96%e8%af%91ssr","status":"publish","type":"post","link":"https:\/\/blog.73007300.xyz\/?p=460","title":{"rendered":"openwrt\u7f16\u8bd1ssr"},"content":{"rendered":"\n<p>\u9700\u6c42<\/p>\n\n\n\n<p>\u5f04\u4e86\u4e2a\u8f6f\u8def\u7531\uff0copenwrt\u3002<br>CPU : MediaTek MT7621A<br>\u662f\u4ec0\u4e48 mipsel_24kc \u67b6\u6784\u7684\u3002\u641e\u4e0d\u61c2\u3002<br>\u5237\u4e86\u51e0\u5929\u7ec8\u4e8e\u628a\u80fd\u4e0a\u8c37\u6b4c\u7684\u63d2\u4ef6\u88c5\u4e0a\u4e86\u3002<br>\u4e00\u5f00\u59cb\u7528openclash\uff0c\u7ed3\u679c\u88c5\u4e0a\u914d\u7f6e\u592a\u590d\u6742\uff0c\u73a9\u4e0d\u8f6c\u3002<br>\u7136\u540e\u53c8\u53bb\u627e\u5176\u4ed6\u7684\u66ff\u4ee3\u8f6f\u4ef6\uff0c\u53d1\u73b0ShadowSocksR Plus+ \u548c\u7b26\u5408\u6211\u7684\u9700\u6c42\u3002\u7b80\u5355\u7c97\u66b4\u3002<\/p>\n\n\n\n<p>\u7f16\u8bd1<\/p>\n\n\n\n<p>\u5efa\u8bae\u4f7f\u7528Ubuntu18.04,\u6211\u7528\u7684Debian10\u4e5f\u53ef\u4ee5\uff0cCPU &gt; 1 ,\u5185\u5b58 &gt;1\u3002\u6211\u7528\u76844G 2C\u3002\u5168\u7a0b\u5efa\u8bae\u5728\u80fd\u4e0a\u5916\u7f51\u7684\u73af\u5883\u4e0b\u8fdb\u884c\u3002<br>\u5728LEDE\u4e2d\u7f16\u8bd1\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5168\u7a0b\u4e0d\u80fd\u7528root\u64cd\u4f5c\nsudo apt-get update\nsudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync\n\n# https:\/\/github.com\/Lienol\/openwrt\n# https:\/\/github.com\/gl-inet\/openwrt.git\n# https:\/\/github.com\/coolsnowwolf\/lede \u770b\u8bf4\u660e\n# \u4e8c\u6b21\u7f16\u8bd1 \u548c \u91cd\u65b0\u914d\u7f6e \u67e5\u770b\u4ed3\u5e93README\ngit clone https:\/\/github.com\/coolsnowwolf\/lede\ncd  lede\/package\ngit clone https:\/\/github.com\/kenzok8\/openwrt-packages.git\ngit clone https:\/\/github.com\/kenzok8\/small.git\n\ncd  ..\/\n.\/scripts\/feeds clean &amp;&amp; .\/scripts\/feeds update -a \n.\/scripts\/feeds install -a\n# \u5728\u5f39\u51fa\u7684\u83dc\u5355\u4e2d\uff0c\u901a\u8fc7\u524d\u4e09\u4e2a\u9009\u62e9\u5230\u6307\u5b9a\u7684CPU\u578b\u53f7\uff0c\u5728LUCI\u91cc\u9009\u62e9\u8981\u7f16\u8bd1\u7684\u5e94\u7528\u3002\u914d\u7f6e\u4fdd\u5b58\u4e3a \".config\"\u6587\u4ef6\nmake menuconfig\n\n# \u4e0b\u8f7ddl\u5e93\uff08\u56fd\u5185\u8bf7\u5c3d\u91cf\u5168\u5c40\u79d1\u5b66\u4e0a\u7f51\uff09\nmake -j8 download V=s\n# -j1 \u540e\u9762\u662f\u7ebf\u7a0b\u6570\u3002\u7b2c\u4e00\u6b21\u7f16\u8bd1\u63a8\u8350\u7528\u5355\u7ebf\u7a0b\n# \u5982\u679c\u4e4b\u524d\u7528 proxychains4 \uff0c\u90a3\u8fd9\u4e00\u6b65\u4e0d\u80fd\u7528 proxychains4 \u3002\nmake -j1 V=s<\/code><\/pre>\n\n\n\n<p>make menuconfig \u8fd9\u4e00\u6b65\u8981\u6ce8\u610f\uff0cLuci->Application\u4e2dluci-app-passwall \u7684NaiveProxy \uff0c\u6211\u52fe\u9009\u4e0a\u4f1a\u62a5\u9519\uff0c\u9700\u8981\u53d6\u6d88\u52fe\u9009\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> &lt;M> luci-app-passwall.............................. LuCI support for PassWall\n &#91; ] Include NaiveProxy    <\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5<\/p>\n\n\n\n<p>bin\u76ee\u5f55\u4e0b\u4f1a\u6709\u5f88\u591a\u5305<br>\u76f4\u63a5\u5b89\u88c5 luci-app-ssr-plus_181-4_all.ipk\u4f1a\u62a5\u5c11\u4f9d\u8d56\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"587\" height=\"308\" src=\"https:\/\/blog.73007300.xyz\/wp-content\/uploads\/2021\/03\/\u56fe\u7247-2.png\" alt=\"\" class=\"wp-image-478\" srcset=\"https:\/\/blog.73007300.xyz\/wp-content\/uploads\/2021\/03\/\u56fe\u7247-2.png 587w, https:\/\/blog.73007300.xyz\/wp-content\/uploads\/2021\/03\/\u56fe\u7247-2-300x157.png 300w\" sizes=\"(max-width: 587px) 100vw, 587px\" \/><\/figure>\n\n\n\n<p>\u7f3a\u5565\u4f9d\u8d56 \u5c31\u7528 find \u547d\u4ee4\u53bbbin\/\u76ee\u5f55\u4e0b\u627e\uff0c\u627e\u5230\u62c9\u8fc7\u53bb\u5b89\u88c5\uff0c\u76f4\u5230\u5b8c\u5168\u6ee1\u8db3\u4f9d\u8d56\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"58\" src=\"https:\/\/blog.73007300.xyz\/wp-content\/uploads\/2021\/03\/\u56fe\u7247-3.png\" alt=\"\" class=\"wp-image-479\" srcset=\"https:\/\/blog.73007300.xyz\/wp-content\/uploads\/2021\/03\/\u56fe\u7247-3.png 656w, https:\/\/blog.73007300.xyz\/wp-content\/uploads\/2021\/03\/\u56fe\u7247-3-300x27.png 300w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/figure>\n\n\n\n<p><strong>luci-app-ssr-plus:<\/strong><\/p>\n\n\n\n<ul><li>shadowsocksr-libev-alt<\/li><li>pdnsd-alt<\/li><li>microsocks<\/li><li>dns2socks<\/li><li>shadowsocksr-libev-ssr-local<\/li><li>tcping<\/li><li>shadowsocks-libev-ss-local<\/li><li>shadowsocks-libev-ss-redir<\/li><li>simple-obfs<\/li><li>shadowsocks-rust-sslocal<\/li><li>simple-obfs<\/li><li>v2ray-plugin<\/li><li>xray-core<\/li><li>trojan<\/li><li>ipt2socks<\/li><li>redsocks2<\/li><li>kcptun-client<\/li><li>shadowsocksr-libev-server<\/li><li>shadowsocksr-libev-alt<\/li><li>shadowsocks-libev-ss-local<\/li><li>shadowsocks-libev-ss-redir<\/li><li>simple-obfs<\/li><\/ul>\n\n\n\n<p><strong>passwall<\/strong>:<\/p>\n\n\n\n<ul><li>shadowsocks-libev-ss-server<\/li><li>xray-geodata<\/li><li>trojan-plus<\/li><li>trojan-go<\/li><li>naiveproxy<\/li><li>brook<\/li><li>chinadns-ng<\/li><\/ul>\n\n\n\n<p><strong>vssr<\/strong>:<\/p>\n\n\n\n<ul><li>lua-maxminddb<\/li><li>xray-plugin<\/li><\/ul>\n\n\n\n<p>\u8fd8\u8981\u989d\u5916\u5b89\u88c5 luci-compat<\/p>\n\n\n\n<p>\u6211\u7f16\u8bd1\u597d\u7684\uff1a<br>https:\/\/mc.73007300.xyz\/files\/router\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9700\u6c42 \u5f04\u4e86\u4e2a\u8f6f\u8def\u7531\uff0copenwrt\u3002CPU : MediaTek MT7621A\u662f\u4ec0\u4e48 mipsel_24kc \u67b6\u6784\u7684\u3002\u641e\u4e0d\u61c2\u3002\u5237\u4e86\u51e0\u5929\u7ec8\u4e8e\u628a\u80fd\u4e0a\u8c37\u6b4c\u7684\u63d2\u4ef6\u88c5\u4e0a\u4e86\u3002\u4e00\u5f00\u59cb\u7528openclash\uff0c\u7ed3\u679c\u88c5\u4e0a\u914d\u7f6e\u592a\u590d\u6742\uff0c\u73a9\u4e0d\u8f6c\u3002\u7136\u540e\u53c8\u53bb\u627e\u5176\u4ed6\u7684\u66ff\u4ee3\u8f6f\u4ef6\uff0c\u53d1\u73b0ShadowSocksR Plus+ \u548c\u7b26\u5408\u6211\u7684\u9700\u6c42\u3002\u7b80\u5355\u7c97\u66b4\u3002 \u7f16\u8bd1 \u5efa\u8bae\u4f7f\u7528Ubuntu18.04,\u6211\u7528\u7684Debian10\u4e5f\u53ef\u4ee5\uff0cCPU &gt; 1 ,\u5185\u5b58 &gt;1\u3002\u6211\u7528\u76844G 2C\u3002\u5168\u7a0b\u5efa\u8bae\u5728\u80fd\u4e0a\u5916\u7f51\u7684\u73af\u5883\u4e0b\u8fdb\u884c\u3002\u5728LEDE\u4e2d\u7f16\u8bd1\uff1a make menuconfig \u8fd9\u4e00\u6b65\u8981\u6ce8\u610f\uff0cLuci->Application\u4e2dluci-app-passwall \u7684NaiveProxy \uff0c\u6211\u52fe\u9009\u4e0a\u4f1a\u62a5\u9519\uff0c\u9700\u8981\u53d6\u6d88\u52fe\u9009\uff1a \u5b89\u88c5 bin\u76ee\u5f55\u4e0b\u4f1a\u6709\u5f88\u591a\u5305\u76f4\u63a5\u5b89\u88c5 luci-app-ssr-plus_181-4_all.ipk\u4f1a\u62a5\u5c11\u4f9d\u8d56\uff1a \u7f3a\u5565\u4f9d\u8d56 \u5c31\u7528 find \u547d\u4ee4\u53bbbin\/\u76ee\u5f55\u4e0b\u627e\uff0c\u627e\u5230\u62c9\u8fc7\u53bb\u5b89\u88c5\uff0c\u76f4\u5230\u5b8c\u5168\u6ee1\u8db3\u4f9d\u8d56\u3002 luci-app-ssr-plus: shadowsocksr-libev-alt pdnsd-alt microsocks dns2socks shadowsocksr-libev-ssr-local tcping shadowsocks-libev-ss-local shadowsocks-libev-ss-redir simple-obfs shadowsocks-rust-sslocal simple-obfs v2ray-plugin xray-core trojan ipt2socks redsocks2 kcptun-client shadowsocksr-libev-server shadowsocksr-libev-alt shadowsocks-libev-ss-local shadowsocks-libev-ss-redir simple-obfs passwall: shadowsocks-libev-ss-server xray-geodata trojan-plus [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/460"}],"collection":[{"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=460"}],"version-history":[{"count":7,"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":483,"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions\/483"}],"wp:attachment":[{"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.73007300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}