{"id":14019,"date":"2024-12-30T19:47:32","date_gmt":"2024-12-30T11:47:32","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=14019"},"modified":"2024-12-31T09:43:53","modified_gmt":"2024-12-31T01:43:53","slug":"pfsense-plus-%e4%bd%bf%e2%bd%a4iimb%e5%a4%a7%e5%b9%85%e6%8f%90%e2%be%bcvpn%e6%80%a7%e8%83%bd","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=14019","title":{"rendered":"IIMB\u5927\u5e45\u63d0\u2fbcpfSense plus\u9632\u706b\u5899VPN\u6027\u80fd"},"content":{"rendered":"<p style=\"text-align: justify;\">FreeBSD\u4e2d\u7684OpenCrypto Framework \uff08OCF\uff09\u901a\u8fc7\u63d0\u4f9b\u4e00\u7ec4\u7528\u4e8e\u5185\u6838\u5185\u6570\u636e\u52a0\u5bc6\u3001\u89e3\u5bc6\u548c\u54c8\u5e0c\u7684 API \u51fd\u6570\u6765\u62bd\u8c61\u5e95\u5c42\u52a0\u5bc6\u5b9e\u73b0\u3002\u8fd9\u4e9b\u51fd\u6570\u7684\u9a71\u52a8\u7a0b\u5e8f\u6765\u81ea\u5404\u79cd\u52a0\u5bc6\u63d0\u4f9b\u7a0b\u5e8f\uff0c\u8303\u56f4\u4ece\u8f6f\u4ef6\u6307\u4ee4\u5230\u786c\u4ef6\u52a0\u901f\u5668\u3002<\/p>\n<p style=\"text-align: justify;\">\u76f8\u8f83\u4e8eOCF\uff0cpfSense plus\u96c6\u6210\u4e86Intel Multi-Buffer Crypto for IPsec Library \uff08IIMB\uff09\uff0c\u4f5c\u4e3aAES-GCM\u3001AES-CBC\u548cChaCha20-Poly1305\u5bc6\u7801\u7684\u63d0\u4f9b\u7a0b\u5e8f\uff0c\u901a\u8fc7\u4f18\u5316\u6570\u636e\u5904\u7406\u8def\u5f84\u3001\u51cf\u5c11\u5ef6\u8fdf\u548c\u63d0\u9ad8\u7cfb\u7edf\u8d44\u6e90\u7684\u5229\u7528\u7387\u5927\u5e45\u63d0\u5347\u4e86\u9632\u706b\u5899\u7684VPN\uff08IPsec\u3001WireGuard\uff09\u6027\u80fd\u3002<\/p>\n<p style=\"text-align: justify;\">OPNsense\u8bba\u575b\u6709\u4e00\u7bc7<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/forum.opnsense.org\/index.php?topic=38909.0\">\u8d34\u5b50<\/a><\/span>\uff0c\u6d4b\u8bd5<span id=\"top_subject\">pfSense plus\u7684Wireguard\u6027\u80fd\u6bd4OPNsense\u5feb1\u500d<\/span>\uff0c\u5206\u6790\u539f\u56e0\u662f\u4e24\u8005\u5bf9IIMB\u652f\u6301\u5dee\u5f02\u9020\u6210\u7684\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5b9e\u73b0\u673a\u5236<\/h2>\n<h3 class=\"p1\" style=\"text-align: justify;\"><b>\u51cf\u5c11CPU\u5360\u7528\u7387<\/b><b><\/b><\/h3>\n<p class=\"p3\" style=\"text-align: justify;\">IIMB \u901a\u8fc7\u51cf\u5c11\u6570\u636e\u5728\u786c\u4ef6\u548c\u8f6f\u4ef6\u4e4b\u95f4\u4f20\u8f93\u65f6\u7684\u963b\u585e\u5ef6\u8fdf\uff0c\u964d\u4f4e\u4e86\u5bf9CPU\u7684\u8fc7\u5ea6\u4f9d\u8d56\u3002\u8fd9\u4f7f\u5f97CPU\u53ef\u4ee5\u4e13\u6ce8\u4e8e\u5904\u7406VPN\u7684\u52a0\u5bc6\u548c\u89e3\u5bc6\u4efb\u52a1\uff0c\u800c\u4e0d\u9700\u8981\u6d6a\u8d39\u65f6\u95f4\u7b49\u5f85\u6570\u636e\u5904\u7406\u5b8c\u6210\u3002<\/p>\n<p class=\"p4\" style=\"text-align: justify;\"><b>\u5b9e\u73b0\u65b9\u6cd5\uff1a<\/b><b><\/b><\/p>\n<ul style=\"text-align: justify;\">\n<li class=\"p5\">\u901a\u8fc7DMA\uff08Direct Memory Access\uff09\u52a0\u901f\u6570\u636e\u4f20\u8f93\uff0c\u51cf\u5c11\u4e86\u5185\u6838\u5e72\u9884\u7684\u6b21\u6570\u3002<\/li>\n<li class=\"p5\">\u907f\u514d\u4e86\u5185\u6838\u6001\u548c\u7528\u6237\u6001\u4e4b\u95f4\u9891\u7e41\u7684\u4e0a\u4e0b\u6587\u5207\u6362\u3002<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\">\u4f18\u5316\u591a\u6838\u5229\u7528<\/h3>\n<p class=\"p1\" style=\"text-align: justify;\">IIMB\u53ef\u4ee5\u5145\u5206\u5229\u7528\u591a\u6838CPU\u7684\u4f18\u52bf\uff0c\u5c06\u6570\u636e\u5305\u5904\u7406\u5206\u914d\u5230\u4e0d\u540c\u7684\u6838\u4e0a\u3002\u8fd9\u5bf9\u8fd0\u884cVPN\u670d\u52a1\u7684pfSense\u9632\u706b\u5899\u5c24\u4e3a\u91cd\u8981\uff0c\u56e0\u4e3aVPN\u7684\u6d41\u91cf\u52a0\u5bc6\u548c\u89e3\u5bc6\u901a\u5e38\u662f\u9ad8\u8ba1\u7b97\u5bc6\u96c6\u578b\u7684\u3002<\/p>\n<p class=\"p2\" style=\"text-align: justify;\"><b>\u591a\u6838\u8d1f\u8f7d\u5747\u8861\uff1a<\/b><b><\/b><\/p>\n<ul style=\"text-align: justify;\">\n<li class=\"p3\">\u914d\u5408 Intel\u00ae QuickAssist \u6280\u672f\uff08\u5982\u679c\u652f\u6301\uff09\uff0c\u53ef\u4ee5\u52a0\u901fAES-NI\u548c\u5176\u4ed6\u52a0\u5bc6\u7b97\u6cd5\u7684\u5904\u7406\u3002<\/li>\n<li class=\"p3\">\u5728\u591a\u6838CPU\u73af\u5883\u4e0b\uff0c\u901a\u8fc7\u5e76\u884c\u5316\u6570\u636e\u5904\u7406\u51cf\u5c11\u4e86\u74f6\u9888\u3002<\/li>\n<\/ul>\n<h3 class=\"p1\" style=\"text-align: justify;\"><b>\u63d0\u9ad8\u7f51\u7edc\u541e\u5410\u91cf<\/b><b><\/b><\/h3>\n<p class=\"p3\" style=\"text-align: justify;\">IIMB\u4f18\u5316\u4e86\u7f51\u7edc\u6570\u636e\u5305\u7684\u8f6c\u53d1\u6548\u7387\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u91cf\u5c0f\u6570\u636e\u5305\u7684\u60c5\u51b5\u4e0b\u3002\u8fd9\u5bf9VPN\u7684\u6027\u80fd\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3aVPN\u901a\u4fe1\u901a\u5e38\u4f1a\u4ea7\u751f\u5927\u91cf\u52a0\u5bc6\u7684\u5c0f\u6570\u636e\u5305\u3002<\/p>\n<p class=\"p4\" style=\"text-align: justify;\"><b>\u5173\u952e\u6539\u8fdb\uff1a<\/b><b><\/b><\/p>\n<ul style=\"text-align: justify;\">\n<li class=\"p5\">\u51cf\u5c11\u4e86\u6570\u636e\u5305\u5728\u7f51\u7edc\u63a5\u53e3\u961f\u5217\u4e2d\u7684\u7b49\u5f85\u65f6\u95f4\u3002<\/li>\n<li class=\"p5\">\u652f\u6301\u9ad8\u901f\u7f51\u7edc\u63a5\u53e3\u5361\uff08NIC\uff09\u7684\u786c\u4ef6\u52a0\u901f\u529f\u80fd\u3002<\/li>\n<\/ul>\n<h3 class=\"p1\" style=\"text-align: justify;\"><b>\u63d0\u5347\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027<\/b><b><\/b><\/h3>\n<p class=\"p3\" style=\"text-align: justify;\">IIMB\u51cf\u5c11\u4e86\u5728\u9ad8\u8d1f\u8f7d\u60c5\u51b5\u4e0b\u7684\u7f51\u7edc\u5ef6\u8fdf\u548c\u4e22\u5305\u7387\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86VPN\u7684\u8fde\u63a5\u7a33\u5b9a\u6027\u3002\u8fd9\u5bf9\u4e8e\u9700\u8981\u6301\u7eed\u9ad8\u5e26\u5bbd\u7684\u8fdc\u7a0b\u8bbf\u95ee\u573a\u666f\u975e\u5e38\u91cd\u8981\u3002<\/p>\n<p class=\"p4\" style=\"text-align: justify;\"><b>\u8868\u73b0\uff1a<\/b><b><\/b><\/p>\n<ul style=\"text-align: justify;\">\n<li class=\"p5\">\u5728VPN\u6d41\u91cf\u9ad8\u5cf0\u671f\uff0c\u907f\u514d\u4e86\u56e0\u8d44\u6e90\u7ade\u4e89\u5bfc\u81f4\u7684\u6027\u80fd\u4e0b\u964d\u3002<\/li>\n<li class=\"p5\">\u4fdd\u6301\u8f83\u4f4e\u7684\u5ef6\u8fdf\u4ee5\u652f\u6301\u5b9e\u65f6\u5e94\u7528\uff08\u4f8b\u5982 VoIP \u548c\u89c6\u9891\u4f1a\u8bae\uff09\u3002<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\"><b>\u603b\u7ed3<\/b><b><\/b><\/h2>\n<p class=\"p3\" style=\"text-align: justify;\">\u901a\u8fc7\u5229\u7528IIMB\uff0cpfSense\u9632\u706b\u5899\u5728\u5904\u7406 VPN \u6d41\u91cf\u65f6\u53ef\u4ee5\u66f4\u9ad8\u6548\u5730\u5229\u7528\u7cfb\u7edf\u8d44\u6e90\uff0c\u63d0\u5347\u52a0\u5bc6\u901f\u5ea6\u3001\u7f51\u7edc\u541e\u5410\u91cf\u548c\u6574\u4f53\u8fde\u63a5\u7a33\u5b9a\u6027\u3002\u5982\u679c\u786c\u4ef6\u652f\u6301 Intel\u00ae QuickAssist \u548c AES-NI\uff0c\u8fd9\u79cd\u4f18\u5316\u6548\u679c\u4f1a\u66f4\u52a0\u663e\u8457\u3002\u56e0\u6b64\uff0c\u5728\u90e8\u7f72pfSense \u9632\u706b\u5899\uff0c\u5efa\u8bae\u9009\u62e9\u652f\u6301\u8fd9\u4e9b\u7279\u6027\u7684\u786c\u4ef6\u6765\u6700\u5927\u5316\u6027\u80fd\u63d0\u5347\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6ce8\u610f\u4e8b\u9879<\/h2>\n<p style=\"text-align: justify;\">\u4f5c\u4e3a\u4ed8\u8d39\u652f\u6301\u7684\u529f\u80fd\u4e4b\u4e00\uff08\u5305\u62ecDCO\u3001\u591a\u5b9e\u4f8b\u7ba1\u7406\u3001ZFS\u5feb\u7167\u7b49\uff09\uff0cIIMB\u53ea\u5728pfSense plus\u4e2d\u63d0\u4f9b\uff0cpfSense CE\u793e\u533a\u7248\u4e0d\u5305\u542b\u8be5\u529f\u80fd\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6d4b\u8bd5\u62a5\u544a<\/h2>\n<p style=\"text-align: justify;\"><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/12\/Netgate-Whitepaper-boosting-ipsec-perf-with-iimb.pdf\">Netgate Whitepaper &#8211; boosting-ipsec-perf-with-iimb<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD\u4e2d\u7684OpenCrypto Framework \uff08OCF\uff09\u901a\u8fc7\u63d0\u4f9b\u4e00 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=14019\">\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":[28],"tags":[464],"class_list":["post-14019","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-iimb"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14019","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=14019"}],"version-history":[{"count":27,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14019\/revisions"}],"predecessor-version":[{"id":14047,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14019\/revisions\/14047"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}