{"id":250,"date":"2022-05-02T17:35:54","date_gmt":"2022-05-02T09:35:54","guid":{"rendered":"http:\/\/nas.hepcloud.top:7000\/?p=250"},"modified":"2024-11-20T18:06:46","modified_gmt":"2024-11-20T10:06:46","slug":"pve%e7%b3%bb%e5%88%97%e6%95%99%e7%a8%8b%e5%85%ab%e3%80%81%e5%ae%89%e8%a3%85openwrt%e8%bd%af%e8%b7%af%e7%94%b1","status":"publish","type":"post","link":"http:\/\/www.huerpu.cc:7000\/?p=250","title":{"rendered":"PVE\u7cfb\u5217\u6559\u7a0b(\u516b)\u3001\u5b89\u88c5OpenWRT\u8f6f\u8def\u7531"},"content":{"rendered":"<h3>PVE\u7cfb\u5217\u6559\u7a0b(\u516b)\u3001\u5b89\u88c5OpenWRT\u8f6f\u8def\u7531<\/h3>\n<p>\u4e3a\u4e86\u66f4\u597d\u7684\u6d4f\u89c8\u4f53\u9a8c\uff0c\u6b22\u8fce\u5149\u987e\u52e4\u594b\u7684\u51ef\u5c14\u68ee\u540c\u5b66\u4e2a\u4eba\u535a\u5ba2<a href=\"http:\/\/www.huerpu.cc:7000\">http:\/\/www.huerpu.cc:7000<\/a><\/p>\n<p>\u672c\u6559\u7a0b\u56fa\u4ef6\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/www.huerpu.cc:3070\/index.php?dir=\/root\/%E8%BD%AF%E8%B7%AF%E7%94%B1\/OpenWRT\">http:\/\/www.huerpu.cc:3070\/index.php?dir=\/root\/%E8%BD%AF%E8%B7%AF%E7%94%B1\/OpenWRT<\/a><\/p>\n<h3>\u4e00\u3001\u914d\u7f6eOpenWRT\u865a\u62df\u673a<\/h3>\n<p>\u9996\u5148\u521b\u5efa\u4e24\u4e2a\u7f51\u7edc\u6865\u63a5\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u5df2\u7ecf\u521b\u5efa\u4e00\u4e2a\u4e86\uff0c\u53ef\u4ee5\u518d\u589e\u52a0\u4e00\u4e2a\uff0c\u5982\u679c\u4e3b\u677f\u4e0a\u7f51\u53e3\u6bd4\u8f83\u591a\uff0c\u53ef\u4ee5\u591a\u589e\u6dfb\u51e0\u4e2a\u3002\u6211\u8fd9\u91cc\u7684\u53ea\u6709\u4e24\u4e2a\u7f51\u53e3\u3002\u5728\u4e3b\u8282\u70b9\u4e0b\uff0c\u70b9\u51fb\u7f51\u7edc\uff0c\u521b\u5efaLinux Bridge\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-00.0.png\" alt=\"OpenWRT-00.0.png\" \/><\/p>\n<p>\u8fd9\u4e2a\u628a\u6211\u7684USB\u5916\u63a5\u7684\u4e00\u4e2a\u7f51\u53e3\u6dfb\u52a0\u8fc7\u6765\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-00.1.png\" alt=\"OpenWRT-00.0.png\" \/><\/p>\n<p>\u8fd9\u65f6\u5019\u5c31\u6709\u4e24\u4e2a\u865a\u62df\u7684\u7f51\u6865\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-00.2.png\" alt=\"OpenWRT-00.0.png\" \/><\/p>\n<p>\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u521b\u5efa\u865a\u62df\u673a\u6309\u94ae\uff0c\u8bbe\u7f6e\u865a\u62df\u673a\u7684\u540d\u79f0\u4e3aOpenWRT\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-01.png\" alt=\"101.png\" \/><\/p>\n<p>\u8fd9\u91cc\u9009\u4e0d\u9002\u7528\u4efb\u4f55\u4ecb\u8d28\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-02.png\" alt=\"101.png\" \/><\/p>\n<p>\u8fd9\u91cc\u9009\u7528\u9ed8\u8ba4\u914d\u7f6e\u9879\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-03.png\" alt=\"101.png\" \/><\/p>\n<p>\u78c1\u76d8\u5206\u914d5GB\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-04.png\" alt=\"101.png\" \/><\/p>\n<p>\u7ed9\u4e86\u56db\u6838\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-05.png\" alt=\"101.png\" \/><\/p>\n<p>\u7ed9\u4e862G\u5185\u5b58\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-06.png\" alt=\"101.png\" \/><\/p>\n<p>\u6dfb\u52a0\u7b2c\u4e00\u4e2a\u865a\u62df\u7f51\u7edc\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-07.png\" alt=\"101.png\" \/><\/p>\n<p>\u786e\u8ba4\u5e76\u5b8c\u6210\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-08.png\" alt=\"101.png\" \/><\/p>\n<p>\u6dfb\u52a0\u7b2c\u4e8c\u4e2a\u7f51\u53e3\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-09.png\" alt=\"101.png\" \/><\/p>\n<p>\u9009\u62e9\u8bbe\u7f6e\u597d\u7684\u7b2c\u4e8c\u4e2a\u7f51\u53e3\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-10.png\" alt=\"101.png\" \/><\/p>\n<h3>\u4e8c\u3001\u4e0a\u4f20\u56fa\u4ef6\u5e76\u8fdb\u884c\u8f6c\u6362<\/h3>\n<p>\u4e0a\u4f20\u955c\u50cf\u5230PVE\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-11.png\" alt=\"101.png\" \/><\/p>\n<p>\u8bb0\u4f4f\u8fd9\u4e2a\u56fa\u4ef6\u6587\u4ef6\u7684\u8def\u5f84\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-12.png\" alt=\"101.png\" \/><\/p>\n<p>\u5728PVE\u6839\u8282\u70b9\u6253\u5f00shell\u7a97\u53e3\uff0c\u8fdb\u884c\u8f6c\u6362\uff0c\u547d\u4ee4\u4e3a\uff1a<code>qm importdisk 104 \/var\/lib\/vz\/template\/iso\/Openwrt.img local-lvm<\/code>\u3002\u6ce8\u610f\u8fd9\u91cc\u7684104\u5bf9\u5e94OpenWRE\u7684\u865a\u62df\u673aID\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-13.png\" alt=\"101.png\" \/><\/p>\n<p>\u8fd9\u4e2a\u78c1\u76d8\u5c31\u6dfb\u52a0\u4e0a\u6765\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-14.png\" alt=\"101.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-15.png\" alt=\"101.png\" \/><\/p>\n<p>\u542f\u52a8\u9879\u8bbe\u7f6e\uff0c\u628a\u521a\u521a\u8f6c\u6362\u8fc7\u6765\u7684\u78c1\u76d8\u8bbe\u7f6e\u7b2c\u4e00\u4e2a\u542f\u52a8\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-16.png\" alt=\"101.png\" \/><\/p>\n<h3>\u4e09\u3001\u5b89\u88c5OpenWRT<\/h3>\n<p>\u70b9\u51fb\u542f\u52a8\u865a\u62df\u673a\uff0c\u5728\u9ed1\u7a97\u53e3\u4f1a\u770b\u5230\u8fd9\u4e2a\u754c\u9762\uff0c\u6309enter\u952e\u7ee7\u7eed\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-17.png\" alt=\"101.png\" \/><\/p>\n<p>\u8fd9\u662fOpenWRT\u7684IP\uff0c\u8f93\u5165\u547d\u4ee4<code>vi \/etc\/config\/network<\/code>\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-18.png\" alt=\"101.png\" \/><\/p>\n<p>\u6211\u7684\u5c0f\u7c73\u8def\u7531\u5668\u4ee5\u53ca\u7535\u8111\u90fd\u662f192.168.31.*\uff0c\u6240\u4ee5\u8fd9\u91cc\u6539\u6210\u540c\u4e00\u7f51\u6bb5\u4e0b\u7684IP\u5730\u5740\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-19.png\" alt=\"101.png\" \/><\/p>\n<p>wq\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-20.png\" alt=\"101.png\" \/><\/p>\n<p>reboot\u91cd\u542fOpenWRT\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-21.png\" alt=\"101.png\" \/><\/p>\n<h3>\u56db\u3001\u6d4f\u89c8\u5668\u8bbf\u95ee<\/h3>\n<p>\u5728\u6d4f\u89c8\u5668\u8f93\u5165\u8bbe\u7f6e\u7684IP\u5730\u5740\u5373\u53ef\u8bbf\u95ee\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-22.png\" alt=\"101.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/05\/02\/OpenWRT-23.png\" alt=\"101.png\" \/><\/p>\n<p>openwrt\u56fa\u4ef6\u5f88\u591a\uff0c\u5982\u679c\u60f3\u627e\u66f4\u591a\u7684\u56fa\u4ef6\u53ef\u4ee5\u53bb\u8fd9\u4e2a\u7f51\u7ad9\uff1a<code>https:\/\/www.right.com.cn\/forum\/<\/code>\u3001<code>https:\/\/openwrt.cc\/releases\/targets\/x86\/64\/<\/code>\u3002<\/p>\n<p>\u5927\u529f\u544a\u6210\uff0cenjoy it\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PVE\u7cfb\u5217\u6559\u7a0b(\u516b)\u3001\u5b89\u88c5OpenWRT\u8f6f\u8def\u7531 \u4e3a\u4e86\u66f4\u597d\u7684\u6d4f\u89c8\u4f53\u9a8c\uff0c\u6b22\u8fce\u5149\u987e\u52e4\u594b\u7684\u51ef\u5c14\u68ee\u540c\u5b66\u4e2a\u4eba\u535a\u5ba2http: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,11],"tags":[],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-pve","category-11"],"_links":{"self":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":1,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"predecessor-version":[{"id":492,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions\/492"}],"wp:attachment":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}