{"id":868,"date":"2018-10-19T14:59:35","date_gmt":"2018-10-19T06:59:35","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=868"},"modified":"2020-08-24T21:58:16","modified_gmt":"2020-08-24T13:58:16","slug":"opnsense%e7%94%a8%e6%88%b7%e6%89%8b%e5%86%8c-%e7%a1%ac%e4%bb%b6%e8%a6%81%e6%b1%82","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=868","title":{"rendered":"OPNsense\u7528\u6237\u624b\u518c-\u786c\u4ef6\u8981\u6c42"},"content":{"rendered":"<p style=\"text-align: justify;\">\u9884\u88c5OPNsense\u00ae\u7684\u8ba1\u7b97\u673a\u786c\u4ef6\u53ef\u4ee5\u76f4\u63a5\u4ece\u5404\u79cd\uff08\u5728\u7ebf\uff09\u5546\u5e97\u8d2d\u4e70\u3002<\/p>\n<div id=\"supported-hardware-architectures\" class=\"section\" style=\"text-align: justify;\">\n<h1>\u652f\u6301\u7684\u786c\u4ef6\u67b6\u6784<\/h1>\n<p>OPNsense\u00ae\u9002\u7528\u4e8e\u00a0x86-32\uff08i386\uff09\u548c\u00a0x86-64\uff08amd64\uff09\u5904\u7406\u5668\u67b6\u6784\u3002OPNsense\u53ef\u4ee5\u5728SD\u5b58\u50a8\u5361\u3001\u56fa\u6001\u786c\u76d8\uff08SSD\uff09\u6216\u00a0\u786c\u76d8\u9a71\u52a8\u5668\uff08HDD\uff09\u4e0a\u8fdb\u884c\u5b8c\u6574\u5b89\u88c5\u3002<\/p>\n<p>\u867d\u7136\u652f\u6301\u7684\u8bbe\u5907\u8303\u56f4\u4ece\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5230\u673a\u67b6\u5f0f\u670d\u52a1\u5668\uff0c\u4f46\u5982\u679c\u786c\u4ef6\u80fd\u591f\u8fd0\u884c64\u4f4d\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6211\u4eec\u5efa\u8bae\u4f7f\u752864\u4f4d\u7248\u672c\u7684OPNsense\u00a0\u3002\u53ef\u4ee5\u572864\u4f4d\uff08x86-64\uff0camd64\uff09PC\u786c\u4ef6\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c32\u4f4d\uff08x86-32\uff0ci386\uff09\u7248\u672c\u7684OPNsense\u00ae\uff0c\u4f46\u6211\u4eec\u4e0d\u5efa\u8bae\u8fd9\u6837\u505a\uff0c\u7279\u522b\u662f\u4e0d\u9002\u7528\u4e8e\u5168\u65b0\u7684\u90e8\u7f72\u5b89\u88c5\u3002<\/p>\n<\/div>\n<div id=\"hardware-requirements\" class=\"section\" style=\"text-align: justify;\">\n<h1>\u786c\u4ef6\u8981\u6c42<\/h1>\n<p id=\"minimum\" class=\"rubric\"><strong>\u6700\u4f4e\u8981\u6c42<\/strong>\uff1a\u53ea\u9700\u8981\u8fd0\u884c\u4e0d\u9700\u8981\u78c1\u76d8\u5199\u5165\u7684 OPNsense \u6807\u51c6\u529f\u80fd\uff0c\u6216\u5c11\u91cf\u5199\u5165\u78c1\u76d8\u7684\u4e00\u4e9b\u529f\u80fd, \u4f8b\u5982\u7f13\u5b58\u4ee3\u7406 (\u7f13\u5b58) \u6216\u5165\u4fb5\u68c0\u6d4b\u548c\u9884\u9632 (\u8b66\u62a5\u6570\u636e\u5e93)\u3002<\/p>\n<div class=\"wy-table-responsive\">\n<table class=\"docutils\" border=\"1\">\n<colgroup>\n<col width=\"20%\" \/>\n<col width=\"80%\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"row-odd\">\n<td>\u5904\u7406\u5668<\/td>\n<td>500MHz\u5355\u6838cpu<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>\u5185\u5b58<\/td>\n<td>512 MB<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>\u5b89\u88c5\u65b9\u6cd5<\/td>\n<td>\u4e32\u884c\u63a7\u5236\u53f0\u6216\u89c6\u9891\uff08vga\uff09<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>\u5b89\u88c5\u76ee\u6807<\/td>\n<td>SD\u6216CF\u5361\u81f3\u5c114GB\uff0c\u4f7f\u7528nano\u955c\u50cf\u8fdb\u884c\u5b89\u88c5\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p id=\"reasonable\" class=\"rubric\"><strong>\u5408\u7406\u8981\u6c42<\/strong>\uff1a\u8fd0\u884c\u6240\u6709OPNsense\u6807\u51c6\u529f\u80fd\uff0c\u4f46\u6ca1\u6709\u5927\u91cf\u7528\u6237\u6216\u9ad8\u8d1f\u8f7d\u7684\u60c5\u51b5\u3002<\/p>\n<div class=\"wy-table-responsive\">\n<table class=\"docutils\" border=\"1\">\n<colgroup>\n<col width=\"20%\" \/>\n<col width=\"80%\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"row-odd\">\n<td>\u5904\u7406\u5668<\/td>\n<td>1 GHz\u53cc\u6838CPU<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>\u5185\u5b58<\/td>\n<td>1 GB<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>\u5b89\u88c5\u65b9\u6cd5<\/td>\n<td>\u4e32\u884c\u63a7\u5236\u53f0\u6216\u89c6\u9891\uff08vga\uff09<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>\u5b89\u88c5\u76ee\u6807<\/td>\n<td>40 GB SSD\uff0c\u5b89\u88c5\u7a0b\u5e8f\u8fd0\u884c\u81f3\u5c11\u9700\u89811GB\u5185\u5b58\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p id=\"recommended\" class=\"rubric\"><strong>\u63a8\u8350\u8981\u6c42<\/strong>\uff1a\u80fd\u591f\u6d41\u7545\u8fd0\u884c\u6240\u6709OPNsense\u6807\u51c6\u529f\u80fd\uff0c\u9002\u5408\u5927\u591a\u6570\u7684\u4f7f\u7528\u60c5\u51b5\u3002<\/p>\n<div class=\"wy-table-responsive\">\n<table class=\"docutils\" border=\"1\">\n<colgroup>\n<col width=\"35%\" \/>\n<col width=\"65%\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"row-odd\">\n<td>\u5904\u7406\u5668<\/td>\n<td>1.5 GHz\u591a\u6838CPU<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>\u5185\u5b58<\/td>\n<td>4GB<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>\u5b89\u88c5\u65b9\u6cd5<\/td>\n<td>\u4e32\u884c\u63a7\u5236\u53f0\u6216\u89c6\u9891\uff08vga\uff09<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>\u5b89\u88c5\u76ee\u6807<\/td>\n<td>120 GB SSD<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p id=\"hardware-guide\" class=\"rubric\">OPNsense\u6240\u9700\u7684\u786c\u4ef6\u5c06\u7531\u9884\u671f\u7684\u6700\u5c0f\u541e\u5410\u91cf\u548c\u529f\u80fd\u6765\u51b3\u5b9a\u3002<\/p>\n<\/div>\n<div id=\"impact-of-feature-set\" class=\"section\" style=\"text-align: justify;\">\n<h1>\u529f\u80fd\u5f71\u54cd<\/h1>\n<p>\u867d\u7136\u5927\u591a\u6570\u529f\u80fd\u4e0d\u4f1a\u5f71\u54cd\u786c\u4ef6\u6027\u80fd\uff0c\u4f46\u6709\u4e00\u4e9b\u529f\u80fd\u4f1a\u4ea7\u751f\u5de8\u5927\u5f71\u54cd\u3002\u6bd4\u5982\uff1a<\/p>\n<dl class=\"docutils\">\n<dt><a class=\"reference external\" href=\"https:\/\/en.wikipedia.org\/wiki\/Squid_(software)\">Squid<\/a><\/dt>\n<dd>\u7528\u4e8eWeb\u5185\u5bb9\u63a7\u5236\u7684\u9ad8\u901f\u7f13\u5b58Web\u4ee3\u7406\u3002\u8fd9\u4e9b\u8f6f\u4ef6\u5305\u5f3a\u70c8\u4f9d\u8d56\u4e8eCPU\u8d1f\u8f7d\u548c\u78c1\u76d8\u7f13\u5b58\u5199\u5165\u3002<\/dd>\n<dt><a class=\"reference external\" href=\"https:\/\/en.wikipedia.org\/wiki\/Captive_portal\">\u5f3a\u5236\u95e8\u6237<\/a><\/dt>\n<dd>\u5177\u6709\u6570\u767e\u4e2a\u540c\u65f6\u670d\u52a1\u7684\u5f3a\u5236\u95e8\u6237\u7528\u6237\u7684\u8bbe\u7f6e\u5c06\u9700\u8981\u5728\u4e0b\u9762\u663e\u793a\u7684\u6240\u6709\u786c\u4ef6\u89c4\u8303\u4e2d\u5177\u6709\u66f4\u591aCPU\u7684\u6548\u80fd\u3002<\/dd>\n<dt><a class=\"reference external\" href=\"https:\/\/en.wikipedia.org\/wiki\/State_transition_table\">\u72b6\u6001\u8868<\/a><\/dt>\n<dd>\u6bcf\u4e2a\u72b6\u6001\u8868\u6761\u76ee\u9700\u8981\u5927\u7ea61KB\uff08\u5343\u5b57\u8282\uff09\u7684RAM\u3002\u586b\u5145\u4e861000\u4e2a\u6761\u76ee\u7684\u5e73\u5747\u72b6\u6001\u8868\u5c06\u5360\u7528\u5927\u7ea610MB\uff08\u5146\u5b57\u8282\uff09\u7684\u00a0RAM\u3002\u5177\u6709\u6570\u5341\u4e07\u4e2a\u8fde\u63a5\u7684OPNsense\u4f7f\u7528\u8bbe\u7f6e\u5c06\u76f8\u5e94\u5730\u9700\u8981\u66f4\u591a\u7684\u5185\u5b58\u3002<\/dd>\n<\/dl>\n<div class=\"line-block\">\n<div class=\"line\"><\/div>\n<\/div>\n<\/div>\n<div id=\"throughput\" class=\"section\">\n<h1 style=\"text-align: justify;\">\u541e\u5410\u91cf\u5f71\u54cd<\/h1>\n<p style=\"text-align: justify;\">OPNsense\u8bbe\u7f6e\u7684\u4e3b\u8981\u786c\u4ef6\u56e0\u7d20\u662fCPU\u3001RAM\uff0c\u5927\u5bb9\u91cf\u5b58\u50a8\uff08\u5149\u76d8\uff09\uff0c\u7f51\u7edc\u63a5\u53e3\u7684\u6570\u91cf\u548c\u8d28\u91cf\u3002<\/p>\n<div class=\"wy-table-responsive\" style=\"text-align: justify;\">\n<table class=\"docutils\" border=\"1\">\n<colgroup>\n<col width=\"24%\" \/>\n<col width=\"29%\" \/>\n<col width=\"16%\" \/>\n<col width=\"30%\" \/><\/colgroup>\n<thead valign=\"bottom\">\n<tr class=\"row-odd\">\n<th class=\"head\">\u541e\u5410\u91cf\uff08Mbps\uff09<\/th>\n<th class=\"head\">\u786c\u4ef6\u8981\u6c42<\/th>\n<th class=\"head\">\u529f\u80fd<\/th>\n<th class=\"head\">\u7528\u6237\/\u7f51\u7edc<\/th>\n<\/tr>\n<\/thead>\n<tbody valign=\"top\">\n<tr class=\"row-even\">\n<td>1-10<\/td>\n<td>\u57fa\u672c\u8981\u6c42<\/td>\n<td>\u5f88\u5c11<\/td>\n<td>\u5f88\u5c11\uff081-10\uff09<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>11-150<\/td>\n<td>\u6700\u4f4e\u8981\u6c42<\/td>\n<td>\u4e00\u822c<\/td>\n<td>\u4e00\u822c\uff0810-30\uff09<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td>151-350<\/td>\n<td>\u5408\u7406\u8981\u6c42<\/td>\n<td>\u6240\u6709<\/td>\n<td>\u5927\u91cf\uff0830-50\uff09<\/td>\n<\/tr>\n<tr class=\"row-odd\">\n<td>350-750 +<\/td>\n<td>\u63a8\u8350\u8981\u6c42<\/td>\n<td>\u6240\u6709<\/td>\n<td>\u5927\u91cf+\uff0850-150 +\uff09<\/td>\n<\/tr>\n<tr class=\"row-even\">\n<td colspan=\"4\">Mbps\uff08Mbit \/ s\u6216Mb \/ s\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<dl class=\"docutils\">\n<dt>\u7f51\u5361<\/dt>\n<dd>\u6b63\u5982FreeBSD\u786c\u4ef6\u5217\u8868\u548c\u5efa\u8bae\u6240\u8bf4\uff0c\u7528\u4e8eLAN\u00a0\u8fde\u63a5\u7684\u4f7f\u7528\u82f1\u7279\u5c14\u00ae\u7f51\u5361\uff08NIC\uff09\u66f4\u53ef\u9760\u3001\u5feb\u901f\u4e14\u4e0d\u5bb9\u6613\u51fa\u9519\u3002\u82f1\u7279\u5c14\u82af\u7247\u7ec4NIC\u53ef\u4ee5\u5728\u964d\u4f4eCPU\u8d1f\u8f7d\u7684\u60c5\u51b5\u4e0b\u63d0\u4f9b\u66f4\u9ad8\u7684\u541e\u5410\u91cf\u3002<\/dd>\n<\/dl>\n<p id=\"supported-hardware\" class=\"rubric\" style=\"text-align: justify;\">\u652f\u6301\u7684\u786c\u4ef6<\/p>\n<p style=\"text-align: justify;\">FreeBSD 11.1-RELEASE\u662fOPNsense\u7684\u57fa\u7840\u3002\u6240\u6709FreeBSD\u9a71\u52a8\u7a0b\u5e8f\u90fd\u5305\u542b\u5728OPNsense\u5185\u6838\u4e2d\uff0c\u786c\u4ef6\u517c\u5bb9\u6027\u76f8\u540c\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u9700\u8fdb\u4e00\u6b65\u7684\u5e2e\u52a9\u548c\u652f\u6301\uff0c\u8bf7\u53c2\u9605<\/p>\n<ul class=\"simple\">\n<li style=\"text-align: justify;\"><a class=\"reference external\" href=\"https:\/\/www.freebsd.org\/releases\/11.1R\/hardware.html\">FreeBSD 11.1-RELEASE\u786c\u4ef6\u517c\u5bb9\u6027\u5217\u8868<\/a><\/li>\n<li style=\"text-align: justify;\"><a class=\"reference external\" href=\"https:\/\/forum.opnsense.org\/\">OPNsense\u8bba\u575b<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u9884\u88c5OPNsense\u00ae\u7684\u8ba1\u7b97\u673a\u786c\u4ef6\u53ef\u4ee5\u76f4\u63a5\u4ece\u5404\u79cd\uff08\u5728\u7ebf\uff09\u5546\u5e97\u8d2d\u4e70\u3002 \u652f\u6301\u7684\u786c\u4ef6\u67b6 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=868\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[196],"class_list":["post-868","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-196"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=868"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/868\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}