id: db61369f30d64c9d813b87d42a595103
parent_id: 
item_type: 1
item_id: e58b3f69b6824b419a7bddcd17622452
item_updated_time: 1764345604085
title_diff: "[{\"diffs\":[[1,\"QNAP TS-551 Docker Openwrt\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":26}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>QNAP TS-551 Docker Openwrt</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"27203\\\"></a>\\\r\\\n<h1>QNAP TS-551 Docker Openwrt</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><div><br/></div><div style=\\\"box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;\\\"><div><font face=\\\"新宋体\\\" style=\\\"font-size: 14pt;\\\">如果你的ip是绑定在eth开头的端口上，请继续往下看，如果是br, qvs或者其他的开头你按照下文操作，会出现o插件无效的问题！</font></div><div><font face=\\\"新宋体\\\" style=\\\"font-size: 14pt;\\\">P.S.这种其实有更简单的设置方法，但是暂时不想写，后面有时间补上吧。</font></div></div><div><br/></div><div><br/></div><div>QNAP NAS网卡配置：</div><div><br/></div><div>10: <span style=\\\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\\\">qvs0</span>: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UP group default qlen 1000</div><div>    link/ether 24:5e:be:32:c6:d3 brd ff:ff:ff:ff:ff:ff</div><div>    inet <span style=\\\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\\\">192.168.3.10</span>/24 brd 192.168.3.255 scope global qvs0</div><div>       valid_lft forever preferred_lft forever</div><div>    inet6 fe80::265e:beff:fe32:c6d3/64 scope link</div><div>       valid_lft forever preferred_lft forever</div><div>11: qvs1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UP group default qlen 1000</div><div>    link/ether 24:5e:be:32:c6:d4 brd ff:ff:ff:ff:ff:ff</div><div>    inet 192.168.139.109/24 brd 192.168.139.255 scope global qvs1</div><div>       valid_lft forever preferred_lft forever</div><div>    inet6 2409:8a1e:9464:9320:265e:beff:fe32:c6d4/64 scope global mngtmpaddr dynamic</div><div>       valid_lft 325sec preferred_lft 325sec</div><div>    inet6 fe80::265e:beff:fe32:c6d4/64 scope link</div><div><br/></div><div>Openwet网络配置：</div><div><div><br/></div><table style=\\\"border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col><col style=\\\"width: 130px;\\\"></col></colgroup><tbody><tr><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>NAS IP</div></td><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>192.168.3.10</div></td></tr><tr><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>Gateway Mask</div></td><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>192.168.3.0</div></td></tr><tr><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>Gateway</div></td><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>192.168.3.1</div></td></tr><tr><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>Openwrt</div></td><td style=\\\"width: 130px; padding: 8px; border: 1px solid;\\\"><div>192.168.3.15</div></td></tr></tbody></table><div>命令1：<span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">新建macvlan网络</span></div></div><div>docker network create -d macvlan --subnet=192.168.3.0/24 --gateway=192.168.3.1 -o parent=<span style=\\\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\\\">qvs0 </span>macnet</div><div><br/></div><div>命令2：<span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">创建OpenWrt旁路由容器</span></div><div>docker run --restart always --name openwrt -d --network macnet --ip 192.168.3.15 --privileged esirpg/buddha /sbin/init</div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><br/></div><div><div><br/></div><table bgcolor=\\\"#D4DDE5\\\" border=\\\"0\\\" width=\\\"100%\\\"><colgroup><col></col></colgroup><tbody><tr><td><h1>QNAP x86 机型 docker 安装 openwrt_NAS存储_什么值得买</h1><div><span style=\\\"font-weight: bold;\\\">来源网址：</span> <a href=\\\"https://post.smzdm.com/p/a203n4d7/\\\">https://post.smzdm.com/p/a203n4d7/</a></div></td></tr></tbody></table><div><br/></div></div><div><br/></div><div style=\\\"min-height: 7003px; font-size: 16px; min-width: 100%; position: relative;\\\"><div style=\\\"font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"vertical-align: baseline; font-size: 16px; text-align: left;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"margin: 0px auto; padding: 0px 2em; border: 0px; font-size: inherit; vertical-align: baseline; width: 36em; z-index: 200; position: relative;\\\"><div style=\\\"margin: 0px 25px 0px -25px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; position: relative;\\\"><div style=\\\"margin: 0px; padding: 0px 0px 9em; border: 0px; font-size: inherit; vertical-align: baseline; position: relative;\\\"><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; position: relative;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"background-color: transparent; margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><h1 style=\\\"text-align: left; border: 0px; vertical-align: baseline; font-size: 35px; padding: 0px; margin: 0px;\\\"><span style=\\\"font-size: 35px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: normal; line-height: 35px;\\\">QNAP x86 机型 docker 安装 openwrt</span></h1><div style=\\\"padding: 1.5em 0px; border: 0px; font-size: inherit; vertical-align: baseline; position: relative; height: 1em; text-align: center; margin: 0px;\\\"><div style=\\\"padding:0px;border:0px;font:inherit;vertical-align:baseline;background:-webkit-linear-gradient(0deg, rgb(243, 242, 238) 1%, rgb(31, 9, 9) 50%, rgb(243, 242, 238) 99%);position:absolute;left:-4em;top:50%;z-index:10;width:100%;padding-left:4em;padding-right:4em;height:0.1em;opacity:0.5;margin:0px;margin-bottom:0px;\\\"></div></div></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">2022-06-27 22:38:17 38点赞 83收藏 17评论</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">写在前面：本文不是给入门级小白看的，所以很多简单的东西请你直接百度了</span></div><h2 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: bold; line-height: 35px;\\\">前提</span></h2><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">在qnap上打开ssh， 登录上ssh</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">输入</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">ip addr</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">找到你当前设备的ip, 查看该ip所属的端口，如下图：</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"></div></div><div style=\\\"background-color: transparent; margin: 1em 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><div style=\\\"border: 0px; font-size: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"><a href=\\\"https://post.smzdm.com/p/a203n4d7/pic_2/\\\" style=\\\"background-color: transparent; font-size: inherit; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\" target=\\\"null\\\"><img src=\\\":/24e229986bb24606b27a045ee94e2205\\\" type=\\\"image/png\\\" data-filename=\\\"62b822ceb955a5039.png_e1080.jpg\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;display:block;max-width:100%;\\\" width=\\\"576\\\"/></a></div></div><p style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;\\\"></p><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; background-color: rgb(255, 250, 165); color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;-evernote-highlight:true;\\\">ip 192.168.50.55就是在端口eth0上的。如果你的ip是绑定在eth开头的端口上，请继续往下看，如果是br, qvs或者其他的开头你按照下文操作，会出现o插件无效的问题！P.S.这种其实有更简单的设置方法，但是暂时不想写，后面有时间补上吧。</span></div><h2 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: bold; line-height: 35px;\\\">预设</span></h2><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">为了方便理解，我这边预设条件，你可以把这里的中括号中的内容替换为你自己实际的</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">假设你的nas ip 是[192.168.123.18]</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">则你的</span><a href=\\\"https://www.smzdm.com/fenlei/luyouqi/\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\">路由器</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">网段是[192.168.123.0]</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">则你的路由器地址为[192.168.123.1]</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">你希望通过使用没有被占用的ip地址 [192.168.123.100]来访问你新搭建的openwrt</span></div><h2 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: bold; line-height: 35px;\\\">第一步 创建macvlan网络</span></h2><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">ssh执行命令：</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">docker network create -d macvlan --subnet=192.168.123.0/24 --gateway=192.168.123.1 -o parent=eth0 macnet</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">需要注意的地方：</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">192.168.123.0 -&gt; 修改为你自己网络所在的网段，比如你nas的ip 是192.168.123.18 那这里就修改为192.168.123.0 （最后一位是0）</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">192.168.123.1 -&gt; 修改为你路由器的ip地址 比如你nas的ip 是192.168.123.18 那这里就修改为192.168.123.1 （最后一位是1）</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">eth0 -&gt; 修改为你在第一步中看到的接口，注意必须是eth开头！</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">你可以通过下面命令查看你的macnet网络是否创建成功</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">docker network ls</span></div></blockquote><h2 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: bold; line-height: 35px;\\\">第二步 创建openwrt容器命令</span></h2><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">ssh执行命令：</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">docker run --restart always --name myop -d --network macnet --ip x.x.x.x --privileged sulinggg/openwrt:x86_64 /sbin/init</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">需要注意的地方：</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">x.x.x.x 修改为一个你内网中没有被使用的ip, 根据预设条件</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">这边的x.x.x.x 就修改为192.168.123.100</span></div><h2 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: bold; line-height: 35px;\\\">第三步 修改配置文件</span></h2><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">进入容器内部，ssh执行</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">docker exec -it myop bash</span></div></blockquote><h3 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: normal; line-height: 35px;\\\">1. 修改openwrt 配置文件，ssh执行</span></h3><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">nano /etc/config/network</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">找到下面一段进行修改</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">config interface 'lan'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option ifname 'eth0'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option proto 'static'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option netmask '255.255.255.0'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option ip6assign '60'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option ipaddr '192.168.123.2'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option gateway '192.168.123.1'</span></div><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option dns '192.168.123.1'</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">eth0 -&gt; 不要改</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">192.168.123.2 -&gt; 修改为一个你内网中没有被使用的ip, 根据预设条件 这边的就修改为192.168.123.100</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">192.168.123.1(两处都要改) -&gt; 修改为你路由器的ip地址 根据预设条件 这边的就修改为 192.168.123.1 （最后一位是1）</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">输入crtl + x 然后 按y回车保存修改（如果你修改错了，或者不想修改，按n回车）</span></div><h3 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: normal; line-height: 35px;\\\">2. 修改防火墙配置文件</span></h3><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">ssh执行</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">nano /etc/config/firewall</span></div></blockquote><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option syn_flood '0'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option i</span><a href=\\\"https://pinpai.smzdm.com/205135/\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em; text-decoration: none;\\\">np</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">ut 'ACCEPT'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option output 'ACCEPT'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option forward 'ACCEPT'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option flow_offloading '0'</span></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option flow_offloading_hw '0'</span></div><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">option fullcone '0'</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">这里主要修改 syn_flood 为 '0'</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">option forward 为 'ACCEPT'</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">输入crtl + x 然后 按y回车保存修改（如果你修改错了，或者不想修改，按n回车）</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">输入命令退出容器</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">exit</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">重启容器</span></div><blockquote style=\\\"background-color: transparent; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; font-size: inherit; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-style: italic; line-height: 1.5em;\\\">docker restart myop</span></div></blockquote><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">进入你的op首页:</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">h</span><a href=\\\"https://pinpai.smzdm.com/54823/\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\">tt</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">p://192.168.123.100</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">用户名：root</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">密码： password</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"></div></div><div style=\\\"background-color: transparent; margin: 1em 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><div style=\\\"border: 0px; font-size: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"><a href=\\\"https://post.smzdm.com/p/a203n4d7/pic_3/\\\" style=\\\"background-color: transparent; font-size: inherit; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\" target=\\\"null\\\"><img src=\\\":/48c49a7ebd094d2d829ebe0d7a1da914\\\" type=\\\"image/png\\\" data-filename=\\\"62b83438caf33913.png_e1080.jpg\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;display:block;max-width:100%;\\\" width=\\\"576\\\"/></a></div></div><p style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;\\\"></p><h2 style=\\\"background-color: transparent; text-align: left; margin: 35px 0px 15px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 30px;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; font-weight: bold; line-height: 35px;\\\">手动指定网关</span></h2><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">将你的设备（电脑或者</span><a href=\\\"https://www.smzdm.com/fenlei/zhinengshouji/\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\">手机</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">）的网关和dns设置为你的op所在的地址，这里根据预设就是</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">192.168.123.100</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">安卓：</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"></div></div><div style=\\\"background-color: transparent; margin: 1em 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><div style=\\\"border: 0px; font-size: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"><a href=\\\"https://post.smzdm.com/p/a203n4d7/pic_4/\\\" style=\\\"background-color: transparent; font-size: inherit; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\" target=\\\"null\\\"><img src=\\\":/0fd021586a6c493aad19c2a21ffbeea6\\\" type=\\\"image/png\\\" data-filename=\\\"62b834aad808c9083.png_e1080.jpg\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;display:block;max-width:100%;\\\" width=\\\"576\\\"/></a></div></div><p style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;\\\"></p><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">需要在安卓的 WIFI 设置内将 IP 获取方式更改为“静态”或“手动”，其中：</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">“IP 地址”项目需要更改为网段内不冲突的地址；</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">“网关”或“路由器”项目需要更改为旁路网关 IP 地址；</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">“前缀长度”项目填写“24”；</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">“D</span><a href=\\\"https://pinpai.smzdm.com/61521/\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\">NS</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">”项目需要更改为旁路网关 IP 地址（两个 DNS 输入框填写一个就可以）。</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">完成并提交设置后，关闭 WIFI 开关再打开，连接设置的 WIFI 热点，若当前网络参数为设定值，则证明设置成功。</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">IOS类似</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">Windows:</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><div style=\\\"border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"></div></div><div style=\\\"background-color: transparent; margin: 1em 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><div style=\\\"border: 0px; font-size: inherit; vertical-align: baseline; margin: 0px; padding: 0px;\\\"><a href=\\\"https://post.smzdm.com/p/a203n4d7/pic_5/\\\" style=\\\"background-color: transparent; font-size: inherit; color: rgb(6, 85, 136); font-family: &quot;PT Serif&quot;; line-height: 1.5em; text-decoration: none;\\\" target=\\\"null\\\"><img src=\\\":/5afe7280e3bb4dc484f73b049232a302\\\" type=\\\"image/png\\\" data-filename=\\\"62b834ce2ba288030.png_e1080.jpg\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;display:block;max-width:100%;\\\" width=\\\"576\\\"/></a></div></div><p style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;\\\"></p><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">在无线热点的“属性”界面下，点击 “IP 设置 - 编辑”按钮，在弹出框中更改 IP 分配模式为“手动”，打开 IPV4 的开关，根据所处网段及上文安卓的相关设置填写相关参数即可。</span></div><div style=\\\"background-color: transparent; margin: 0px 0px 1.5em; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">Enjoy!</span></div><div style=\\\"background-color: transparent; margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">作者声明本文无利益相关，欢迎值友理性交流，和谐讨论～</span></div><div style=\\\"background-color: transparent; margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px;\\\"><br/></span></div><div style=\\\"background-color: transparent; margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"></div></div></div></div></div></div></div></div></div></div></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">群晖DSM系统新建macvlan网络</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">================================================================</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#新建macvlan网络</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">docker network create -d macvlan -o parent=【eth0】 【eNet】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">--subnet=【Network IP】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">--gateway=【Gateway IP】</span></div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#创建qBittorrent容器，使用macvlan网络</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">docker run -d \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  --name=qbittorrent \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  --network 【eNet】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  --ip=【assigned IP】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  -e PUID=【xxx】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  -e PGID=【xxx】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  -e TZ=Asia/Shanghai \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  -e UMASK_SET=022 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  -e WEBUI_PORT=8080 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  -v /path to/config:/config \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  -v /path to/downloads:/downloads \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  --restart unless-stopped \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">  linuxserver/qbittorrent /init</span></div><div><br/></div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">Linux server 运行旁路由运行命令</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">====================================================================</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#新建macvlan网络</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">sudo docker network create -d macvlan -o parent=【eth0】 【eNet】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">--subnet=【Network IP】 \\\\</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">--gateway=【Gateway IP】</span></div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#创建OpenWrt旁路由容器</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">sudo docker run -d --restart always --name 【container Name】 --privileged --network 【eNet】 --ip=【assigned IP】 esirpg/buddha /sbin/init</span></div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#进入容器</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">sudo docker exec -it 【container Name】 ash</span></div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#重启network进程</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">/etc/init.d/network restart</span></div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#终止容器</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">sudo docker stop 【container Name】</span></div><div><br/></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">#启动容器</span></div><div style=\\\"margin-top: 0pt; margin-bottom: 0pt;\\\"><span style=\\\"font-size: 11pt; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Arial; font-variant: normal; line-height: 1.38;\\\">sudo docker start 【container Name】</span></div><div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":50288}]"
metadata_diff: {"new":{"id":"e58b3f69b6824b419a7bddcd17622452","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","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":1764348823642,"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-28T21:03:59.875Z
created_time: 2025-11-28T21:03:59.875Z
type_: 13