{"id":153,"date":"2022-04-14T21:09:30","date_gmt":"2022-04-14T13:09:30","guid":{"rendered":"http:\/\/flighhai.cn\/?p=153"},"modified":"2024-04-18T20:13:09","modified_gmt":"2024-04-18T12:13:09","slug":"%e7%88%b1%e5%bf%ab%e9%80%9a%e8%bf%87docker%e5%88%b6%e4%bd%9c%e5%86%85%e7%bd%91adguardhome%e5%8e%bb%e5%b9%bf%e5%91%8a%e3%80%81%e7%bd%91%e9%a1%b5%e7%a7%92%e5%bc%80%e6%95%99%e7%a8%8b%ef%bc%88%e6%97%a7","status":"publish","type":"post","link":"https:\/\/flighhai.cn\/?p=153","title":{"rendered":"\u7231\u5feb\u901a\u8fc7Docker\u5236\u4f5c\u5185\u7f51\u3001\u5916\u7f51AdGuardhome\u53bb\u5e7f\u544a\u3001\u7f51\u9875\u79d2\u5f00\u6559\u7a0b\uff08\u65e7\u7248\u6587\u7ae0\uff09"},"content":{"rendered":"<p style=\"text-align: center;\">\u7231\u5feb\u901a\u8fc7Docker\u5236\u4f5c\u5185\u7f51\u3001\u516c\u7f51AdGuardHome\u53bb\u5e7f\u544a\u3001\u7f51\u9875\u79d2\u5f00\u6559\u7a0b<\/p>\n<p>\u8fd9\u662f\u65e7\u7248\u6587\u7ae0\uff0c2024\u5e74\u65b0\u7248\u6559\u7a0b\u8bf7\u8bbf\u95ee<a href=\"https:\/\/flighhai.cn\/?p=544\">https:\/\/flighhai.cn\/?p=544<\/a><\/p>\n<p style=\"text-align: left;\">\u9996\u5148\u767b\u9646\u7231\u5feb\u4e91\u8fdb\u884cDocker\u7684\u5b89\u88c5\uff0c\u70b9\u51fb\u63d2\u4ef6\u5e94\u7528\u3002\u5728\u63d2\u4ef6\u5e02\u573a\u4e2d\u53ef\u4ee5\u770b\u89c1Docker\u7684\u56fe\u6807\uff0c\u70b9\u51fb\u5b89\u88c5\uff0c\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u9009\u62e9\u9700\u8981\u5b89\u88c5Docker\u7684\u8def\u7531\u5668\u3002<\/p>\n<p style=\"text-align: left;\">\u9996\u6b21\u5b89\u88c5\u9700\u8981\u9009\u62e9\u50a8\u5b58\u5206\u533a\u3002\u8fdb\u5165\u7231\u5feb\u78c1\u76d8\u7ba1\u7406\u5206\u51fa\u78c1\u76d8\uff0c\u7136\u540e\u9009\u62e9\u7ed1\u5b9a\u4e1a\u52a1\u4e3a\u201c\u666e\u901a\u5b58\u50a8\u201d\u6302\u8f7d\u8def\u5f84\u6309\u7167\u81ea\u5df1\u7684\u9700\u6c42\u8fdb\u884c\u8bbe\u7f6e\u3002\u5b8c\u6210\u5206\u533a\u540e\u518d\u6b21\u8fdb\u5165Docker\uff0c\u70b9\u51fb\u5f00\u5173\u65c1\u8fb9\u7684\u670d\u52a1\u8bbe\u7f6e\u3002\u5c06\u50a8\u5b58\u5206\u533a\u8bbe\u7f6e\u4e3a\u521a\u521a\u6dfb\u52a0\u7684\u5206\u533a\u3002\u7136\u540e\u9700\u8981\u5c06\u5c06\u955c\u50cf\u5e93URL\u8bbe\u7f6e\u4e3a\uff1ahttps:\/\/hub-mirror.c.163.com\/\uff08\u8fd9\u4e2a\u662f163\u7684\u516c\u5171\u955c\u50cf\u5e93\uff09\u7136\u540e\u70b9\u51fb\u4fdd\u5b58\u3002\u8bbe\u7f6e\u5b8c\u6210\u540eDocker\u670d\u52a1\u5c31\u4f1a\u81ea\u52a8\u5f00\u542f\u4e86\u3002<\/p>\n<p>\u7136\u540e\u8fdb\u884c\u63a5\u53e3\u7ba1\u7406\uff0c\u70b9\u51fb\u63a5\u53e3\u7ba1\u7406\u3001\u6dfb\u52a0\u3002\u63a5\u53e3\u540d\u79f0\u8bbe\u7f6e\u4e3a\u81ea\u5df1\u60f3\u8981\u7684\u3002IPV4\u7684\u5730\u5740\u4e0d\u80fd\u548c\u7231\u5feb\u7684\u5730\u5740\u662f\u540c\u4e00\u4e2a\u3002\u4f8b\u5982\u7231\u5feb\u7684\u5730\u5740\u662f10.24.112.1 DHCP\u4e3a10.24.112.2-10.24.112.255 \u8fd9\u91cc\u7684IPV4\u5730\u5740\u5c31\u4e0d\u80fd\u662f\u8fd9\u4e2a\u8303\u56f4\u3002\u53ef\u4ee5\u8bbe\u7f6e\u4e3a192.168.10.0\/24\u7136\u540eIPV4\u7f51\u5173\u8bbe\u7f6e\u4e3a192.168.10.1\u6211\u4eec\u4e4b\u540e\u901a\u8fc7192.168.10.1\u4e5f\u53ef\u4ee5\u8fdb\u5165\u7231\u5feb\u7684\u767b\u9646\u540e\u53f0\u9875\u9762\u3002\u7136\u540e\u5c06IPV6\u4e5f\u5f00\u542f\uff0cIPV6\u5730\u5740\u8bbe\u7f6e\u4e3afd32::\/64\u7136\u540eIPV6\u7f51\u5173\u8bbe\u7f6e\u4e3afd32::1\u7136\u540e\u70b9\u51fb\u4fdd\u5b58\u3002<\/p>\n<p>\u4fdd\u5b58\u5b8c\u6210\u540e\u53ef\u4ee5\u770b\u7684\u63a5\u53e3\u540d\u79f0\u591a\u4e86\u4e00\u4e2adoc_XXX\u7684\u63a5\u53e3\u540d\u79f0\uff0cXXX\u4e3a\u521a\u521a\u8bbe\u7f6e\u7684\u63a5\u53e3\u540d\u79f0\u3002<\/p>\n<p>\u7136\u540e\u8fdb\u884c\u955c\u50cf\u7ba1\u7406\uff0c\u70b9\u51fb\u955c\u50cf\u7ba1\u7406\u3001\u6dfb\u52a0\uff0c\u7136\u540e\u70b9\u51fb\u955c\u50cf\u5e93\u4e0b\u8f7d\u3002\u5728\u955c\u50cf\u5e93\u641c\u7d22\u680f\u91cc\u9762\u8f93\u5165adguard\u3002<\/p>\n<p>\u955c\u50cf\u540d\u79f0\u662f\uff1aadguard\/adguardhome \u00a0 \u00a0\u63cf\u8ff0\u662fNetwork-wide ads &amp; trackers blocking DNS server\u3002\u7136\u540e\u70b9\u51fb\u8fdb\u5165\u4e0b\u8f7d\u9875\u5e76\u9009\u62e9\u6700\u65b0\u7248\u3002\u4f8b\u5982\uff1a<strong>adguard\/adguardhome:v0.108.0-b.20\uff0c\u8bf7\u5c3d\u91cf\u4e0b\u8f7d\u65b0\u7248\uff01\uff01\uff01<\/strong><\/p>\n<p>\u7a0d\u7b49\u4e00\u4f1a\u8dd1\u7801\u4e4b\u540e\u4f1a\u81ea\u52a8\u8fd4\u56de\u955c\u50cf\u7ba1\u7406\u9875\u9762\uff0c\u5e76\u4e14\u53ef\u4ee5\u770b\u7684\u521a\u521a\u6dfb\u52a0\u7684\u955c\u50cf\u3002<\/p>\n<p>\u7136\u540e\u8fdb\u884c\u5bb9\u5668\u7684\u6dfb\u52a0\uff0c\u70b9\u51fb\u5bb9\u5668\u5217\u8868\u3001\u6dfb\u52a0\u3002\u5bb9\u5668\u540d\u79f0\u8bbe\u7f6e\u4e3a\u81ea\u5df1\u559c\u6b22\u7684\uff0c\u4f8b\u5982AdGuardHome\u3002\u5185\u5b58\u5360\u7528\u6309\u7167\u81ea\u5df1\u7684\u9700\u6c42\u8bbe\u7f6e\uff0c\u6700\u4f4e\u503c\u5efa\u8bae\u4e3a128\u5146\u3002\u5982\u679c\u8bbe\u5907\u6bd4\u8f83\u591a\u89c4\u5219\u6bd4\u8f83\u591a\u5efa\u8bae\u8bbe\u7f6e\u5230512\u5146\u4ee5\u4e0a<\/p>\n<p>\u955c\u50cf\u6587\u4ef6\u9009\u62e9\u521a\u521a\u6dfb\u52a0\u7684\u955c\u50cf\u6587\u4ef6\u3002\u5185\u7f51\u63a5\u53e3\u4e5f\u662f\u9009\u62e9\u521a\u521a\u6dfb\u52a0\u7684\u7f51\u7edc\u63a5\u53e3\u3002IPV4\u5730\u5740\u586b\u521a\u521a\u81ea\u5df1\u8bbe\u7f6e\u7684\u7f51\u6bb5\uff0c\u4f8b\u5982\u521a\u521a\u6559\u7a0b\u91cc\u8bbe\u7f6e\u7684\u662f192.168.10.0\/24\u7f51\u6bb5\uff0c\u5728\u8fd9\u91ccAdGuardHome\u7684IPV4\u5730\u5740\u5c31\u8bbe\u7f6e\u4e3a192.168.10.2\u7136\u540eIPV6\u5730\u5740\u53ef\u4ee5\u7559\u7a7a\uff0c\u5446\u4f1a\u56de\u81ea\u52a8\u8bbe\u7f6e\u3002\u7136\u540e\u52fe\u9009\u5f00\u673a\u81ea\u542f\u3002\u7136\u540e\u70b9\u51fb\u9ad8\u7ea7\u8bbe\u7f6e\u3002\u9700\u8981\u6dfb\u52a0\u4e24\u4e2a\u8def\u5f84\u3002<\/p>\n<p>\u7b2c\u4e00\u4e2a\u8def\u5f84\u4e3a\/opt\/adguardhome\/work<\/p>\n<p><strong><em>\u201c\u539f\u8def\u5f84\u201d<\/em><\/strong>\u9700\u8981\u5728\u6587\u4ef6\u7ba1\u7406\u91cc\u9762\u6dfb\u52a0\u5efa\u8bae\u5728Docker\u6587\u4ef6\u5939\u91cc\u9762\u521b\u5efaadguardhome\u6587\u4ef6\u5939\u521b\u5efaconfdir\u548cworkdir\u6587\u4ef6\u5939\u3002\u7136\u540e\u5c06workdir\u7684\u6587\u4ef6\u8def\u5f84\u590d\u5236\u8fc7\u53bb\u3002\u6ce8\u610f\u4e0d\u8981\u5c06\u7a7a\u683c\u4e00\u8d77\u590d\u5236\u4e86\u3002<\/p>\n<p>\u7b2c\u4e8c\u4e2a\u8def\u5f84\u4e3a\/opt\/adguardhome\/conf<\/p>\n<p>\u539f\u8def\u5f84\u548c\u4e0a\u9762\u76f8\u540c\u590d\u5236confdir\u7684\u6587\u4ef6\u5939\u8def\u5f84\u8fdb\u53bb\u3002\u7136\u540e\u70b9\u51fb\u4fdd\u5b58\u3002<\/p>\n<p><strong>\u73b0\u5728\u5c31\u53ef\u4ee5\u901a\u8fc7\u521a\u521a\u7684IPV4\u5730\u5740192.168.10.2:3000\u8fdb\u5165AdGuardHome\u8fdb\u884c\u8bbe\u7f6e\uff01\uff01\uff01\uff01\uff01<\/strong><\/p>\n<p>\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01<\/p>\n<p><strong>(AdGuardHome\u7684\u521d\u59cb\u5316\u9875\u9762\u7aef\u53e3\u662f3000)<\/strong><\/p>\n<p><strong>(AdGuardHome\u7684\u521d\u59cb\u5316\u9875\u9762\u7aef\u53e3\u662f3000)<\/strong><\/p>\n<p><strong>(AdGuardHome\u7684\u521d\u59cb\u5316\u9875\u9762\u7aef\u53e3\u662f3000)<\/strong><\/p>\n<p>\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01\uff01<\/p>\n<p>\u8fdb\u884c\u5b8c\u6210\u521d\u59cb\u5316\u8bbe\u7f6e\u4e4b\u540e\u8fdb\u5165\u4e3b\u83dc\u5355\u70b9\u51fb\u8bbe\u7f6e\u3001DNS\u8bbe\u7f6e\uff0c\u7136\u540e\u8bbe\u7f6e\u4e0a\u6e38DNS\u670d\u52a1\u5668\u3002\u8fd9\u91cc\u9700\u8981\u6309\u7167\u81ea\u5df1\u7684\u5730\u533a\u3001\u4ee5\u53ca\u9700\u8981\u8fdb\u884c\u8bbe\u7f6e\uff08\u5982\u679c\u9700\u8981\u7528\u5230\u79d1\u5b66\u4e0a\u7f51\u8bf7\u52a1\u5fc5\u8bb0\u5f97\u6dfb\u52a0\u8c37\u6b4c\u7684DNS\uff1a8.8.8.8\uff09<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<p>https:\/\/dns10.quad9.net\/dns-query<br \/>\n223.5.5.5<br \/>\n223.6.6.6<br \/>\n180.76.76.76<br \/>\n182.254.116.116<br \/>\n119.29.29.29<br \/>\n114.114.114.114<br \/>\n112.106.53.22<br \/>\n112.106.53.34<br \/>\n168.126.63.1<br \/>\n168.126.63.2<br \/>\n168.95.192.1<br \/>\n168.95.1.1<br \/>\n198.153.194.1<br \/>\n198.153.192.1<br \/>\n101.226.4.6<br \/>\n123.125.81.6<br \/>\n117.50.11.11<br \/>\n117.50.10.10<br \/>\n1.2.4.8<br \/>\n4.2.2.1<br \/>\n8.8.8.8<br \/>\n8.8.4.4<br \/>\n9.9.9.9<br \/>\n113.205.16.215<br \/>\n208.67.222.222<br \/>\n208.67.220.220<br \/>\n202.14.67.4<br \/>\n202.130.97.66<br \/>\n168.95.192.1<br \/>\n168.126.63.1<br \/>\n80.80.80.80<br \/>\n203.112.2.4<br \/>\n185.222.222.222<br \/>\n45.11.45.11<br \/>\n2400:3200::1<br \/>\n2400:3200:baba::1<br \/>\n2402:4e00::<br \/>\n2400:da00::6666<br \/>\n240e:4c:4008::1<br \/>\n240e:4c:4808::1<br \/>\n2408:8899::8<br \/>\n2408:8888::8<br \/>\n2409:8088::a<br \/>\n2409:8088::b<br \/>\n240C::6644<br \/>\n240C::6666<br \/>\nhttps:\/\/doh.pub\/dns-query<br \/>\nhttps:\/\/1.12.12.12\/dns-query<br \/>\nhttps:\/\/120.53.53.53\/dns-query<br \/>\nhttps:\/\/sm2.doh.pub\/dns-query<br \/>\nhttps:\/\/223.5.5.5\/dns-query<br \/>\nhttps:\/\/223.6.6.6\/dns-query<br \/>\nhttps:\/\/dns.alidns.com\/dns-query<br \/>\nhttps:\/\/doh.360.cn\/dns-query<br \/>\nhttps:\/\/dns.cfiec.net\/dns-query<br \/>\nhttps:\/\/rubyfish.cn\/dns-query<br \/>\nhttps:\/\/dns.rubyfish.cn\/dns-query<br \/>\nhttps:\/\/doh.dns.sb\/dns-query<br \/>\nhttps:\/\/doh.sb\/dns-query<br \/>\nhttps:\/\/dns.google\/dns-query<br \/>\nhttps:\/\/dns.quad9.net\/dns-query<br \/>\nhttps:\/\/doh.opendns.com\/dns-query<br \/>\nhttps:\/\/1.1.1.1\/dns-query<br \/>\ntls:\/\/dns.rubyfish.cn<br \/>\ntls:\/\/8.8.8.8<br \/>\ntls:\/\/8.8.4.4<br \/>\ntls:\/\/dns.google:853<\/p>\n<p>\u7136\u540e\u5728Bootstrap DNS \u670d\u52a1\u5668\u6dfb\u52a0<\/p>\n<p>219.141.136.10<br \/>\n219.141.140.10<br \/>\n202.96.199.133<br \/>\n119.29.29.29<br \/>\n223.5.5.5<br \/>\n180.76.76.76<br \/>\n8.8.8.8<br \/>\n8.8.4.4<br \/>\n208.67.222.222<br \/>\n9.9.9.10<br \/>\n149.112.112.10<br \/>\n2620:fe::10<br \/>\n2620:fe::fe:10<\/p>\n<p>\u5e76\u5c06\u6a21\u5f0f\u9009\u62e9\u4e3a\u201c\u5e76\u884c\u8bf7\u6c42\u201d<\/p>\n<p>\u7136\u540e\u4e0b\u9762DNS\u670d\u52a1\u914d\u7f6e\u5c06\u901f\u5ea6\u9650\u5236\u66f4\u6539\u4e3a0\u3002\u7f13\u5b58\u5927\u5c0f\u6309\u7167\u81ea\u5df1\u9700\u6c42\u8bbe\u7f6e\u3002\u6211\u7684\u8bbe\u7f6e\u4e3a4294967295\u5b57\u8282\u4e5f\u5c31\u662f4GB\u7684\u610f\u601d\u3002\u6700\u5c0fTTL\u4e3a600\u6700\u5927TTL\u4e3a3600\u5e76\u4e14\u52fe\u9009\u4e50\u89c2\u7f13\u5b58\u3002<\/p>\n<p>DNS\u8fc7\u6ee4\u9700\u8981\u70b9\u51fb\u8fc7\u6ee4\u5668\u3001DNS\u5c01\u9501\u6e05\u5355\u9009\u62e9\u81ea\u5df1\u9700\u8981\u7684\u5e76\u6dfb\u52a0\uff0c\u6dfb\u52a0\u8fc7\u7a0b\u53ef\u80fd\u7a0d\u5fae\u6709\u70b9\u6162\u9700\u8981\u7b49\u4e00\u4e0b\u3002<\/p>\n<p>\u63a8\u8350\u6dfb\u52a0\u7684\u81ea\u5b9a\u4e49URL\u8fc7\u6ee4\uff1a<\/p>\n<p>1\u3001HalfLife\uff0c\u89c4\u5219\u5408\u5e76\u81eaEasylistChina\u3001EasylistLite\u3001CJX\u2019sAnnoyance \u5408\u5e76\u89c4\u5219<\/p>\n<p>https:\/\/gitee.com\/halflife\/list\/raw\/master\/ad.txt<\/p>\n<p>2\u3001\u4f18\u9177html5\u64ad\u653e\u5668\u89c4\u5219<\/p>\n<p>http:\/\/git.oschina.net\/yiclear\/rules\/raw\/master\/yk_h5.txt<\/p>\n<p>3\u3001CJX&#8217;s Annoyance List : \u8fc7\u6ee4\u70e6\u4eba\u7684\u81ea\u6211\u63a8\u5e7f\uff0c\u5e76\u8865\u5145 EasyPrivacy \u9690\u79c1\u89c4\u5219<\/p>\n<p>https:\/\/raw.githubusercontent.com\/cjx82630\/cjxlist\/master\/cjx-annoyance.txt<\/p>\n<p>4\u3001\u6211\u4e0d\u5173\u5fc3 Cookie \u7684\u95ee\u9898\uff0c\u5c4f\u853d\u7f51\u7ad9\u7684 cookies \u76f8\u5173\u7684\u8b66\u544a<\/p>\n<p>https:\/\/www.i-dont-care-about-cookies.eu\/abp\/<\/p>\n<p>5\u3001\u4e58\u98ce\u5e7f\u544a\u8fc7\u6ee4\u89c4\u5219+\u89c6\u9891\u8fc7\u6ee4\u89c4\u5219\uff0c[\u4e58\u98ce\u89c4\u5219\u66f4\u65b0\u8be6\u60c5]<\/p>\n<p>https:\/\/gitee.com\/xinggsf\/Adblock-Rule\/raw\/master\/rule.txt<\/p>\n<p>6\u3001EasyPrivacy \u662f\u9690\u79c1\u4fdd\u62a4\uff0c\u4e0d\u88ab\u8ddf\u8e2a<\/p>\n<p>https:\/\/easylist-downloads.adblockplus.org\/easyprivacy.txt<\/p>\n<p>\u6700\u540e\u56de\u5230\u7231\u5feb\u5c06\u7231\u5feb\u81ea\u5e26\u7684DNS\u52a0\u901f\u5173\u95ed\u3002\u518d\u53bb\u5230DHCP\u8bbe\u7f6e\u91cc\u9762\u5c06\u4e3b\u3001\u526fDNS\u5747\u8bbe\u7f6e\u4e3aAdGuardHome\u7684\u5730\u5740\u4f8b\u5982192.168.10.2.\u7136\u540e\u70b9\u51fb\u4fdd\u5b58\uff0c\u70b9\u51fb\u91cd\u542fDHCP\u670d\u52a1\u5668\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7231\u5feb\u901a\u8fc7Docker\u5236\u4f5c\u5185\u7f51\u3001\u516c\u7f51AdGuardHome\u53bb\u5e7f &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts\/153"}],"collection":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=153"}],"version-history":[{"count":12,"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":696,"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions\/696"}],"wp:attachment":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}