{"id":501179,"date":"2021-06-14T00:14:08","date_gmt":"2021-06-13T16:14:08","guid":{"rendered":"http:\/\/4563.org\/?p=501179"},"modified":"2021-06-14T00:14:08","modified_gmt":"2021-06-13T16:14:08","slug":"%e3%80%90%e5%ae%8c%e6%95%b4%e6%95%99%e7%a8%8b%e3%80%91%e7%94%b2%e9%aa%a8%e6%96%87arm-dd-debian10-%e5%bc%80ipv6-%e5%8d%87%e5%86%85%e6%a0%b8-%e5%ae%89%e5%ae%9d%e5%a1%94-%e9%85%8dwarp","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=501179","title":{"rendered":"\u3010\u5b8c\u6574\u6559\u7a0b\u3011\u7532\u9aa8\u6587ARM DD Debian10 \u5f00IPv6 \u5347\u5185\u6838 \u5b89\u5b9d\u5854 \u914dWARP"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u4fbf\u5b9c\u4e3b\u673a\u63a8\u8350<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:36:55\t<\/p>\n<h3>\u3010\u5b8c\u6574\u6559\u7a0b\u3011\u7532\u9aa8\u6587ARM DD Debian10 \u5f00IPv6 \u5347\u5185\u6838 \u5b89\u5b9d\u5854 \u914dWARP<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u4fbf\u5b9c\u4e3b\u673a\u63a8\u8350 \u4e8e 2021-6-1 16:45 \u7f16\u8f91 <\/p>\n<p> \u4ee5\u4e0b\u64cd\u4f5c\u7686\u5728Root\u6743\u9650\u4e0b\u8fdb\u884c\uff0c\u5e76\u4e14\u5b9e\u4f8b\u4e3a ubuntu 20.4\uff0c\u975e mini \u7248\uff1b<br \/>  \u666e\u901a\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u201dsudo -i\u201c\u547d\u4ee4\u5207\u6362\u4e3aRoot\u3002<\/p>\n<p>  \u5b89\u88c5 Debian 10\uff08\u6765\u81ea\uff1ahttps:\/\/github.com\/bohanyang\/debi\uff09<\/p>\n<p>  \u5b89\u88c5\u4f9d\u8d56<br \/>  apt-get update -y &amp;&amp; apt-get install -y xz-utils openssl gawk file wget screen &amp;&amp; screen -S os<\/p>\n<p>  \u4e0b\u8f7d\u811a\u672c<br \/>  curl -fLO https:\/\/raw.githubusercontent.com\/bohanyang\/debi\/master\/debi.sh &amp;&amp; chmod a+rx debi.sh<\/p>\n<p>  \u8fd0\u884c\u811a\u672c\uff08\u4ee5\u4e0b\u547d\u4ee4\u9009\u9879\u5f00\u542f\u4e86 BBR\uff1b\u8bbe\u7f6e\u4e86\u7f51\u5361\u540d\u79f0\u5f62\u5f0f\u662f eth0 \u800c\u4e0d\u662f ens3 \u8fd9\u79cd\uff1b\u5982\u679c\u4e0d\u662f ARM \u67b6\u6784\uff0c\u8fd8\u53ef\u4ee5\u6dfb\u52a0 &#8211;cloud-kernel \u4f7f\u7528\u8f7b\u91cf\u7248\u5185\u6838\uff1bmjj@123\u4e3a\u9ed8\u8ba4\u5bc6\u7801\u53ef\u4ee5\u4fee\u6539\uff09<br \/>  .\/debi.sh &#8211;cdn &#8211;network-console &#8211;ethx &#8211;bbr &#8211;user root &#8211;password mjj@123<\/p>\n<p>  \u6ca1\u6709\u62a5\u9519\u91cd\u542f\u7b49\u5f8510\u5206\u949f\u4ee5\u540e\u518d\u8fde\u63a5\uff08\u5982\u679c\u63d0\u793a\u5bc6\u7801\u4e0d\u5bf9\u5c31\u662f\u6ca1\u6709DD\u5b8c\uff0c\u7b49\u5c31\u884c\u3002\uff09<br \/>  shutdown -r now<\/p>\n<p>  \u81ea\u52a8\u83b7\u53d6 IPv6<\/p>\n<p>  \u65b0\u5efa interfaces \u914d\u7f6e\u6587\u4ef6<br \/>  vi \/etc\/systemd\/network\/10-eth0.network<\/p>\n<p>  Name = eth0<\/p>\n<p>  DHCP = ipv4<br \/>  LinkLocalAddressing = ipv6<br \/>  NTP = 169.254.169.254<\/p>\n<p>  \u6ce8\u610f\u8981\u628a eth0 \u6539\u6210\u5b9e\u9645\u7684\u7f51\u5361\u540d\u79f0<\/p>\n<p>  \u63a5\u4e0b\u6765\u7981\u7528\u9ed8\u8ba4\u7684 ifupdown \u5e76\u542f\u7528 systemd-networkd\u3002\u6ce8\u610f\u4e0b\u9762\u7684\u547d\u4ee4\u9700\u8981\u4e00\u6b21\u8fc7\u6267\u884c\uff0c\u4e0d\u7136\u7f51\u7edc\u505c\u6389\u4e4b\u540e SSH \u4e5f\u4f1a\u65ad\u7ebf\u3002eth0 \u8981\u6539\u6210\u5b9e\u9645\u7684\u7f51\u5361\u540d\u79f0\u3002<\/p>\n<p>  systemctl stop networking &amp;&amp; systemctl stop ifup@eth0 &amp;&amp; systemctl start systemd-networkd<\/p>\n<p>  \u5982\u679c\u547d\u4ee4\u6267\u884c\u5b8c\u540e SSH \u6b63\u5e38\u8fde\u7ebf\uff0c\u8bf4\u660e\u65b0\u7684\u7f51\u7edc\u914d\u7f6e\u6210\u529f\u4e86\u3002\u5378\u8f7d ifupdown \u5e76\u8bbe\u7f6e systemd-networkd \u5f00\u673a\u542f\u52a8\u5c31\u597d\u4e86\u3002<\/p>\n<p>  systemctl enable systemd-networkd<br \/>  apt purge -y &#8211;auto-remove ifupdown isc-dhcp-client<\/p>\n<p>  \u5176\u5b9e Ubuntu 18.04\/20.04 \u9ed8\u8ba4\u4f7f\u7528\u7684\u7f51\u7edc\u914d\u7f6e\u7cfb\u7edf netplan \u7684\u540e\u7aef\u5c31\u662f systemd-networkd\uff0c\u5176\u5b9e\u662f\u53c2\u8003\u4e86 Ubuntu \u7cfb\u7edf\u6a21\u677f\u7684\u914d\u7f6e\u3002<\/p>\n<p>  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>  \u66f4\u65b0\u5185\u6838\u81f35.10<\/p>\n<p>  \u5b89\u88c5\u4f9d\u8d56<br \/>  apt-get update &amp;&amp; apt-get install -y lsb-release &amp;&amp; apt-get clean all &amp;&amp; apt update<\/p>\n<p>  \u5b89\u88c5\u5185\u6838<br \/>  apt -t $(lsb_release -sc)-backports install linux-image-$(dpkg &#8211;print-architecture) linux-headers-$(dpkg &#8211;print-architecture) -y<br \/>  \u91cd\u542f\u7cfb\u7edf<br \/>  reboot<br \/>  \u68c0\u67e5\u5185\u6838<br \/>  uname -r<\/p>\n<p>  \u6ca1\u95ee\u9898\u7684\u8bdd\u53ef\u4ee5\u5378\u8f7d\u8001\u5185\u6838\uff08\u6d01\u7656\u53ef\u9009\u9879\uff09<br \/>  dpkg -l|grep linux-image | awk &#8216;{print $2}&#8217;<\/p>\n<p>  apt remove &#8211;purge linux-image-4.19.0-16-arm64<\/p>\n<p>  update-grub2<br \/>  reboot<\/p>\n<p>  \u5b89\u88c5\u5b9d\u5854<\/p>\n<p>  #\u9996\u5148\u8fd0\u884c\u5b98\u65b9\u811a\u672c\u5b89\u88c5\u6700\u65b0\u7248Debian\u5b9d\u5854\uff1a<br \/>  wget -O install.sh http:\/\/download.bt.cn\/install\/install-ubuntu_6.0.sh &amp;&amp; bash install.sh<\/p>\n<p>  #\u7b49\u5f85\u5927\u69825-10\u5206\u949f\u5b89\u88c5\u540e\u8fd0\u884c\u547d\u4ee4\u6e05\u9664\u624b\u673a\u53f7\u7ed1\u5b9a\u6846\uff1a<br \/>  sed -i &quot;s|if (bind_user == &#8216;True&#8217;) {|if (bind_user == &#8216;REMOVED&#8217;) {|g&quot; \/www\/server\/panel\/BTPanel\/static\/js\/index.js<\/p>\n<p>  \u90e8\u7f72WARP\uff08\u5347\u7ea7\u5b8c\u5185\u6838\u518d\u64cd\u4f5c\uff01\uff09<br \/>  apt update &amp;&amp; apt install curl lsb-release -y &amp;&amp; echo &quot;deb http:\/\/deb.debian.org\/debian $(lsb_release -sc)-backports main&quot; | tee \/etc\/apt\/sources.list.d\/backports.list &amp;&amp; apt update &amp;&amp; apt install net-tools iproute2 openresolv dnsutils -y &amp;&amp; apt install wireguard-tools &#8211;no-install-recommends &amp;&amp; curl -fsSL git.io\/wgcf.sh | bash &amp;&amp; wgcf register &amp;&amp; wgcf generate &amp;&amp; sed -i &#8216;\/0.0.0.0\/d&#8217; .\/wgcf-profile.conf&amp;&amp; sed -i &#8216;s\/engage.cloudflareclient.com\/162.159.192.1\/g&#8217; .\/wgcf-profile.conf &amp;&amp; sed -i &#8216;s\/1.1.1.1\/168.126.63.2,8.8.8.8,208.67.222.222\/g&#8217; .\/wgcf-profile.conf &amp;&amp; cp wgcf-profile.conf \/etc\/wireguard\/wgcf.conf &amp;&amp; systemctl start wg-quick@wgcf &amp;&amp; systemctl enable wg-quick@wgcf &amp;&amp; grep -qE &#8216;^[ ]*label[ ]*2002::\/16[ ]*2&#8217; \/etc\/gai.conf || echo &#8216;label 2002::\/16&nbsp; &nbsp;2&#8217; | tee -a \/etc\/gai.conf<\/p>\n<p>  \u68c0\u6d4bIPv6\u89e3\u9501<br \/>  apt install -y curl jq &amp;&amp; bash &lt;(curl -sSL https:\/\/raw.githubusercontent.com\/Netflixxp\/NF\/main\/nf.sh)<\/p>\n<p>  \u66f4\u591a\u8bf7\u53c2\u8003\u5176\u4ed6\u5927\u4f6c\u6559\u7a0b\uff1ahttps:\/\/hostloc.com\/thread-849746-1-1.htmlhttps:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>h20<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:40:27\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e00\u952e\u5931\u8054\u3000\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>old_orange<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:46:19\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6536\u85cf\u4e86\uff0c\u6309\u8fd9\u79cd\u65b9\u5f0fDD\u6210\u529f\u8fc7\uff0c\u7136\u540e\u7528\u4e00\u952e\u811a\u672c\u88c5\u4e86\u539f\u7248BBR\u5185\u6838https:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>h20<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:45:18\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 h20 \u4e8e 2021-6-1 10:46 \u7f16\u8f91 <\/p>\n<p> LEB \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:44<br \/>  \u8fd9\u3002\u3002\u3002\u4e0d\u5982\u76f4\u63a5\u4e0abullseye\u554a<\/p>\n<p>  \u8fd9\u624d\u662f\u6b63\u786e\u64cd\u4f5c<br \/>  \u6709\u7684\u4eba\u5929\u5929\u5206\u4eab\u4e9b\u4e71\u4e03\u516b\u7cdf\u7684\u52a8\u4e0d\u52a8\u5c31\u5506\u4f7f\u522b\u4eba\u641e\u5185\u6838\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>LEB<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:44:38\t<\/p>\n<p>  \t\t\t\t\t<strong>huajiwuyan<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:43:58\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6536\u85cf\u4e0b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>mhsl<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:48:17\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9876\u697c\u4e3b\uff0cH2O\u771f\u7684\u662f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>xinuu<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:57:02\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6280\u672f\u8d34\u7ed1\u5b9a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>YIMSHING<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 10:57:50\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6280\u672f\u8d34\u725b\uff0c\u8d5e\u8d5e\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zoohe<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-6-1 11:01:08\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4fbf\u5b9c\u4e3b\u673a\u63a8\u8350 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 20&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/501179"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=501179"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/501179\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=501179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=501179"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=501179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}