{"id":14455,"date":"2025-02-09T15:52:48","date_gmt":"2025-02-09T07:52:48","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=14455"},"modified":"2025-02-13T10:37:30","modified_gmt":"2025-02-13T02:37:30","slug":"pfsense%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%aenetbird%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=14455","title":{"rendered":"pfSense\u5b89\u88c5\u914d\u7f6eNetBird\u6559\u7a0b"},"content":{"rendered":"<p class=\"p1\" style=\"text-align: justify;\">NetBird\u662f\u4e00\u4e2a\u57fa\u4e8eWireGuard\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u65e8\u5728\u7b80\u5316\u6784\u5efaVPN\u548c\u8f6f\u4ef6\u5b9a\u4e49\u7f51\u7edc\uff08SDN\uff09\u57fa\u7840\u8bbe\u65bd\u3002\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u65b9\u5f0f\u6765\u521b\u5efa\u8de8\u591a\u4e2a\u8282\u70b9\u7684\u52a0\u5bc6\u70b9\u5bf9\u70b9\u8fde\u63a5\uff0c\u9002\u5408\u7528\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\u3001\u6570\u636e\u52a0\u5bc6\u548c\u79c1\u6709\u7f51\u7edc\u8fde\u63a5\u3002\u4e0e\u4e4b\u7c7b\u4f3c\u529f\u80fd\u7684\u9879\u76ee\u8fd8\u6709ZeroTier\u3001TailScale\u7b49\u3002<\/p>\n<p class=\"p1\" style=\"text-align: justify;\">NetBird\u7684\u4e00\u4e2a\u91cd\u8981\u7279\u70b9\u662f\u8ba9\u7528\u6237\u65e0\u9700\u624b\u52a8\u914d\u7f6eWireGuard\uff0c\u5c31\u80fd\u901a\u8fc7\u56fe\u5f62\u754c\u9762\u6216API\u6765\u7ba1\u7406\u5176VPN\u7f51\u7edc\u3002NetBird\u652f\u6301\u81ea\u52a8\u5316\u8fde\u63a5\u914d\u7f6e\u3001\u6545\u969c\u6062\u590d\u3001\u4ee5\u53ca\u7ba1\u7406\u7f51\u7edc\u4e2d\u7684\u8282\u70b9\u3002\u901a\u8fc7\u5b83\uff0c\u7528\u6237\u53ef\u4ee5\u8f7b\u677e\u5730\u5b9e\u73b0\u8de8\u4e91\u73af\u5883\u6216\u7269\u7406\u8bbe\u5907\u7684\u52a0\u5bc6\u901a\u4fe1\u3002\u4e0b\u9762\u4ecb\u7ecd\u5728pfSense\u4e0a\u5b89\u88c5NetBird\u7684\u65b9\u6cd5\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u524d\u63d0\u6761\u4ef6<\/h2>\n<p style=\"text-align: justify;\">\u5728\u5b89\u88c5\u4e4b\u524d\uff0c\u8bf7\u5148<a href=\"https:\/\/netbird.io\/\"><span style=\"color: #0000ff;\">\u6ce8\u518c\u5e10\u53f7<\/span><\/a>\uff0c\u5e76\u8fdb\u5165<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/app.netbird.io\/peers\">\u63a7\u5236\u53f0<\/a><\/span>\u9875\u9762\u3002<\/p>\n<p>\u5b89\u88c5\u5305\u4f7f\u7528\u7684Web\u63a7\u5236\u4ee3\u7801\u501f\u52a9chatgpt\u7f16\u5199\uff0c\u53ef\u4ee5\u5b9e\u73b0\u7b80\u5355\u7684\u63a7\u5236\u548c\u67e5\u770b\u8282\u70b9\u529f\u80fd\u3002NetBird\u7a0b\u5e8f\u81ea\u884c\u7f16\u8bd1\uff0c\u7248\u672c\u4e3a0.36.3\u3002<\/p>\n<p style=\"text-align: justify;\">\u5728\u9632\u706b\u5899\u7684WAN\u63a5\u53e3\u4e0a\u653e\u884cWireGuard\u7684\u9ed8\u8ba4\u901a\u4fe1\u7aef\u53e3\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-26-37.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14458\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-26-37.png\" alt=\"\" width=\"2512\" height=\"86\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u5b89\u88c5NetBird<\/h2>\n<p style=\"text-align: justify;\">\u4e0b\u8f7d\u9644\u4ef6\u5e76\u89e3\u538b\u7f29\uff0c\u4e0a\u4f20\u5230\u9632\u706b\u5899root\u76ee\u5f55\uff0c\u8fdb\u5165\u6587\u4ef6\u76ee\u5f55\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\u5b89\u88c5\u7a0b\u5e8f\uff1a<\/p>\n<pre class=\"code\">sh install.sh<\/pre>\n<p style=\"text-align: justify;\">\u5b89\u88c5\u8fc7\u7a0b\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-47-34.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14469\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-47-34.png\" alt=\"\" width=\"1690\" height=\"1464\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6839\u636e\u63d0\u793a\u5728\u6d4f\u89c8\u5668\u8f93\u5165\u4ee5\u4e0b\u5708\u7ea2\u90e8\u5206\u7684\u5730\u5740\uff0c\u8fdb\u884c\u8ba4\u8bc1\u6fc0\u6d3b\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-48-16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14470\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-48-16.png\" alt=\"\" width=\"1506\" height=\"206\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6d4f\u89c8\u5668\u4f1a\u663e\u793a\u4ee5\u4e0b\u786e\u8ba4\u9875\u9762\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-43-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14468\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-43-10.png\" alt=\"\" width=\"400\" height=\"479\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u70b9\u51fb\u786e\u8ba4\u540e\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-18-55.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14451 \" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-18-55.png\" alt=\"\" width=\"401\" height=\"235\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5728NetBird\u63a7\u5236\u53f0\uff0c\u70b9\u51fb\u521a\u624d\u8ba4\u8bc1\u8bbe\u5907\u8282\u70b9\u6700\u53f3\u4fa7\u7684\u9009\u9879\uff0c\u5355\u51fb\u7981\u7528\u4f1a\u8bdd\u8fc7\u671f\uff0c\u8ba9\u8282\u70b9\u59cb\u7ec8\u4fdd\u6301\u5728\u7ebf\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_17-09-38.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14480 size-full\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_17-09-38.png\" alt=\"\" width=\"3022\" height=\"740\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230VPN&gt;NetBird\u83dc\u5355\uff0c\u53ef\u4ee5\u67e5\u770bNetBird\u7684\u8282\u70b9\u4fe1\u606f\uff0c\u5e76\u5bf9\u7a0b\u5e8f\u8fd0\u884c\u8fdb\u884c\u63a7\u5236\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-28-06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14459\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_15-28-06.png\" alt=\"\" width=\"2498\" height=\"1044\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u5f00\u673a\u81ea\u542f<\/h2>\n<p>\u5728shellcmd\u63d2\u4ef6\u91cc\uff0c\u6dfb\u52a0\u5f00\u673a\u81ea\u542f\u547d\u4ee4\uff1a<\/p>\n<pre class=\"code\">service netbird start<\/pre>\n<h2 style=\"text-align: justify;\">\u6dfb\u52a0\u8def\u7531\u7b56\u7565<\/h2>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u4fdd\u8bc1\u5404\u4e2aNetBird\u8282\u70b9\u4e4b\u95f4\u7684\u4e92\u8bbf\uff0c\u9700\u8981\u5728NetBird\u63a7\u5236\u53f0\u6dfb\u52a0\u4e00\u6761All\u5230All\u7684\u901a\u884c\u7b56\u7565\u3002<\/p>\n<p style=\"text-align: justify;\">\u8fdb\u5165\u63a7\u5236\u53f0\uff0c\u70b9\u51fb\u5de6\u4fa7\u529f\u80fd\u5bfc\u822a\u680f\uff0c\u70b9\u51fbPolices\uff0c\u6dfb\u52a0\u7b56\u7565\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-08-51.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14429\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-08-51.png\" alt=\"\" width=\"400\" height=\"225\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5355\u51fb\u6dfb\u52a0\u6309\u94ae\uff0c\u6e90\u548c\u76ee\u6807\u90fd\u9009All\uff0c\u9009\u4e2d\u542f\u7528\u7b56\u7565\uff0c\u5355\u51fb\u7ee7\u7eed\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-12-49.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14433\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-12-49.png\" alt=\"\" width=\"400\" height=\"341\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u8bbf\u95ee\u63a7\u5236\u7b56\u7565\uff0c\u975e\u5546\u4e1a\u7528\u6237\u4e0d\u5305\u542b\u8be5\u529f\u80fd\uff0c\u5355\u51fb\u7ee7\u7eed\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-13-14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14432\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-13-14.png\" alt=\"\" width=\"400\" height=\"244\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u7ed9\u7b56\u7565\u8f93\u5165\u4e00\u4e2a\u540d\u79f0\u548c\u7b80\u5355\u7684\u63cf\u8ff0\u4fe1\u606f\uff0c\u7136\u540e\u5355\u51fb\u6dfb\u52a0\u7b56\u7565\u6309\u94ae\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-13-51.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14431\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-13-51.png\" alt=\"\" width=\"401\" height=\"266\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6700\u7ec8\u6dfb\u52a0\u7b56\u7565\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-14-06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14430\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/Snipaste_2025-02-09_11-14-06.png\" alt=\"\" width=\"3290\" height=\"252\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">\u68c0\u67e5\u6d4b\u8bd5<\/h2>\n<p style=\"text-align: justify;\">\u5728\u5404\u4e2a\u8282\u70b9\u4e0aping\u8fdc\u7a0b\u5bf9\u7aef\u8282\u70b9\u5730\u5740\uff0c\u68c0\u67e5\u8fde\u901a\u6027\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u603b\u7ed3<\/h2>\n<p class=\"p1\" style=\"text-align: justify;\">NetBird\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u3001\u9ad8\u6548\u7684\u65b9\u5f0f\u6765\u914d\u7f6e\u548c\u7ba1\u7406VPN\u7f51\u7edc\uff0c\u5c24\u5176\u9002\u7528\u4e8e\u9700\u8981\u591a\u4e2a\u8bbe\u5907\u548c\u8de8\u7f51\u7edc\u8fde\u63a5\u7684\u573a\u666f\u3002NetBird\u7684\u66f4\u591a\u9ad8\u9636\u73a9\u6cd5\uff0c\u8bf7\u53c2\u8003NetBird\u5b98\u65b9\u624b\u518c\u3002<\/p>\n<h2>\u9644\u4ef6\u4e0b\u8f7d<\/h2>\n<p><strong><span style=\"color: #0000ff;\">\u00a0<a style=\"color: #0000ff;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/02\/netbird-for-pfSense.zip\">NetBird for pfSense<\/a><\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>NetBird\u662f\u4e00\u4e2a\u57fa\u4e8eWireGuard\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u65e8\u5728\u7b80\u5316\u6784\u5efaVPN\u548c\u8f6f\u4ef6\u5b9a &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=14455\">\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":[469],"class_list":["post-14455","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-netbird"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14455","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=14455"}],"version-history":[{"count":12,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14455\/revisions"}],"predecessor-version":[{"id":14493,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14455\/revisions\/14493"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}