{"id":13910,"date":"2024-11-24T16:57:43","date_gmt":"2024-11-24T08:57:43","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=13910"},"modified":"2024-11-25T15:12:12","modified_gmt":"2024-11-25T07:12:12","slug":"opnsense%e9%85%8d%e7%bd%aeopenvpn%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e5%ae%9e%e7%8e%b0%e8%bf%9c%e7%a8%8b%e6%8e%a5%e5%85%a5%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=13910","title":{"rendered":"OPNsense\u914d\u7f6eOpenVPN\u8fdc\u7a0b\u63a5\u5165\u670d\u52a1"},"content":{"rendered":"<p style=\"text-align: justify;\">\u5728\u8fdc\u7a0b\u8bbf\u95ee\u516c\u53f8\u6216\u5bb6\u5ead\u7f51\u7edc\u65f6\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u5c24\u4e3a\u91cd\u8981\u3002\u4f7f\u7528OPNsense\u7684OpenVPN\u670d\u52a1\u5668\u529f\u80fd\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u5b89\u5168\u7684\u8fdc\u7a0b\u63a5\u5165\u901a\u9053\uff0c\u63d0\u4f9b\u5bf9\u5185\u7f51\u8d44\u6e90\u7684\u52a0\u5bc6\u8bbf\u95ee\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728OPNsense\u4e2d\u914d\u7f6eOpenVPN\u670d\u52a1\u5668\uff0c\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u8fdc\u7a0b\u63a5\u5165\u3002<\/p>\n<p style=\"text-align: justify;\">\u672c\u6587\u6f14\u793a\u4f7f\u7528SSL\/TLS+\u7528\u6237\u8ba4\u8bc1\u65b9\u5f0f\u8bbf\u95eeOpenVPN\u670d\u52a1\u5668\uff0c\u5176\u4ed6\u8bbf\u95ee\u65b9\u5f0f\u8bf7\u53c2\u8003\u7f51\u7edc\u4e0a\u5176\u4ed6\u53ef\u7528\u6559\u7a0b\u3002<\/p>\n<h3 style=\"text-align: justify;\">1. \u524d\u671f\u51c6\u5907<\/h3>\n<p style=\"text-align: justify;\">\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u786e\u4fdd\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>OPNsense\u5df2\u6210\u529f\u5b89\u88c5\u5e76\u6b63\u786e\u914d\u7f6e\u3002<\/li>\n<li>\u7f51\u7edc\u62d3\u6251\u7ed3\u6784\u660e\u786e\uff0c\u77e5\u9053\u54ea\u4e9b\u8bbe\u5907\u9700\u8981\u901a\u8fc7VPN\u8bbf\u95ee\u3002<\/li>\n<li>\u51c6\u5907\u597d\u4e00\u53f0\u53ef\u7528\u7684\u5ba2\u6237\u7aef\u8bbe\u5907\uff0c\u7528\u4e8e\u540e\u7eed\u6d4b\u8bd5\u8fdc\u7a0b\u8fde\u63a5\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u53e6\u5916\uff0c\u5efa\u8bae\u5c06OPNsense\u66f4\u65b0\u81f3\u6700\u65b0\u7248\u672c\u4ee5\u786e\u4fdd\u517c\u5bb9\u6027\u548c\u5b89\u5168\u6027\u3002<\/p>\n<h3 style=\"text-align: justify;\">2. \u914d\u7f6e\u6b65\u9aa4<\/h3>\n<h4 style=\"text-align: justify;\">2.1 \u914d\u7f6e\u8bc1\u4e66<\/h4>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u4fdd\u8bc1\u8fde\u63a5\u7684\u5b89\u5168\u6027\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u8bc1\u4e66\u6765\u9a8c\u8bc1\u8fde\u63a5\u7684\u5408\u6cd5\u6027\u3002\u5728OPNsense\u4e2d\u914d\u7f6e\u8bc1\u4e66\u7684\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p style=\"text-align: justify;\">\u8fdb\u5165\u8bc1\u4e66\u7ba1\u7406\u9875\u9762\uff1a\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u8bc1\u4e66 &gt;\u9881\u53d1\uff0c\u70b9\u51fb \u6dfb\u52a0\u65b0\u589e\u4e00\u4e2a\u5185\u90e8\u8bc1\u4e66\u9881\u53d1\u673a\u6784 (CA)\u3002\u586b\u5199\u4e00\u4e2a\u63cf\u8ff0\u6027\u540d\u79f0\uff0c\u4f8b\u5982 \u201ctest\u201d\u3002\u6839\u636e\u9700\u8981\u8bbe\u7f6e\u5bc6\u94a5\u7c7b\u578b\uff0c\u6458\u8981\u7b97\u6cd5\u53ef\u4ee5\u9009\u62e9 SHA256\u3002\u5176\u4ed6\u5b57\u6bb5\u53ef\u4ee5\u6839\u636e\u9700\u8981\u586b\u5199\uff0c\u6700\u540e\u70b9\u51fb\u4fdd\u5b58\u6309\u94ae\u4fdd\u5b58CA\u8bc1\u4e66\u3002\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-09-11-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13932\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-09-11-1.png\" alt=\"\" width=\"1341\" height=\"1702\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6dfb\u52a0\u5b8c\u6210\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-04-09-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13933\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-04-09-1.png\" alt=\"\" width=\"1947\" height=\"381\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u751f\u6210\u670d\u52a1\u5668\u8bc1\u4e66\uff1a<\/p>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230 \u7cfb\u7edf&gt;\u8bc1\u4e66 &gt;\u8bc1\u4e66\uff0c\u5355\u51fb\u53f3\u4e0b\u89d2\u6dfb\u52a0\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u5185\u90e8\u8bc1\u4e66\u3002\u8f93\u5165\u63cf\u8ff0\u540d\u79f0\u5982test\uff0c\u7c7b\u578b\u9009\u5ba2\u6237\u7aef\/\u670d\u52a1\u5668\u7ec4\u5408\u8bc1\u4e66\uff0c\u53d1\u884c\u4eba\u9009\u524d\u9762\u6dfb\u52a0\u7684CA\uff0c\u5bc6\u94a5\u7c7b\u578b\u9009RSA-2048\uff0c\u6458\u8981\u7b97\u6cd5\u9009SHA256\uff0c\u5176\u4ed6\u5b57\u6bb5\u6839\u636e\u9700\u8981\u8f93\u5165 \u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-16-44.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-16-44.png\" alt=\"\" width=\"1344\" height=\"1411\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u8f93\u5165\u5b8c\u6210\u70b9\u51fb\u4fdd\u5b58\u6309\u94ae\uff0c\u4fdd\u5b58\u8bc1\u4e66\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-05-07.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13934\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-05-07.png\" alt=\"\" width=\"1924\" height=\"442\" \/><\/a><\/p>\n<h4 style=\"text-align: justify;\">2.2 \u914d\u7f6eVPN\u7528\u6237<\/h4>\n<p>\u8f6c\u5230\u7cfb\u7edf&gt;\u8bbf\u95ee&gt;\u7528\u6237\uff0c\u5355\u51fb\u53f3\u4fa7\u7684\u6dfb\u52a0\u56fe\u6807\uff0c\u6dfb\u52a0\u4e00\u4e2aVPN\u7528\u6237\u3002<\/p>\n<p>\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\uff08\u786e\u8ba4\u5bc6\u7801\uff09\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_14-34-011.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13945\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_14-34-011.png\" alt=\"\" width=\"1699\" height=\"381\" \/><\/a><\/p>\n<p>\u5176\u4ed6\u9009\u9879\u4fdd\u6301\u9ed8\u8ba4\u3002\u627e\u5230\u8bc1\u4e66\u9879\uff0c\u9009\u4e2d\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u7528\u6237\u8bc1\u4e66\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_14-36-54.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13946\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_14-36-54.png\" alt=\"\" width=\"1968\" height=\"301\" \/><\/a><\/p>\n<p>\u70b9\u51fb\u4fdd\u5b58\u540e\uff0c\u4f1a\u51fa\u73b0\u8bc1\u4e66\u7f16\u8f91\u9875\u9762\uff0c\u6839\u636e\u63d0\u793a\u8f93\u5165\u7528\u6237\u8bc1\u4e66\u7684\u5404\u9879\u53c2\u6570\u5e76\u4fdd\u5b58\u3002<\/p>\n<h4 style=\"text-align: justify;\">2.3 \u914d\u7f6eOpenVPN<\/h4>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230VPN&gt;OpenVPN&gt;\u670d\u52a1\u5668(\u65e7\u7248)\uff0c\u5355\u51fb\u6dfb\u52a0\u4e00\u4e2aVPN\u670d\u52a1\u5668\u3002<\/p>\n<p style=\"text-align: justify;\">\u57fa\u672c\u8bbe\u7f6e\uff1a\u670d\u52a1\u5668\u6a21\u5f0f\u9009\u62e9\u8fdc\u7a0b\u63a5\u5165 (SSL\/TLS+\u7528\u6237\u8ba4\u8bc1)\uff0c\u8ba4\u8bc1\u540e\u7aef\u53e3\u9009\u672c\u5730\u6570\u636e\u5e93\uff0c\u534f\u8bae\u9009\u62e9UDP\uff0c\u8bbe\u5907\u6a21\u5f0f\u9009\u62e9tun\u6a21\u5f0f\uff0c\u63a5\u53e3\u9009WAN\uff0c\u76d1\u542c\u7aef\u53e3\u4f7f\u7528\u9ed8\u8ba4\u76841194\u7aef\u53e3\u3002<\/p>\n<p style=\"text-align: justify;\"><a style=\"text-align: justify;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_14-29-24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13942 size-full\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_14-29-24.png\" alt=\"\" width=\"1938\" height=\"944\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u52a0\u5bc6\u8bbe\u7f6e\uff1aTLS\u8ba4\u8bc1\u9009\u5df2\u542f\u7528-\u4ec5\u9650\u8eab\u4efd\u9a8c\u8bc1\uff0c\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u548c\u8bc1\u4e66\u9009\u4e2d\u524d\u9762\u521b\u5efa\u7684CA\u548c\u8bc1\u4e66\uff0c\u6458\u8981\u7b97\u6cd5\u9009SHA1\uff0c\u8bc1\u4e66\u6df1\u5ea6\u9009One\u3002<\/p>\n<p style=\"text-align: justify;\"><a style=\"text-align: justify;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-24-43.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13923\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-24-43.png\" alt=\"\" width=\"1824\" height=\"797\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u96a7\u9053\u8bbe\u7f6e\uff1a\u8f93\u5165\u96a7\u9053\u4f7f\u7528\u7684\u7f51\u7edc\u3002\u6ce8\u610f\u4e0d\u8981\u4e0e\u9632\u706b\u5899\u4e0a\u4efb\u4f55\u5df2\u4f7f\u7528\u7684\u7f51\u7edc\u76f8\u540c\uff0c\u672c\u5730\u7f51\u7edc\u8f93\u5165\u9632\u706b\u5899\u4e0a\u5e0c\u671b\u88ab\u8fdc\u7a0b\u8bbf\u95ee\u7684\u5185\u90e8\u7f51\u7edc\u3002<\/p>\n<p style=\"text-align: justify;\"><a style=\"text-align: justify;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-25-06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13924\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-25-06.png\" alt=\"\" width=\"1924\" height=\"1623\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5176\u4ed6\u9009\u9879\u6839\u636e\u9700\u8981\u8bbe\u7f6e\u3002<span style=\"text-align: justify;\">\u914d\u7f6e\u5b8c\u6210\u540e\u70b9\u51fb\u4e0b\u9762\u7684\u4fdd\u5b58\u6309\u94ae\u5373\u53ef\u542f\u7528OpenVPN\u670d\u52a1\u5668\u3002<\/span><\/p>\n<h4 style=\"text-align: justify;\">2.4 \u914d\u7f6e\u9632\u706b\u5899\u89c4\u5219<\/h4>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u5141\u8bb8VPN\u7528\u6237\u8fde\u63a5\u5e76\u8bbf\u95ee\u5185\u90e8\u7f51\u7edc\uff0c\u9700\u8981\u6dfb\u52a0\u4e24\u6761\u9632\u706b\u5899\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\">\u653e\u884cOpenVPN\u8bbf\u95ee\u7aef\u53e3\uff1a\u5bfc\u822a\u5230 \u9632\u706b\u5899 &gt;\u89c4\u5219\uff0cWAN\u9009\u9879\u5361\uff0c\u6dfb\u52a0\u4e00\u6761\u653e\u884c1194\u7aef\u53e3\u7684\u89c4\u5219\u3002<\/p>\n<p style=\"text-align: justify;\"><a style=\"text-align: justify;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-34-14.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-34-14.png\" alt=\"\" width=\"1927\" height=\"153\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6dfb\u52a0\u5141\u8bb8OpenVPN\u6d41\u91cf\u8bbf\u95ee\u7684\u89c4\u5219\uff1a\u5bfc\u822a\u5230 \u9632\u706b\u5899 &gt;\u89c4\u5219\uff0cOpenVPN\u9009\u9879\u5361\uff0c\u6dfb\u52a0\u4e00\u6761any to any\u89c4\u5219\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u7ec6\u5316\u89c4\u5219\u8bbe\u7f6e\u3002<\/p>\n<p style=\"text-align: justify;\"><a style=\"text-align: justify;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-33-21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13925\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_16-33-21.png\" alt=\"\" width=\"1944\" height=\"261\" \/><\/a><\/p>\n<h3 style=\"text-align: justify;\">3. \u5ba2\u6237\u7aef\u914d\u7f6e<\/h3>\n<h4 style=\"text-align: justify;\">3.1 \u4e0b\u8f7d\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p style=\"text-align: justify;\">\u5bfc\u51fa\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6\uff1a\u8f6c\u5230VPN &gt; OpenVPN &gt;\u5ba2\u6237\u7aef\u5bfc\u51fa\u3002\u5728\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\u4e2d\uff0c\u9009\u4e2d\u521a\u521a\u521b\u5efa\u7684\u670d\u52a1\u5668\uff0c\u5bfc\u51fa\u7c7b\u578b\u9009\u4e2d\u4ec5\u5bfc\u51fa\u6587\u4ef6\uff0c\u9009\u4e2d\u5982\u4e0b\u56fe\u6240\u793a\u7684\u5176\u4ed6\u9009\u9879\u3002\u5355\u51fb\u6700\u4e0b\u65b9\u7684\u4e0b\u8f7d\u6309\u94ae\uff0c\u5bfc\u51faovpn\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<p style=\"text-align: justify;\"><a style=\"text-align: justify;\" href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_15-09-52.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13955 size-full\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-25_15-09-52.png\" alt=\"\" width=\"2131\" height=\"1291\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6839\u636e\u5ba2\u6237\u7aef\u8bbe\u5907\u7cfb\u7edf\uff0c\u4e0b\u8f7d\u5e76\u5b89\u88c5\u76f8\u5e94\u7248\u672c\u7684<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/openvpn.net\/community-downloads\/\">OpenVPN\u5ba2\u6237\u7aef\u8f6f\u4ef6<\/a><\/span>\u3002\u5c06\u4e0b\u8f7d\u7684 .ovpn \u6587\u4ef6\u5bfc\u5165\u5230\u5ba2\u6237\u7aef\u4e2d\uff0c\u5b8c\u6210\u914d\u7f6e\u3002<\/p>\n<h4 style=\"text-align: justify;\">3.2 \u8fde\u63a5\u6d4b\u8bd5<\/h4>\n<p style=\"text-align: justify;\">\u6253\u5f00OpenVPN\u5ba2\u6237\u7aef\uff0c\u4f7f\u7528\u5bfc\u5165\u7684\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u8fde\u63a5\u3002\u8fde\u63a5\u6210\u529f\u540e\uff0c\u56fe\u6807\u4f1a\u53d8\u6210\u7eff\u8272\u7684\u5e26\u9501\u6807\u8bb0\uff0c\u540c\u65f6\u4f1a\u663e\u793a\u5206\u914d\u7684\u96a7\u9053\u5730\u5740\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_15-51-54.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13929\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_15-51-54.png\" alt=\"\" width=\"984\" height=\"313\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6d4b\u8bd5\u662f\u5426\u80fd\u6b63\u5e38\u8bbf\u95ee\u5185\u7f51\u8d44\u6e90\u3002\u5ba2\u6237\u7aefping\u9632\u706b\u5899LAN\u5730\u5740\u6216OpenVPN\u96a7\u9053\u5730\u5740\uff0c\u68c0\u67e5\u662f\u5426\u8fde\u901a\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_15-41-16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13930\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/11\/Snipaste_2024-11-24_15-41-16.png\" alt=\"\" width=\"1074\" height=\"800\" \/><\/a><\/p>\n<h3 style=\"text-align: justify;\">4. \u6545\u969c\u6392\u67e5<\/h3>\n<ol style=\"text-align: justify;\">\n<li>\u65e0\u6cd5\u8fde\u63a5VPN\uff1a\u68c0\u67e5OPNsense\u4e2d\u7684\u9632\u706b\u5899\u914d\u7f6e\uff0c\u786e\u4fdd1194\u7aef\u53e3\u5df2\u5f00\u653e\u3002<\/li>\n<li>\u8bbf\u95ee\u5185\u7f51\u8d44\u6e90\u5931\u8d25\uff1a\u68c0\u67e5\u8def\u7531\u8bbe\u7f6e\u548c\u9632\u706b\u5899\u89c4\u5219\uff0c\u786e\u4fddVPN\u5ba2\u6237\u7aefIP\u53ef\u4ee5\u8bbf\u95ee\u5185\u7f51\u8d44\u6e90\u3002<\/li>\n<li>\u8fde\u63a5\u6162\uff1a\u5c1d\u8bd5\u4f7f\u7528TCP\u534f\u8bae\u6216\u964d\u4f4e\u52a0\u5bc6\u7b49\u7ea7\uff0c\u4f46\u9700\u6743\u8861\u5b89\u5168\u6027\u548c\u6027\u80fd\u3002<\/li>\n<\/ol>\n<h3 style=\"text-align: justify;\">\u603b\u7ed3<\/h3>\n<p style=\"text-align: justify;\">\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728OPNsense\u4e2d\u914d\u7f6eOpenVPN\u670d\u52a1\u5668\uff0c\u5b9e\u73b0\u8fdc\u7a0b\u8bbf\u95ee\u5185\u7f51\u8d44\u6e90\u7684\u9700\u6c42\u3002\u901a\u8fc7\u8bc1\u4e66\u7ba1\u7406\u3001\u9632\u706b\u5899\u89c4\u5219\u7b49\u6b65\u9aa4\uff0c\u53ef\u4ee5\u5efa\u7acb\u4e00\u4e2a\u5b89\u5168\u7684\u8fdc\u7a0b\u63a5\u5165\u89e3\u51b3\u65b9\u6848\u3002\u5728\u6d4b\u8bd5\u548c\u6545\u969c\u6392\u67e5\u4e2d\uff0c\u4ed4\u7ec6\u68c0\u67e5\u914d\u7f6e\u53ef\u4ee5\u5e2e\u52a9\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\uff0c\u786e\u4fddVPN\u7684\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u8fdc\u7a0b\u8bbf\u95ee\u516c\u53f8\u6216\u5bb6\u5ead\u7f51\u7edc\u65f6\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u5c24\u4e3a\u91cd\u8981\u3002\u4f7f\u7528OPNsense\u7684Open &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=13910\">\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":[114],"class_list":["post-13910","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-openvpn"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/13910","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=13910"}],"version-history":[{"count":21,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/13910\/revisions"}],"predecessor-version":[{"id":13956,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/13910\/revisions\/13956"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}