{"id":10463,"date":"2023-02-13T17:26:13","date_gmt":"2023-02-13T09:26:13","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=10463"},"modified":"2023-02-13T23:46:17","modified_gmt":"2023-02-13T15:46:17","slug":"proxmox%e5%ae%89%e8%a3%85opnsense%e8%b0%83%e6%95%b4%e7%bd%91%e7%bb%9c%e6%80%a7%e8%83%bd%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=10463","title":{"rendered":"Proxmox\u5b89\u88c5OPNsense\u8c03\u6574\u7f51\u7edc\u6027\u80fd\u65b9\u6cd5"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">OPNsense\u7684\u9ed8\u8ba4\u53c2\u6570\u8bbe\u7f6e\u975e\u5e38\u4fdd\u5b88\uff0c\u5728\u5343\u5146\u4ee5\u4e0a\u7684\u9ad8\u5e26\u5bbd\u7f51\u7edc\u4e2d\u53ef\u80fd\u4f1a\u51fa\u73b0\u65e0\u6cd5\u8dd1\u6ee1\u7684\u60c5\u51b5\u3002\u6709<\/span>\u56fd\u5916\u7f51\u53cb\u5728Proxmox\u5b89\u88c5\u4e0aOPNsense\uff0c\u51fa\u73b0\u4e86\u7f51\u7edc\u541e\u5410\u91cf\u4e0d\u8fbe\u6807\u7684\u7684\u95ee\u9898\u3002\u901a\u8fc7\u6478\u7d22\uff0c\u4ed6\u6700\u7ec8\u89e3\u51b3\u4e86\u95ee\u9898\u3002\u4ee5\u4e0b\u4e3a\u6587\u7ae0\u7ffb\u8bd1\u5185\u5bb9\u3002<\/p>\n<p style=\"text-align: justify;\">\u6700\u8fd1\u51fa\u4e8e\u591a\u79cd\u539f\u56e0\uff0c\u6211\u51b3\u5b9a\u5f00\u59cb\u6dd8\u6c70\u6211\u7684Ubiquiti EdgeRouter Infinity\uff0c\u6211\u51b3\u5b9a\u5c1d\u8bd5\u4e00\u4e0bOPNsense\u3002\u6211\u8ba2\u8d2d\u4e86\u4e00\u4e9b\u4f01\u4e1a\u7ea7\u786c\u4ef6\uff0c\u5305\u62ecE5-2650L v3\u5904\u7406\u5668\u300164GB\u5185\u5b58\u548cX520-DA2I\u4e07\u5146\u7f51\u5361\u3002\u6211\u5b89\u88c5\u597d\u4e86Proxmox\uff0c\u7136\u800c<span class=\"\">\u5f53\u6211\u4f7f\u7528OPNsense \u65f6\uff0c\u95ee\u9898\u51fa\u73b0\u4e86\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span class=\"\">\u6211\u7684\u4e92\u8054\u7f51\u5e26\u5bbd\u4e3a6Gbps\uff0c<\/span>\u6211\u539f\u4ee5\u4e3a\u50cf\u6211\u8fd9\u6837\u7684\u786c\u4ef6\u8bbe\u5907\u5904\u740610G\u8fde\u63a5\u5e94\u8be5\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5728\u5982\u6b64\u5f3a\u5927\u7684\u7cfb\u7edf\u4e0a\u3002\u4f46\u662f\u5728Proxmox\u4e2d\u5b89\u88c5\u4e86OPNsense VM\u540e\uff0c\u7ecf\u8fc7\u6d4b\u8bd5\uff0c \u6700\u5927\u541e\u5410\u91cf\u53ea\u67092-3Gbps\uff08\u5927\u7ea6\u662f\u6211\u901f\u5ea6\u7684\u4e00\u534a\uff09\u3002<\/p>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/st-slow-2g.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10465\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/st-slow-2g.png\" alt=\"\" width=\"750\" height=\"400\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/st-slow-2g.png 750w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/st-slow-2g-300x160.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/st-slow-2g-500x267.png 500w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u5373\u4f7f\u4f7f\u7528iperf\u4eceOPNsense VM\u4e0e\u672c\u5730\u7f51\u7edc\u4e0a\u7684\u8ba1\u7b97\u673a\u8fdb\u884c\u6d4b\u8bd5\uff0c\u901f\u5ea6\u4e5f\u4e00\u6837\u4e0d\u8fbe\u6807\u3002\u4e3a\u4ec0\u4e48OPNsense VM\u53ea\u80fd\u4f7f\u752810Gbps\u7f51\u7edc\u8fde\u63a5\u7684\u5927\u7ea625%\uff1f\u6211\u82b1\u4e86\u51e0\u5929\u65f6\u95f4\u68b3\u7406\u6587\u7ae0\u548c\u8bba\u575b\u4e3b\u9898\uff0c\u901a\u8fc7\u4e0d\u65ad\u6478\u7d22\uff0c\u6700\u7ec8\u89e3\u51b3\u4e86\u7f51\u7edc\u541e\u5410\u91cf\u4e0d\u8fbe\u6807\u7684\u95ee\u9898\u3002\u6211\u628a\u89e3\u51b3\u8fc7\u7a0b\u6574\u7406\u51fa\u6765\u4ee5\u4f9b\u5c06\u6765\u53c2\u8003\uff0c\u4e5f\u5e0c\u671b\u7ed9\u6709\u540c\u6837\u95ee\u9898\u7684\u4eba\u4eec\u8fdb\u884c\u53c2\u7167\u3002<\/p>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/st-normal-6g.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10466\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/st-normal-6g.png\" alt=\"\" width=\"585\" height=\"318\" \/><\/a><\/figure>\n<h2 style=\"text-align: justify;\">\u6392\u9664\u786c\u4ef6\u95ee\u9898<\/h2>\n<p style=\"text-align: justify;\">\u6211\u4e86\u89e3\u5230Proxmox\u662f\u80fd\u591f\u901a\u8fc7\u865a\u62df\u673a\u5904\u740610Gbps\u7f51\u7edc\u901f\u5ea6\uff0c\u800c\u4e14\u82f1\u7279\u5c14X520-DA2I \u7f51\u5361\u5728\u8fc7\u53bb\u4efb\u4f55\u7cfb\u7edf\u4e2d\u4f7f\u7528\u4e5f\u6ca1\u51fa\u73b0\u8fc7\u4efb\u4f55\u95ee\u9898\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u6392\u9664\u7ec4\u88c5\u786c\u4ef6\u7684\u4efb\u4f55\u95ee\u9898\uff0c\u6211\u521b\u5efa\u4e86\u4e00\u4e2a\u8fde\u63a5\u5230\u76f8\u540c\u865a\u62df\u63a5\u53e3\u7684Debian 11 VM\uff0c\u5e76\u8fdb\u884c\u4e86iperf \u6d4b\u8bd5\u3002\u6211\u53d1\u73b0 Debian VM\u6ca1\u6709\u95ee\u9898\uff0c\u5728LAN\u63a5\u53e3\u4e0a\u7684iperf\u6d4b\u8bd5\u4e2d\u80fd\u8dd1\u51fa 9.6Gbps\u7684\u5e26\u5bbd\u901f\u7387\u3002<\/p>\n<h2 style=\"text-align: justify;\">FreeBSD\u865a\u62df\u7f51\u7edc\u95ee\u9898<\/h2>\n<p style=\"text-align: justify;\">\u5728\u7814\u7a76\u8fc7\u7a0b\u4e2d\uff0c\u6211\u6cae\u4e27\u5730\u53d1\u73b0FreeBSD\u5728\u6d89\u53ca\u865a\u62df\u7f51\u7edc\u9002\u914d\u5668\u65f6\uff0c\u4f3c\u4e4e\u6709\u51fa\u73b0\u6027\u80fd\u95ee\u9898\u7684\u5386\u53f2\uff0c \u4e0d\u4ec5\u5728Proxmox\u4e0a\uff0c \u5728VMWare\u4e5f\u51fa\u73b0\u8fc7\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e00\u4e9b\u6d88\u606f\u6765\u6e90\u4f3c\u4e4e\u6697\u793aVirtIO\u5728FreeBSD 11\u621612\u4e2d\u5b58\u5728\u4e3b\u8981\u9a71\u52a8\u7a0b\u5e8f\u95ee\u9898\uff0c\u5efa\u8bae\u4f7f\u7528 E1000\u3002\u4e00\u4e9b\u6d88\u606f\u6765\u6e90\u4f3c\u4e4e\u5efa\u8bae\u6211\u5728\u4f7f\u7528\u7684\u7248\u672c\uff08\u57fa\u4e8e FreeBSD 13\uff09\u4e2d\u4fee\u590d VirtIO \u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n<p style=\"text-align: justify;\">\u6211\u6d4b\u8bd5\u4e86Proxmox \u63a5\u53e3\u4e2d\u63d0\u4f9b\u7684\u6bcf\u79cd\u865a\u62df\u7f51\u7edc\u9002\u914d\u5668\u7c7b\u578b\uff1aVirtIO\u3001E1000\u3001Realtek RTL8139\u548cVMWare vmxnet3\u3002<\/p>\n<p style=\"text-align: justify;\">\u6d4b\u8bd5\u65f6\u6ca1\u6709\u8fdb\u884c\u4efb\u4f55\u6027\u80fd\u8c03\u6574\uff0c\u8868\u73b0\u6700\u597d\u7684\u662fVirtIO\u3002\u5176\u4ed6\u7c7b\u578b\u9002\u914d\u5668\u751a\u81f3\u51fa\u73b0\u65e0\u6cd5\u8fbe\u52301Gbps\u901f\u7387\u7684\u60c5\u51b5\uff0cVirtIO\u53ef\u4ee5\u8fbe\u5230\u5927\u7ea62.5Gbps\u3002\u6240\u4ee5\uff0c\u6211\u51b3\u5b9a\u4f7f\u7528VirtIO\uff0c\u5e76\u505a\u4e00\u4e9b\u5176\u4ed6\u989d\u5916\u7684\u8c03\u6574\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u6211\u8fd8\u5bf9HOST CPU\u4e0eKVM64\u4e24\u79cd\u7c7b\u578b\u8fdb\u884c\u4e86\u6d4b\u8bd5\uff0cKVM64 \u5b9e\u9645\u4e0a\u8868\u73b0\u66f4\u597d\uff0c\u6240\u4ee5\u6211\u51b3\u5b9a\u4f7f\u7528\u9ed8\u8ba4\u503c\u3002\u6211\u6dfb\u52a0\u4e86AES \u6807\u5fd7\uff08\u53ef\u4ee5\u63d0\u5347VPN\u6027\u80fd\uff09\uff0c\u8fd8\u6dfb\u52a0\u4e86Numa \u6807\u5fd7\uff0c\u867d\u7136\u8fd9\u53ef\u80fd\u4e0d\u4f1a\u589e\u52a0\u4efb\u4f55\u6027\u80fd\u63d0\u5347\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u786c\u4ef6\u5378\u8f7d\u95ee\u9898<\/h2>\n<p style=\"text-align: justify;\">\u4e00\u822c\u666e\u904d\u7684\u5171\u8bc6\u662f\u4e0d\u8981\u5728\u9632\u706b\u5899\u8bbe\u5907\u4e0a\u542f\u7528\u786c\u4ef6TSO\u6216\u786c\u4ef6LRO\u3002<\/p>\n<p style=\"text-align: justify;\"><span class=\"\">\u6211\u5206\u522b\u5c1d\u8bd5\u4e86\u8fd9\u4e9b\u8bbe\u7f6e\u7684\u6bcf\u4e00\u4e2a\u9009\u9879\uff0c\u53ef\u80fd\u5076\u5c14\u6709\u4e00\u4e9b\u6027\u80fd\u63d0\u5347\uff08\u786c\u4ef6LRO\u6709\u663e\u8457\u7684\u6027\u80fd\u63d0\u5347\uff09\uff0c\u4f46\u4e00\u4e9b\u8bbe\u7f6e\u4e5f\u6781\u5927\u5730\u964d\u4f4e\u4e86\u6027\u80fd\u3002<\/span>\u542f\u7528\u786c\u4ef6VLAN\u8fc7\u6ee4\u540e\u7f51\u7edc\u901f\u5ea6\u975e\u5e38\u6162\uff0c\u751a\u81f3\u65e0\u6cd5\u53ef\u9760\u5730\u8bbf\u95eeWeb UI\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u5728\u786c\u4ef6\u5378\u8f7d\u65b9\u9762\u9047\u5230\u4e86\u4e00\u4e9b\u975e\u5e38\u5947\u602a\u7684\u95ee\u9898\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u786c\u4ef6\u5378\u8f7d\u4f1a\u5e2e\u52a9LAN\u7aef\u663e\u8457\u63d0\u9ad8\u6027\u80fd\uff0c\u4f46WAN\u7aef\u7684\u6027\u80fd\u5374\u4f1a\u6025\u5267\u4e0b\u964d\u3002<\/p>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-sub-1-meg.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10467\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-sub-1-meg.png\" alt=\"\" width=\"750\" height=\"400\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-sub-1-meg.png 750w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-sub-1-meg-300x160.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-sub-1-meg-500x267.png 500w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u7531\u4e8e\u5b58\u5728\u8fd9\u4e9b\u5947\u602a\u7684\u7ed3\u679c\uff0c\u6211\u51b3\u5b9a\u5173\u95ed\u6240\u6709\u786c\u4ef6\u5378\u8f7d\u3002\u6700\u540e\uff0c\u6211\u80fd\u591f\u5728\u4e0d\u542f\u7528\u4efb\u4f55\u529f\u80fd\u7684\u60c5\u51b5\u4e0b\u5b9e\u73b0\u4e0a\u8ff0\u6027\u80fd\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4f4e\u6548\u7684\u9ed8\u8ba4\u53ef\u8c03\u53c2\u6570<\/h2>\n<p style=\"text-align: justify;\">\u6211\u5728FreeBSD\u4e0a\u8fdb\u884c\u66f4\u6df1\u5165\u7684\u53c2\u6570\u8c03\u6574\u65c5\u7a0b\u59cb\u4e8e<a href=\"https:\/\/forum.opnsense.org\/index.php?topic=18754.0\">\u8fd9\u4e2a \u5e16\u5b50\uff0c<\/a>\u6765\u81ea\u4e00\u4e2a\u4f3c\u4e4e\u548c\u6211\u6709\u540c\u6837\u95ee\u9898\u7684\u4eba\u3002<span class=\"\">\u5176\u4ed6\u7528\u6237\u4e5f\u5728\u8ba8\u8bba\uff0c\u8bc9\u8bf4\u81ea\u5df1\u7684\u7ecf\u5386\uff0c\u4ed6\u4eec\u540c\u6837\u5bf9OPNsense\u4e3a\u4f55\u8868\u73b0\u5982\u6b64\u7cdf\u7cd5\u611f\u5230\u56f0\u60d1\u3002<\/span><\/p>\n<p style=\"text-align: justify;\">\u6b63\u662f\u901a\u8fc7\u8bba\u575b\uff0c\u6211\u5076\u7136\u53d1\u73b0\u4e86\u8fd9\u4e2a\u975e\u5e38\u6d41\u884c\u4e14\u5907\u53d7\u63a8\u5d07\u7684<a href=\"https:\/\/calomel.org\/freebsd_network_tuning.html\">FreeBSD \u7f51\u7edc\u6027\u80fd\u8c03\u6574<\/a>\u6307\u5357\u3002\u6211\u68b3\u7406\u4e86\u672c\u6307\u5357\u4e2d\u7684\u6240\u6709\u5185\u5bb9\uff0c\u5ffd\u7565\u4e86\u6240\u6709 ZFS \u5185\u5bb9\u548cDDoS\u7f13\u89e3\u5185\u5bb9\uff0c\u91cd\u70b9\u5173\u6ce8\u53ef\u4ee5\u63d0\u9ad8\u7f51\u7edc\u6027\u80fd\u7684\u6240\u6709\u5185\u5bb9\u3002<\/p>\n<p style=\"text-align: justify;\"><span class=\"\">\u8fdb\u884c\u8fd9\u4e9b\u8c03\u6574\u540e\uff0c\u7f51\u7edc\u6027\u80fd\u786e\u5b9e\u6709\u4e86\u5de8\u5927\u7684\u63d0\u5347\u3002\u73b0\u5728OPNsense\u9632\u706b\u5899\u53ef\u4ee5\u5b9e\u73b0\u5927\u7ea64-5Gbps\u7684\u901f\u7387\uff0c<\/span>\u4f46\u4ecd\u7136\u672a\u8fbe\u5230\u6211\u7684Internet\u9650\u5236\u901f\u5ea6\uff0c\u8fd8\u9700\u8981\u505a\u66f4\u591a\u7684\u4e8b\u60c5\u6765\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-4gb-tuning.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10468\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-4gb-tuning.png\" alt=\"\" width=\"750\" height=\"400\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-4gb-tuning.png 750w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-4gb-tuning-300x160.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/speedtest-4gb-tuning-500x267.png 500w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u6211\u9605\u8bfb\u4e86\u5176\u4ed6\u51e0\u7bc7\u6587\u7ae0\u548c\u8ba8\u8bba\uff0c\u4f8b\u5982Github\u4e0a\u7684<a href=\"https:\/\/forum.opnsense.org\/index.php?topic=24409.msg116941#msg116941\">\u8fd9\u4e2a\u5e16\u5b50\uff0cOPNsense \u8bba\u575b\u4e0a\u5173\u4e8e\u63a5\u6536\u7aef\u7f29\u653e<\/a>\u7684\u5e16\u5b50\uff0c pfSense<a href=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/hardware\/tune.html\">\u6027\u80fd\u8c03\u6574\u6307\u5357<\/a>\uff0c\u4e00\u4e2a\u7c7b\u4f3c\u7684\u57fa\u4e8e FreeBSD \u7684\u9632\u706b\u5899\u89e3\u51b3\u65b9\u6848\uff0c\u4ee5\u53ca\u5173\u4e8e\u540c\u4e00\u95ee\u9898\u7684<a href=\"https:\/\/www.reddit.com\/r\/OPNsenseFirewall\">\/r\/OPNsenseFirewall<\/a>\u4e0a<a href=\"https:\/\/www.reddit.com\/r\/OPNsenseFirewall\/comments\/m80s91\/opnsense_slower_than_pfsense\/\">2 \u5e74\u524d\u7684 Reddit \u7ebf\u7a0b\u3002<\/a><\/p>\n<p style=\"text-align: justify;\">\u6211\u770b\u8fc7\u7684\u6bcf\u4e2a\u6587\u7ae0\u90fd\u5217\u51fa\u4e86\u4e00\u4e24\u4e2a\u5176\u4ed6\u53ef\u8c03\u53c2\u6570\uff0c\u8fd9\u4f3c\u4e4e\u662f\u5b83\u4eec\u7684\u7075\u4e39\u5999\u836f\u3002\u6211\u4e00\u6b21\u53ea\u6539\u53d8\u4e00\u4ef6\u4e8b\u60c5\uff0c\u7136\u540e\u91cd\u65b0\u542f\u52a8\u6211\u7684\u9632\u706b\u5899\u3002\u6211\u6ca1\u6709\u4ed4\u7ec6\u5730\u8ddf\u8e2a\u54ea\u4e9b\u53c2\u6570\u8c03\u6574\u4ea7\u751f\u4e86\u5f71\u54cd\uff0c\u54ea\u4e9b\u6ca1\u6709\uff0c\u56e0\u4e3a\u5f53\u6211\u8bfb\u5230\u6bcf\u4ef6\u4e8b\u662f\u4ec0\u4e48\u65f6\uff0c\u6211\u666e\u904d\u540c\u610f\u201c\u662f\u7684\uff0c\u589e\u52a0\u8fd9\u4e2a\u4f3c\u4e4e\u662f\u4e2a\u597d\u4e3b\u610f\u201d\uff0c\u5e76\u51b3\u5b9a\u4fdd\u6301\u5e73\u8861\u4f3c\u4e4e\u6ca1\u6709\u663e\u8457\u63d0\u9ad8\u6027\u80fd\u7684\u4fee\u6539\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e5f\u8bb8\u60a8\u60f3\u8981\u8fdb\u884c\u66f4\u591a\u6d4b\u8bd5\uff0c\u5e76\u7f29\u5c0f\u8303\u56f4\u6765\u786e\u5b9a\u54ea\u4e9b\u53c2\u6570\u503c\u7684\u8bbe\u7f6e\u6709\u610f\u4e49\uff0c\u6211\u73b0\u5728\u63d0\u4f9b\u7ecf\u8fc7\u6d4b\u8bd5\u7684\u914d\u7f6e\u4f9b\u60a8\u53c2\u8003\uff0c\u5b83\u4e3a\u6211\u89e3\u51b3\u4e86\u7f51\u7edc\u541e\u5410\u91cf\u7684\u95ee\u9898\uff0c\u6211\u5bf9\u6b64\u611f\u5230\u975e\u5e38\u6ee1\u610f\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6b63\u786e\u7684\u914d\u7f6e\u65b9\u6cd5<\/h2>\n<p style=\"text-align: justify;\">\u4ee5\u4e0b\u662f\u6211\u7684\u9632\u706b\u5899\u4e0a\u7684\u914d\u7f6e\uff0c\u8fd9\u4e9b\u914d\u7f6e\u8fbe\u5230\u4e86\u8d85\u8fc76Gbps\u7684\u541e\u5410\u91cf\u3002<\/p>\n<h3 style=\"text-align: justify;\"><strong>Proxmox \u865a\u62df\u673a\u786c\u4ef6\u8bbe\u7f6e \u2013 \u673a\u5668\u7c7b\u578b<\/strong><\/h3>\n<p style=\"text-align: justify;\">OPNsene VM\u673a\u5668\u7c7b\u578b\u9009q35\u8fd8\u662fi440fx\uff0c\u7f51\u7edc\u4e0a\u7684\u610f\u89c1\u975e\u5e38\u77db\u76fe\u3002\u6211\u575a\u6301\u4f7f\u7528\u9ed8\u8ba4\u7684i440fx\uff0c\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u6ca1\u6709\u51fa\u73b0\u4efb\u4f55\u5de8\u5927\u7684\u6027\u80fd\u6ce2\u52a8\u95ee\u9898\u3002<\/p>\n<h3 style=\"text-align: justify;\">Proxmox \u865a\u62df\u673a\u786c\u4ef6\u8bbe\u7f6e<strong> \u2013 <\/strong>CPU<\/h3>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-top.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10469\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-top.png\" alt=\"\" width=\"700\" height=\"114\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-top.png 700w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-top-300x49.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-top-500x81.png 500w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-aes-flag.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10470\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-aes-flag.png\" alt=\"\" width=\"683\" height=\"41\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-aes-flag.png 683w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-aes-flag-300x18.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-cpu-aes-flag-500x30.png 500w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/a><\/figure>\n<ul style=\"text-align: justify;\">\n<li><strong>CPU \u7c7b\u578b\u4fdd\u7559\u4e3a\u201cKVM64\u201d\uff08\u9ed8\u8ba4\uff09\u3002\u00a0<\/strong>\u6d4b\u8bd5\u4e2d\u63d0\u4f9b\u4e86\u6700\u4f73\u6027\u80fd\u3002<\/li>\n<li>\u603b\u6838\u5fc3\u6570\u4e0e\u6211\u7684\u7269\u7406\u7ba1\u7406\u7a0b\u5e8fCPU\u5339\u914d\uff0c\u56e0\u4e3a\u8fd9\u4e3b\u8981\u662f\u4e00\u4e2a\u8def\u7531\u5668\uff0c\u6211\u5e0c\u671b\u8def\u7531\u5668\u80fd\u591f\u4f7f\u7528\u5b8c\u6574\u7684\u5168\u90e8 CPU\u3002<\/li>\n<li><strong>\u9009\u4e2d\u201c\u542f\u7528 NUMA\u201d<\/strong>\uff08\u8fd9\u53ef\u80fd\u4e0d\u4f1a\u63d0\u9ad8\u6027\u80fd\uff09\u3002<\/li>\n<li><strong>\u542f\u7528\u201cAES CPU\u6807\u5fd7\u201d<\/strong>\uff08\u53ef\u4ee5\u63d0\u9ad8VPN\u6027\u80fd\uff09\u3002<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\">Proxmox \u865a\u62df\u673a\u786c\u4ef6\u8bbe\u7f6e \u2013 \u7f51\u7edc\u9002\u914d\u5668<\/h3>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-proxmox-virtio.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10471\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-proxmox-virtio.png\" alt=\"\" width=\"601\" height=\"256\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-proxmox-virtio.png 601w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-proxmox-virtio-300x128.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-proxmox-virtio-500x213.png 500w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/a><\/figure>\n<ul style=\"text-align: justify;\">\n<li><strong>\u7981\u7528\u9632\u706b\u5899\u9009\u9879\u3002<\/strong>Proxmox\u4e0d\u9700\u8981\u505a\u4efb\u4f55\u9632\u706b\u5899\u5904\u7406\uff0c\u6211\u4eec\u5c06\u5728OPNsense \u4e0a\u5b8c\u6210\u6240\u6709\u9632\u706b\u5899\u5de5\u4f5c\u3002<\/li>\n<li><strong>\u4f7f\u7528VirtIO \u7f51\u7edc\u8bbe\u5907\u7c7b\u578b\u3002\u00a0<\/strong>\u6d4b\u8bd5\u4e2d\u63d0\u4f9b\u4e86\u6700\u4f73\u6027\u80fd\u3002<\/li>\n<li><strong><span class=\"\">\u5c06Multiqueue\u8bbe\u7f6e\u4e3a8\u3002\u00a0<\/span><\/strong><span class=\"\">8\u662f\u6700\u5927\u503c\uff0c<\/span>\u8fd9\u4e3a\u7f51\u7edc\u9002\u914d\u5668\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u5e76\u884c\u5904\u7406\u3002<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\">OPNsense \u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u201c\u63a5\u53e3\u201d&gt;\u201c\u8bbe\u7f6e\u201d\u4e2d\u7684\u6240\u6709\u7981\u7528<strong>\u786c\u4ef6<\/strong><strong>\u5378\u8f7d<\/strong>\u9009\u9879\u3002<\/p>\n<figure class=\"wp-block-image size-full\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-opnsense-hwacceleration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10472\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-opnsense-hwacceleration.png\" alt=\"\" width=\"730\" height=\"330\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-opnsense-hwacceleration.png 730w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-opnsense-hwacceleration-300x136.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2023\/02\/screenshot-opnsense-hwacceleration-500x226.png 500w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><\/figure>\n<h3 style=\"text-align: justify;\">OPNsense \u53ef\u8c03\u53c2\u6570<\/h3>\n<p style=\"text-align: justify; padding-left: 40px;\">\u53c2\u7167<a href=\"https:\/\/calomel.org\/freebsd_network_tuning.html\">FreeBSD\u7f51\u7edc\u6027\u80fd\u8c03\u4f18<\/a>\u6307\u5357\uff0c\u6211\u5bf9\u53ef\u8c03\u6574\u53c2\u6570\u8fdb\u884c\u4e86\u4ee5\u4e0b\u8c03\u6574\uff08\u7cfb\u7edf-\u8bbe\u7f6e-\u53ef\u8c03\u53c2\u6570\uff09\u3002<\/p>\n<pre>hw.ibrs_disable=1<\/pre>\n<p style=\"text-align: justify;\">\u8fd9\u662f\u4e00\u4e2a\u4e0eCPU\u76f8\u5173\u7684\u53ef\u8c03\u53c2\u6570\uff0c\u7528\u4e8e\u7f13\u89e3Spectre V2\u6f0f\u6d1e\u3002\u7981\u7528\u5b83\u5bf9\u6027\u80fd\u6709\u975e\u5e38\u5927\u7684\u63d0\u5347\u3002<\/p>\n<pre>net.isr.maxthreads=-1<\/pre>\n<p style=\"text-align: justify;\">\u53d6\u6d88\u53ef\u7528\u4e8enetisr\u5904\u7406\u7684CPU\u6570\u91cf\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cFreeBSD \u7f51\u7edc\u5806\u6808\u662f\u5355\u7ebf\u7a0b\u7684\u3002\u8bbe\u7f6e\u4e3a -1 \u53ef\u4ee5\u4f7f\u7528\u5168\u90e824\u4e2aCPU\u7ebf\u7a0b\u3002<\/p>\n<pre>net.isr.bindthreads=1<\/pre>\n<p style=\"text-align: justify;\">\u5c06\u6bcf\u4e2aISR \u7ebf\u7a0b\u7ed1\u5b9a\u52301\u4e2aCPU \u6838\u5fc3\uff0c\u8fd9\u6837\u505a\u5f88\u6709\u610f\u4e49\uff0c\u56e0\u4e3a\u6211\u4eec\u4e3a\u6bcf\u4e2a\u6838\u5fc3\u542f\u52a8\u4e00\u4e2a\u7ebf\u7a0b\u3002<\/p>\n<pre>net.isr.dispatch=deferred<\/pre>\n<p style=\"text-align: justify;\">\u6839\u636e\u6211\u4e4b\u524d\u94fe\u63a5\u7684<a href=\"https:\/\/github.com\/opnsense\/core\/issues\/5415\">\u8fd9\u4e2aGithub \u7ebf\u7a0b<\/a>\uff0c\u4f3c\u4e4e\u9700\u8981\u5c06\u6b64\u53ef\u8c03\u53c2\u6570\u66f4\u6539\u4e3a\u201cdeferred\u201d\u6216\u201chybrid\u201d\u624d\u80fd\u4f7f\u5176\u4ed6net.isr\u53ef\u8c03\u53c2\u6570\u505a\u4efb\u4f55\u6709\u610f\u4e49\u7684\u4e8b\u60c5\u3002<\/p>\n<pre>net.inet.rss.enabled=1<\/pre>\n<p style=\"text-align: justify;\">\u542f\u7528\u63a5\u6536\u65b9\u7f29\u653e\uff0cRSS\u662f\u53e6\u4e00\u4e2a\u53ef\u4ee5\u6539\u8fdb\u591a\u6838\u7cfb\u7edf\u7f51\u7edc\u6d41\u91cf\u5e76\u884c\u5904\u7406\u7684\u53c2\u6570\u3002<\/p>\n<pre>net.inet.rss.bits=6<\/pre>\n<p style=\"text-align: justify;\">\u8fd9\u662f\u6765\u81ea\u540c\u4e00\u8bba\u575b\u7ebf\u7a0b\u7684\u63a5\u6536\u7aef\u7f29\u653e\u53ef\u8c03\u53c2\u6570\u3002\u6211\u5c06\u5176\u8bbe\u7f6e\u4e3a6\uff0c\u56e0\u4e3a\u6700\u4f73\u503c\u662fCPU\u5185\u6838\u6570\u9664\u4ee54\u3002\u6211\u7684CPU\u670924\u4e2a\u5185\u6838\uff0c\u6240\u4ee524\/4=6\u3002\u60a8\u7684\u503c\u5e94\u57fa\u4e8eOPNsense\u865a\u62df\u673a\u4e0a\u7684 CPU\u5185\u6838\u6570\u3002<\/p>\n<pre>kern.ipc.maxsockbuf=614400000<\/pre>\n<p style=\"text-align: justify;\">\u6211\u4ece<a href=\"https:\/\/calomel.org\/freebsd_network_tuning.html\">FreeBSD Network Performance Tuning Guide<\/a>\u4e2d\u53d1\u73b0\u4e86\u8fd9\u4e2a\uff0c\u5982\u679c\u4f60\u6709100Gbps\u7f51\u7edc\u9002\u914d\u5668\uff0c\u8fd9\u662f\u4ed6\u4eec\u63a8\u8350\u7684\u503c\u3002\u6211\u7684OPNsense \u5b89\u88c5\u9644\u5e26\u7684\u9ed8\u8ba4\u503c\u4e0e\u6307\u5357\u4e2d2Gbps\u7f51\u7edc\u7684\u503c\u76f8\u5bf9\u5e94\u3002\u6211\u51b3\u5b9a\u65e2\u7136\u6211\u5c06\u6765\u53ef\u80fd\u4f1a\u6269\u5c55\uff0c\u6211\u628a\u5b83\u8bbe\u7f6e\u589e\u52a0\u5230\u8fd9\u4e2a\u6c34\u5e73\uff0c\u8fd9\u6837\u6211\u5c31\u4e0d\u5fc5\u518d\u5904\u7406\u8fd9\u4e2a\u4e86\u3002\u60a8\u53ef\u80fd\u9700\u8981\u8bbe\u7f6e\u4e00\u4e2a\u66f4\u5408\u7406\u7684\u503c\uff0c16777216\u9002\u7528\u4e8e10Gbps\u3002\u4e0a\u9762\u94fe\u63a5\u7684\u6307\u5357\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u8be5\u503c\u7684\u4f5c\u7528\u4ee5\u53ca\u5b83\u5f71\u54cd\u7684\u5176\u4ed6\u503c\u3002<\/p>\n<pre>net.inet.tcp.recvbuf_max=4194304\r\nnet.inet.tcp.recvspace=65536\r\nnet.inet.tcp.sendbuf_inc=65536\r\nnet.inet.tcp.sendbuf_max=4194304\r\nnet.inet.tcp.sendspace=65536<\/pre>\n<p style=\"text-align: justify;\">\u8fd9\u4e9bTCP\u7f13\u51b2\u533a\u8bbe\u7f6e\u53d6\u81ea<a href=\"https:\/\/calomel.org\/freebsd_network_tuning.html\">FreeBSD\u7f51\u7edc\u6027\u80fd\u8c03\u4f18\u6307\u5357<\/a>\uff0c\u6211\u6ca1\u6709\u6df1\u5165\u7814\u7a76\u5b83\u4eec\uff0c\u4f46\u5b83\u4eec\u90fd\u4e0eOPNsense\u4e0a\u63d0\u4f9b\u7684\u7f13\u51b2\u533a\u76f8\u5f53\u6216\u66f4\u5927\uff0c\u6240\u4ee5\u6211\u91c7\u7528\u4e86\u5b83\u3002\u8be5\u6307\u5357\u8be6\u7ec6\u8bf4\u660e\u4e86\u8fd9\u4e9b\u503c\u5982\u4f55\u5e2e\u52a9\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<pre>net.inet.tcp.soreceive_stream=1<\/pre>\n<p style=\"text-align: justify;\">\u8be5\u53c2\u6570\u542f\u7528\u4e86\u4f18\u5316\u7684\u5185\u6838\u5957\u63a5\u5b57\u63a5\u53e3\uff0c\u53ef\u4ee5\u663e\u8457\u964d\u4f4e\u5feb\u901f TCP\u6d41\u5bf9CPU\u7684\u5f71\u54cd\u3002<\/p>\n<pre>net.pf.source_nodes_hashsize=1048576<\/pre>\n<p style=\"text-align: justify;\">\u8be5\u53c2\u6570\u53ef\u80fd\u5bf9\u6211\u7684\u95ee\u9898\u6ca1\u6709\u5e2e\u52a9\uff0c\u4f46\u5b83\u53ef\u80fd\u4f1a\u9632\u6b62\u5c06\u6765\u51fa\u73b0\u95ee\u9898\u3002\u8be5\u503c\u589e\u52a0PF\u9632\u706b\u5899\u54c8\u5e0c\u8868\u7684\u5927\u5c0f\uff0c\u4ee5\u4fbf\u5728\u6027\u80fd\u4e0b\u964d\u4e4b\u524d\u5141\u8bb8\u8868\u4e2d\u6709\u66f4\u591a\u7684\u8fde\u63a5\u3002<\/p>\n<pre>net.inet.tcp.mssdflt=1240\r\nnet.inet.tcp.abc_l_var=52<\/pre>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u53c2\u6570\u503c\u63d0\u9ad8\u5904\u7406IP\u7247\u6bb5\u65f6\u7684\u6548\u7387\u3002\u60a8\u4e5f\u53ef\u4ee5\u5728\u6b64\u5904\u8bbe\u7f6e\u66f4\u6fc0\u8fdb\u7684\u503c\uff0c\u4f46\u4f3c\u4e4e\u8fd9\u4e9b\u503c\u66f4\u5b89\u5168\uff0c\u6240\u4ee5\u6211\u9009\u62e9\u4e86\u5b83\u4eec\u3002<\/p>\n<pre>net.inet.tcp.minmss=536<\/pre>\n<p style=\"text-align: justify;\">\u8be5\u53c2\u6570\u914d\u7f6e\u4e86\u6700\u5c0f\u6bb5\u5927\u5c0f\uff0c\u6216\u5355\u4e2aIPv4 TCP\u6bb5\u540c\u610f\u4f20\u8f93\u7684\u6700\u5c0f\u6570\u636e\u8d1f\u8f7d\uff0c\u65e8\u5728\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n<pre>kern.random.fortuna.minpoolsize=128<\/pre>\n<p style=\"text-align: justify;\">\u8fd9\u4e0e\u7f51\u7edc\u5b8c\u5168\u65e0\u5173\uff0c\u8fd9\u662f\u7528\u4e8e\u6539\u5584RNG\u71b5\u6c60\u7684\u503c\u3002\u56e0\u4e3a\u6211\u7684\u9632\u706b\u5899\u7cfb\u7edf\u4e0a\u6709VPN\uff0c\u6211\u8ba4\u4e3aRNG \u8d8a\u591a\u8d8a\u597d\u3002<\/p>\n<pre>net.isr.defaultqlimit=2048<\/pre>\n<p style=\"text-align: justify;\">\u8fd9\u4e2a\u503c\u6e90\u81ea\u6211\u4e4b\u524d\u94fe\u63a5\u7684<a href=\"https:\/\/www.reddit.com\/r\/OPNsenseFirewall\/comments\/m80s91\/opnsense_slower_than_pfsense\/\">Reddit \u7ebf\u7a0b<\/a>\uff0c\u5b83\u5728\u6700\u540e\u4e00\u6279\u53ef\u8c03\u53c2\u6570\u4e2d\u88ab\u6dfb\u52a0\uff0c\u6700\u7ec8\u5c06\u541e\u5410\u91cf\u63d0\u5347\u5230\u4e86\u6781\u503c\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u7ed3\u8bba<\/h2>\n<p style=\"text-align: justify;\">\u901a\u8fc7\u4e0a\u8ff0\u8c03\u6574\uff0c\u5728Proxmox\u4e0a\u7684KVM\u865a\u62df\u673a\u4e2d\u8fd0\u884c\u7684OPNsense\u5b9e\u73b0\u4e86\u6211\u60f3\u8981\u7684\u6027\u80fd\u3002<\/p>\n<p style=\"text-align: justify;\">\u6211\u60f3\u8fd9\u4e9b\u76f8\u540c\u7684\u6982\u5ff5\u5c06\u9002\u7528\u4e8e\u4efb\u4f55\u57fa\u4e8eFreeBSD\u7684\u9632\u706b\u5899\uff0c\u4f8b\u5982pfSense\u3002\u6709\u4e9b\u751a\u81f3\u53ef\u4ee5\u9002\u7528\u4e8e\u5bb6\u5ead\u5b9e\u9a8c\u5ba4\u73af\u5883\u4e2d\u5e38\u89c1\u7684\u5176\u4ed6\u57fa\u4e8eFreeBSD\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f8b\u5982FreeNAS\u3002\u7136\u800c\uff0c\u5728\u6211\u7684\u6d4b\u8bd5\u4e2d\uff0cOPNsense\u7684\u6027\u80fd\u53d7\u5230\u4e86\u7279\u522b\u7684\u9650\u5236\uff0c\u6211\u60f3\u8fd9\u4e5f\u8bb8\u8ddf\u5b83\u4f7f\u7528\u517c\u5bb9\u6027\u6709\u5173\u7cfb\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e0a\u9762\u7684\u5185\u5bb9\u5e76\u4e0d\u662f\u4e00\u4e2a\u5168\u9762\u7684\u6307\u5357\uff0c\u6211\u5199\u5b83\u662f\u4e3a\u4e86\u6211\u5c06\u6765\u7684\u53c2\u8003\uff0c\u5e0c\u671b\u6709\u50cf\u6211\u4e00\u6837\u95ee\u9898\u7684\u4eba\u80fd\u901a\u8fc7\u672c\u6307\u5357\u627e\u5230\u7b54\u6848\uff0c\u5e76\u5e0c\u671b\u4ed6\u5728\u5c1d\u8bd5\u6211\u7684\u6307\u5357\u4e2d\u7684\u8bbe\u7f6e\u540e\u53d6\u5f97\u540c\u6837\u597d\u7684\u7ed3\u679c\u3002<\/p>\n<p style=\"text-align: justify;\">\u539f\u6587<a href=\"https:\/\/binaryimpulse.com\/2022\/11\/opnsense-performance-tuning-for-multi-gigabit-internet\/\">\u5730\u5740<\/a>\u3002<\/p>\n<p style=\"text-align: justify;\">\u76f8\u5173\u6587\u7ae0\uff1a<a href=\"https:\/\/blog.pfchina.org\/?p=10445\">OPNsense\u8c03\u6574\u7f51\u5361RSS\u53c2\u6570\u63d0\u5347\u7f51\u7edc\u6027\u80fd<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OPNsense\u7684\u9ed8\u8ba4\u53c2\u6570\u8bbe\u7f6e\u975e\u5e38\u4fdd\u5b88\uff0c\u5728\u5343\u5146\u4ee5\u4e0a\u7684\u9ad8\u5e26\u5bbd\u7f51\u7edc\u4e2d\u53ef\u80fd\u4f1a\u51fa\u73b0\u65e0\u6cd5\u8dd1 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=10463\">\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":[407],"class_list":["post-10463","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-rss"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/10463","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=10463"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/10463\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}