{"id":187,"date":"2018-07-29T09:06:46","date_gmt":"2018-07-29T01:06:46","guid":{"rendered":"https:\/\/pfsense.freeddns.org\/wp\/?p=187"},"modified":"2020-08-24T22:12:11","modified_gmt":"2020-08-24T14:12:11","slug":"pfsense-book%e4%b9%8bopenvpn%ef%bc%88%e4%b8%80%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=187","title":{"rendered":"pfSense book\u4e4bOpenVPN\uff08\u4e00\uff09"},"content":{"rendered":"<h1 style=\"text-align: justify;\">OpenVPN<\/h1>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>OpenVPN\u548cIPv6<\/li>\n<li>OpenVPN\u914d\u7f6e\u9009\u9879<\/li>\n<li>\u4f7f\u7528OpenVPN\u670d\u52a1\u5668\u5411\u5bfc\u8fdb\u884c\u8fdc\u7a0b\u8bbf\u95ee<\/li>\n<li>\u914d\u7f6e\u7528\u6237<\/li>\n<li>OpenVPN\u5ba2\u6237\u7aef\u5b89\u88c5<\/li>\n<li>\u7ad9\u70b9\u5230\u7ad9\u70b9\u793a\u4f8b\uff08\u5171\u4eab\u5bc6\u94a5\uff09<\/li>\n<li>\u7ad9\u70b9\u5230\u7ad9\u70b9\u793a\u4f8b\u914d\u7f6e\uff08SSL \/ TLS\uff09<\/li>\n<li>\u68c0\u67e5OpenVPN\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7684\u72b6\u6001<\/li>\n<li>\u5141\u8bb8\u6d41\u91cf\u5230OpenVPN\u670d\u52a1\u5668<\/li>\n<li>\u5141\u8bb8\u6d41\u91cf\u901a\u8fc7OpenVPN\u96a7\u9053<\/li>\n<li>OpenVPN\u5ba2\u6237\u7aef\u548cInternet\u8bbf\u95ee<\/li>\n<li>\u5206\u914dOpenVPN\u63a5\u53e3<\/li>\n<li>NAT\u4e0eOpenVPN\u8fde\u63a5<\/li>\n<li>OpenVPN\u548c\u591aWAN<\/li>\n<li>OpenVPN\u548cCARP<\/li>\n<li>\u6865\u63a5OpenVPN\u8fde\u63a5<\/li>\n<li>\u81ea\u5b9a\u4e49\u914d\u7f6e\u9009\u9879<\/li>\n<li>OpenVPN\u548cWeb\u670d\u52a1\u5668\u5171\u4eab\u7aef\u53e3<\/li>\n<li>\u901a\u8fc7RADIUS\u63a7\u5236\u5ba2\u6237\u7aef\u53c2\u6570<\/li>\n<li>OpenVPN\u6545\u969c\u6392\u67e5<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">OpenVPN\u662f\u4e00\u79cd\u5f00\u6e90\u7684SSL VPN\u89e3\u51b3\u65b9\u6848\uff0c\u53ef\u7528\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\u5ba2\u6237\u7aef\u548c\u7ad9\u70b9\u5230\u7ad9\u70b9\u7684\u8fde\u63a5\u3002 OpenVPN\u7684\u5ba2\u6237\u7aef\u652f\u6301\u4f17\u591a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5305\u62ec\u6240\u6709\u7684BSD\uff0cLinux\uff0cAndroid\uff0cMac OS X\uff0ciOS\uff0cSolaris\uff0cWindows 2000\u53ca\u66f4\u65b0\u7248\u672c\uff0c\u751a\u81f3\u4e00\u4e9bVoIP\u624b\u673a\u3002<\/p>\n<p style=\"text-align: justify;\">\u6bcf\u4e2aOpenVPN\u8fde\u63a5\uff0c\u65e0\u8bba\u662f\u8fdc\u7a0b\u8bbf\u95ee\u8fd8\u662f\u7ad9\u70b9\u5230\u7ad9\u70b9\uff0c\u90fd\u7531\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u7ec4\u6210\u3002\u5728\u7ad9\u70b9\u5230\u7ad9\u70b9VPN\u4e2d\uff0c\u4e00\u4e2a\u9632\u706b\u5899\u5145\u5f53\u670d\u52a1\u5668\uff0c\u53e6\u4e00\u4e2a\u5145\u5f53\u5ba2\u6237\u7aef\u3002\u54ea\u4e2a\u9632\u706b\u5899\u62e5\u6709\u8fd9\u4e9b\u89d2\u8272\u5e76\u4e0d\u91cd\u8981\u3002\u901a\u5e38\uff0c\u4e3b\u9632\u706b\u5899\u7684\u4f4d\u7f6e\u5c06\u4e3a\u5176\u9632\u706b\u5899\u914d\u7f6e\u4e3a\u5ba2\u6237\u7aef\u7684\u6240\u6709\u8fdc\u7a0b\u4f4d\u7f6e\u63d0\u4f9b\u670d\u52a1\u5668\u8fde\u63a5\u3002\u8fd9\u5728\u529f\u80fd\u4e0a\u7b49\u540c\u4e8e\u914d\u7f6e\u4e3a\u8fde\u63a5\u5230\u8fdc\u7a0b\u4f4d\u7f6e\u9632\u706b\u5899\u4e0a\u8fd0\u884c\u7684\u670d\u52a1\u5668\u7684\u5ba2\u6237\u7aef\u7684\u4e3b\u8981\u4f4d\u7f6e\u7684\u76f8\u53cd\u914d\u7f6e\u3002\u5b9e\u9645\u4e0a\uff0c\u670d\u52a1\u5668\u51e0\u4e4e\u603b\u662f\u5728\u4e2d\u592e\u4f4d\u7f6e\u8fd0\u884c\u3002<\/p>\n<p style=\"text-align: justify;\">\u6709\u51e0\u79cd\u53ef\u4e0eOpenVPN\u4e00\u8d77\u4f7f\u7528\u7684\u8eab\u4efd\u9a8c\u8bc1\u65b9\u6cd5\uff1a\u5171\u4eab\u5bc6\u94a5\uff0cX.509\uff08\u4e5f\u79f0\u4e3aSSL \/ TLS\u6216PKI\uff09\uff0c\u901a\u8fc7\u672c\u5730\uff0cLDAP\u548cRADIUS\u7684\u7528\u6237\u8eab\u4efd\u9a8c\u8bc1\uff0c\u6216\u8005X.509\u4e0e\u7528\u6237\u7684\u7ec4\u5408\u8ba4\u8bc1\u3002\u5bf9\u4e8e\u5171\u4eab\u5bc6\u94a5\uff0c\u5c06\u751f\u6210\u5c06\u5728\u53cc\u65b9\u90fd\u4f7f\u7528\u7684\u5355\u4e2a\u5bc6\u94a5\u3002 SSL \/ TLS\u6d89\u53ca\u4f7f\u7528\u4e00\u7ec4\u53ef\u4fe1\u7684\u8bc1\u4e66\u548c\u5bc6\u94a5\u3002\u7528\u6237\u8ba4\u8bc1\u53ef\u4ee5\u4f7f\u7528\u6216\u4e0d\u4f7f\u7528SSL \/ TLS\u8fdb\u884c\u914d\u7f6e\uff0c\u4f46\u7531\u4e8e\u63d0\u4f9b\u7684\u5b89\u5168\u6027\u63d0\u9ad8\uff0c\u56e0\u6b64\u5728\u53ef\u80fd\u7684\u60c5\u51b5\u4e0b\u8bf7\u4f18\u5148\u4f7f\u7528\u5b83\u3002<\/p>\n<p style=\"text-align: justify;\">\u672c\u7ae0\u5c06\u4ecb\u7ecdOpenVPN\u5b9e\u4f8b\u7684\u8bbe\u7f6e\uff0c\u4ee5\u53caOpenVPN\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\u5411\u5bfc\u7684\u8fd0\u884c\u8fc7\u7a0b\uff0c\u5ba2\u6237\u7aef\u914d\u7f6e\u4ee5\u53ca\u591a\u4e2a\u7ad9\u70b9\u5230\u7ad9\u70b9\u8fde\u63a5\u65b9\u6848\u7684\u793a\u4f8b\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5c3d\u7ba1OpenVPN\u662fSSL VPN\uff0c\u4f46\u5546\u7528\u9632\u706b\u5899\u5382\u5546\u666e\u904d\u8ba4\u4e3a\u5b83\u4e0d\u662f\u201c\u65e0\u5ba2\u6237\u7aef\u201d\u7684SSL VPN\u3002 OpenVPN\u5ba2\u6237\u7aef\u5fc5\u987b\u5b89\u88c5\u5728\u6240\u6709\u5ba2\u6237\u7aef\u8bbe\u5907\u4e0a\u3002 \u4e8b\u5b9e\u4e0a\uff0c\u6ca1\u6709VPN\u89e3\u51b3\u65b9\u6848\u662f\u771f\u6b63\u7684\u201c\u65e0\u5ba2\u6237\u7aef\u201d\uff0c\u8fd9\u4e2a\u672f\u8bed\u53ea\u4e0d\u8fc7\u662f\u4e00\u4e2a\u8425\u9500\u7b56\u7565\u3002<\/p>\n<p style=\"text-align: justify;\">\u6709\u5173pfSense\u4e2d\u53ef\u7528\u7684\u5404\u79cd\u7c7b\u578bVPN\u7684\u4e00\u822c\u6027\u8ba8\u8bba\u53ca\u5176\u4f18\u7f3a\u70b9\uff0c\u8bf7\u53c2\u9605\u865a\u62df\u4e13\u7528\u7f51\u7edc\u3002<\/p>\n<h2 style=\"text-align: justify;\">OpenVPN\u548c\u8bc1\u4e66<\/h2>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u8bc1\u4e66\u662f\u8fd0\u884c\u8fdc\u7a0b\u8bbf\u95eeVPN\u7684\u9996\u9009\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u5141\u8bb8\u4e3a\u5355\u4e2a\u673a\u5668\u64a4\u9500\u8bbf\u95ee\u6743\u9650\u3002 \u4f7f\u7528\u5171\u4eab\u5bc6\u94a5\uff0c\u5fc5\u987b\u4e3a\u6bcf\u4e2a\u5ba2\u6237\u7aef\u521b\u5efa\u552f\u4e00\u7684\u670d\u52a1\u5668\u548c\u7aef\u53e3\uff0c\u6216\u8005\u5fc5\u987b\u5c06\u76f8\u540c\u7684\u5bc6\u94a5\u5206\u53d1\u7ed9\u6240\u6709\u5ba2\u6237\u7aef\u3002 \u524d\u8005\u6210\u4e3a\u7ba1\u7406\u7684\u5669\u68a6\uff0c\u800c\u540e\u8005\u5728\u59a5\u534f\u7684\u5173\u952e\u65f6\u523b\u4f1a\u4ea7\u751f\u95ee\u9898\u3002 \u5982\u679c\u5ba2\u6237\u673a\u88ab\u76d7\u7528\uff0c\u88ab\u76d7\u6216\u4e22\u5931\uff0c\u6216\u8005\u9700\u8981\u540a\u9500\uff0c\u5171\u4eab\u5bc6\u94a5\u5fc5\u987b\u91cd\u65b0\u53d1\u653e\u7ed9\u6240\u6709\u5ba2\u6237\u3002 \u4f7f\u7528PKI\u90e8\u7f72\u65f6\uff0c\u5982\u679c\u5ba2\u6237\u7aef\u906d\u5230VPN\uff0c\u6216\u56e0\u4efb\u4f55\u5176\u4ed6\u539f\u56e0\u9700\u8981\u64a4\u9500\u8bbf\u95ee\u6743\u9650\uff0c\u53ea\u9700\u64a4\u9500\u8be5\u5ba2\u6237\u7aef\u7684\u8bc1\u4e66\u5373\u53ef\u3002 \u5176\u4ed6\u5ba2\u6237\u4e0d\u53d7\u5f71\u54cd\u3002<\/p>\n<p style=\"text-align: justify;\">pfSense GUI\u5305\u542b\u4e00\u4e2a\u4e0eOpenVPN\u5b8c\u5168\u96c6\u6210\u7684\u8bc1\u4e66\u7ba1\u7406\u754c\u9762\u3002 \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08CA\uff09\u548c\u670d\u52a1\u5668\u8bc1\u4e66\u5728<strong>\u7cfb\u7edf&gt;\u00a0\u8bc1\u4e66\u7ba1\u7406<\/strong>\u3001\u8bc1\u4e66\u7ba1\u7406\u5668\u4e2d\u8fdb\u884c\u7ba1\u7406\u3002 \u7528\u6237\u8bc1\u4e66\u4e5f\u5728Web\u754c\u9762\u4e2d\u8fdb\u884c\u7ba1\u7406\uff0c\u4f5c\u4e3a<strong>\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406<\/strong>\u7684\u5185\u7f6e\u7528\u6237\u7ba1\u7406\u5668\u7684\u4e00\u90e8\u5206\u3002 \u9664\u9ed8\u8ba4\u7ba1\u7406\u5458\u5e10\u6237\u4ee5\u5916\uff0c\u53ef\u4ee5\u4e3a\u9632\u706b\u5899\u672c\u5730\u521b\u5efa\u7684\u4efb\u4f55\u7528\u6237\u5e10\u6237\u751f\u6210\u8bc1\u4e66\u3002 \u6709\u5173\u521b\u5efa\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff0c\u8bc1\u4e66\u548c\u8bc1\u4e66\u64a4\u9500\u5217\u8868\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u8bc1\u4e66\u7ba1\u7406\u3002<\/p>\n<h1 style=\"text-align: justify;\">OpenVPN\u548cIPv6<\/h1>\n<p style=\"text-align: justify;\">OpenVPN\u53ef\u4ee5\u5c06\u7ad9\u70b9\u5230\u7ad9\u70b9\u7684\u96a7\u9053\u8fde\u63a5\u5230IPv4\u5730\u5740\u6216IPv6\u5730\u5740\uff0c\u5e76\u4e14IPv4\u548cIPv6\u6d41\u91cf\u53ef\u4ee5\u540c\u65f6\u5728OpenVPN\u96a7\u9053\u5185\u4f20\u9012\u3002 IPv6\u5728\u7ad9\u70b9\u5230\u7ad9\u70b9\u548c\u79fb\u52a8\u5ba2\u6237\u7aef\u5747\u53d7\u652f\u6301\uff0c\u5e76\u4e14\u53ef\u7528\u4e8e\u5c06IPv6\u53d1\u9001\u5230\u4ec5\u5177\u6709IPv4\u8fde\u63a5\u7684\u7ad9\u70b9\u3002 \u4e3a\u4e86\u786e\u4fdd\u79fb\u52a8\u5ba2\u6237\u7aef\u652f\u6301IPv6\uff0c\u8bf7\u4eceOpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\u4e2d\u83b7\u53d6\u5ba2\u6237\u7aef\u8f6f\u4ef6\uff0c\u6216\u8005\u4e0b\u8f7d\u57fa\u4e8eOpenVPN 2.3\u6216\u66f4\u9ad8\u7248\u672c\u7684\u5ba2\u6237\u7aef\u3002<\/p>\n<h1 style=\"text-align: justify;\">OpenVPN \u914d\u7f6e\u9009\u9879<\/h1>\n<p style=\"text-align: justify;\">\u672c\u8282\u4ecb\u7ecdOpenVPN\u7684\u6240\u6709\u53ef\u7528\u9009\u9879\u4ee5\u53ca\u5178\u578b\u4f7f\u7528\u65b9\u5f0f\u3002 \u540e\u7eed\u90e8\u5206\u4ecb\u7ecd\u4e86\u4f7f\u7528OpenVPN\u914d\u7f6e\u7ad9\u70b9\u5230\u7ad9\u70b9\u548c\u8fdc\u7a0b\u8bbf\u95eeVPN\u7684\u793a\u4f8b\uff0c\u4f7f\u7528\u6700\u5e38\u89c1\u7684\u9009\u9879\u548c\u6700\u5c11\u7684\u914d\u7f6e\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u670d\u52a1\u5668\u914d\u7f6e\u9009\u9879<\/h2>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u9009\u9879\u53ef\u7528\u4e8eOpenVPN\u670d\u52a1\u5668\u5b9e\u4f8b\u7684\u4e00\u79cd\u6216\u591a\u79cd\u6a21\u5f0f\uff0c\u53ef\u901a\u8fc7VPN<strong>&gt; OpenVPN<\/strong>\uff0c\u670d\u52a1\u5668\u9009\u9879\u5361\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u7981\u7528\u6b64\u670d\u52a1\u5668<\/h3>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u6b64\u6846\u5e76\u5355\u51fb\u4fdd\u5b58\u4ee5\u4fdd\u7559\u914d\u7f6e\uff0c\u4f46\u4e0d\u542f\u7528\u670d\u52a1\u5668\u3002\u6b64\u5b9e\u4f8b\u7684\u8fdb\u7a0b\u5c06\u88ab\u505c\u6b62\uff0c\u5e76\u4e14\u6240\u6709\u5bf9\u7b49\u7aef\/\u5ba2\u6237\u7aef\u90fd\u5c06\u4e0e\u6b64\u670d\u52a1\u5668\u65ad\u5f00\u8fde\u63a5\u3002\u4efb\u4f55\u5176\u4ed6\u6d3b\u52a8\u670d\u52a1\u5668\u90fd\u4e0d\u53d7\u5f71\u54cd\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u670d\u52a1\u5668\u6a21\u5f0f<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u662f\u670d\u52a1\u5668\u7684\u89d2\u8272\uff0c\u5b83\u6307\u5b9a\u8def\u7531\u5668\u6216\u7528\u6237\u5982\u4f55\u8fde\u63a5\u5230\u6b64\u670d\u52a1\u5668\u3002 \u66f4\u6539\u6b64\u9009\u9879\u8fd8\u4f1a\u5f71\u54cd\u9875\u9762\u5176\u4f59\u90e8\u5206\u663e\u793a\u7684\u9009\u9879\uff0c\u56e0\u6b64\u53ea\u663e\u793a\u76f8\u5173\u9009\u9879\u3002<\/p>\n<table class=\"docutils field-list\" width=\"947\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">\u70b9\u5bf9\u70b9 (SSL\/TLS):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td width=\"65\"><\/td>\n<td class=\"field-body\" width=\"1595\">\u7531SSL \/ TLS\u4fdd\u62a4\u7684\u672c\u5730\u548c\u8fdc\u7a0b\u7f51\u7edc\u4e4b\u95f4\u7684\u8fde\u63a5\u3002 \u8fd9\u79cd\u9009\u62e9\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u4ee5\u53ca\u670d\u52a1\u5668\u5728\u4f7f\u75281\uff1a\u591a\u6837\u5f0f\u8bbe\u7f6e\u65f6\u5c06\u914d\u7f6e\u547d\u4ee4\u63a8\u9001\u5230\u8fdc\u7a0b\u5bf9\u7b49\u8def\u7531\u5668\u7684\u529f\u80fd\u3002 \u8fdc\u7a0b\u5bf9\u7b49\u8def\u7531\u5668\u4e5f\u53ef\u4ee5\u64a4\u6d88\u8bc1\u4e66\uff0c\u4ee5\u4fbf\u5728\u53d7\u5230\u5a01\u80c1\u65f6\u5220\u9664\u8bbf\u95ee\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">\u70b9\u5bf9\u70b9\u00a0(\u5171\u4eab\u5bc6\u94a5):<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td width=\"65\"><\/td>\n<td class=\"field-body\" width=\"1595\">\u672c\u5730\u548c\u8fdc\u7a0b\u7f51\u7edc\u4e4b\u95f4\u7684\u8fde\u63a5\u7531\u4e24\u4e2a\u8282\u70b9\u4e0a\u914d\u7f6e\u7684\u5355\u4e2a\u5171\u4eab\u5bc6\u94a5\u4fdd\u62a4\u3002 \u8fd9\u79cd\u9009\u62e9\u66f4\u5bb9\u6613\u8bbe\u7f6e\uff0c\u4f46\u4e0d\u90a3\u4e48\u5b89\u5168\u3002 \u5982\u679c\u5171\u4eab\u5bc6\u94a5\u53d7\u5230\u7834\u574f\uff0c\u5219\u5fc5\u987b\u751f\u6210\u65b0\u5bc6\u94a5\uff0c\u7136\u540e\u4f7f\u7528\u65e7\u5171\u4eab\u5bc6\u94a5\u5c06\u5176\u590d\u5236\u5230\u4efb\u4f55\u8def\u7531\u5668\u6216\u5ba2\u6237\u7aef\u3002 \u5728\u8fd9\u79cd\u6a21\u5f0f\u4e0b\uff0c\u6bcf\u4e2a\u5ba2\u6237\u7aef\u90fd\u9700\u8981\u4e00\u4e2a\u5355\u72ec\u7684\u670d\u52a1\u5668\u5b9e\u4f8b\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">\u8fdc\u7a0b\u8bbf\u95ee (SSL\/TLS):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td width=\"65\"><\/td>\n<td class=\"field-body\" width=\"1595\">\u6b64\u9009\u9879\u662f\u4e00\u4e2a\u5e26\u6709\u6bcf\u7528\u6237X.509\u8bc1\u4e66\u7684\u79fb\u52a8\u5ba2\u6237\u7aef\u8bbe\u7f6e\u3002 \u4e0e\u5bf9\u7b49SSL \/ TLS\u8fde\u63a5\u7c7b\u578b\u4e00\u6837\uff0c\u4f7f\u7528\u6b64\u65b9\u6cd5\u53ef\u63d0\u4f9b\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u4ee5\u53ca\u670d\u52a1\u5668\u5c06\u914d\u7f6e\u547d\u4ee4\u63a8\u9001\u5230\u5ba2\u6237\u7aef\u7684\u80fd\u529b\u3002 \u79fb\u52a8\u5ba2\u6237\u7aef\u4e5f\u53ef\u4ee5\u5728\u5bc6\u94a5\u6cc4\u9732\u7684\u60c5\u51b5\u4e0b\u64a4\u9500\u5bc6\u94a5\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">\u8fdc\u7a0b\u8bbf\u95ee\u00a0(\u7528\u6237\u8ba4\u8bc1):<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td width=\"65\"><\/td>\n<td class=\"field-body\" width=\"1595\">\u5ba2\u6237\u7aef\u8bbf\u95ee\u670d\u52a1\u5668\u4e0d\u4f7f\u7528\u8bc1\u4e66\uff0c\u4f46\u8981\u6c42\u6700\u7ec8\u7528\u6237\u5728\u5efa\u7acb\u8fde\u63a5\u65f6\u63d0\u4f9b\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002 \u9664\u975e\u901a\u8fc7LDAP\u6216RADIUS\u5728\u5916\u90e8\u5904\u7406\u8ba4\u8bc1\uff0c\u5426\u5219\u4e0d\u63a8\u8350\u8fd9\u79cd\u65b9\u5f0f\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">\u8fdc\u7a0b\u8bbf\u95ee\u00a0(SSL\/TLS +\u00a0\u7528\u6237\u8ba4\u8bc1):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td width=\"65\"><\/td>\n<td class=\"field-body\" width=\"1595\">\u63d0\u4f9b\u6700\u5b89\u5168\u7684\u9009\u62e9\u3002 \u5b83\u4e0d\u4ec5\u53ef\u4ee5\u83b7\u5f97\u5176\u4ed6SSL \/ TLS\u9009\u62e9\u7684\u597d\u5904\uff0c\u800c\u4e14\u5728\u8fde\u63a5\u65f6\u8fd8\u9700\u8981\u5ba2\u6237\u7aef\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002 \u5ba2\u6237\u7aef\u8bbf\u95ee\u6743\u9650\u4e0d\u4ec5\u53ef\u4ee5\u901a\u8fc7\u64a4\u9500\u8bc1\u4e66\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u66f4\u6539\u5bc6\u7801\u6765\u5220\u9664\u3002 \u53e6\u5916\uff0c\u5982\u679c\u6ca1\u6709\u7acb\u5373\u53d1\u73b0\u6cc4\u5bc6\u7684\u5bc6\u94a5\uff0c\u5371\u9669\u5c31\u4f1a\u51cf\u5c11\uff0c\u56e0\u4e3a***\u8005\u4e0d\u592a\u53ef\u80fd\u62e5\u6709\u5bc6\u94a5\u548c\u5bc6\u7801\u3002 \u5f53\u4f7f\u7528Open***\u5411\u5bfc\u65f6\uff0c\u8fd9\u662f\u5728\u8be5\u8fc7\u7a0b\u4e2d\u914d\u7f6e\u7684\u6a21\u5f0f\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u534f\u8bae<\/h3>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u9009\u62e9TCP\u6216UDP\u6216\u5176IPv6\u542f\u7528\u5bf9\u5e94\u9879TCP6\u6216UDP6\u3002 OpenVPN\u670d\u52a1\u5668\u5b9e\u4f8b\u5f53\u524d\u53ea\u80fd\u7ed1\u5b9a\u5230IPv4\u6216IPv6\uff0c\u4f46\u4e0d\u80fd\u540c\u65f6\u7ed1\u5b9a\u3002 UDP\u662f\u8fd0\u884cOpenVPN\u7684\u6700\u53ef\u9760\u548c\u6700\u5feb\u7684\u9009\u62e9\uff0c\u5e76\u4e14\u5e94\u5c3d\u53ef\u80fd\u4f7f\u7528\u5b83\u3002 \u5728\u6781\u5c11\u6570\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528TCP\u6765\u89e3\u51b3\u9650\u5236\u95ee\u9898\uff0c\u4f8b\u5982\u901a\u8fc7\u5728TCP\u7aef\u53e3443\u4e0a\u8fd0\u884cOpen***\u670d\u52a1\u5668\u6765\u7ed5\u8fc7\u67d0\u4e9b\u9632\u706b\u5899\u3002<\/p>\n<p style=\"text-align: justify;\">\u96a7\u9053\u4f20\u8f93\u65f6\uff0c\u65e0\u8fde\u63a5\u534f\u8bae\uff08\u5982UDP\uff09\u59cb\u7ec8\u53ef\u53d6\u3002 TCP\u662f\u9762\u5411\u8fde\u63a5\u7684\uff0c\u4fdd\u8bc1\u4f20\u8f93\uff0c\u56e0\u6b64\u4e22\u5931\u7684\u6570\u636e\u5305\u5c06\u88ab\u91cd\u65b0\u4f20\u8f93\u3002 \u8fd9\u542c\u8d77\u6765\u4f3c\u4e4e\u662f\u4e00\u4e2a\u597d\u4e3b\u610f\uff0c\u4f46TCP\u91cd\u4f20\u4f1a\u5bfc\u81f4\u5728\u91cd\u8d1f\u8f7d\u7684Internet\u8fde\u63a5\u6216\u5177\u6709\u4e00\u81f4\u7684\u6570\u636e\u5305\u4e22\u5931\u7684\u60c5\u51b5\u4e0b\u6027\u80fd\u660e\u663e\u964d\u4f4e\u3002<\/p>\n<p style=\"text-align: justify;\">TCP\u6d41\u91cf\u9891\u7e41\u5730\u5b58\u5728\u4e8e\u96a7\u9053\u5185\uff0c\u5e76\u4e14\u4e0d\u5e0c\u671b\u91cd\u65b0\u4f20\u8f93\u5c01\u88c5\u7684VPN\u6d41\u91cf\u7684\u4e22\u5931\u5206\u7ec4\u3002 \u5728TCP\u73af\u7ed5TCP\u7684\u60c5\u51b5\u4e0b\uff0c\u4f8b\u5982\u4f7f\u7528TCP\u4f5c\u4e3a\u4f20\u8f93\u534f\u8bae\u7684VPN\u96a7\u9053\uff0c\u5f53\u6570\u636e\u5305\u4e22\u5931\u65f6\uff0c\u5916\u90e8\u548c\u5185\u90e8\u4e22\u5931\u7684TCP\u6570\u636e\u5305\u90fd\u5c06\u88ab\u91cd\u65b0\u4f20\u8f93\u3002 \u5076\u5c14\u53d1\u751f\u8fd9\u79cd\u60c5\u51b5\u5c06\u4e0d\u660e\u663e\uff0c\u4f46\u7ecf\u5e38\u6027\u4e22\u5931\u5c06\u5bfc\u81f4\u6027\u80fd\u660e\u663e\u4f4e\u4e8eUDP\u3002 \u5982\u679c\u96a7\u9053\u5185\u7684\u6d41\u91cf\u9700\u8981\u53ef\u9760\u7684\u4f20\u8f93\uff0c\u5b83\u5c06\u4f7f\u7528TCP\u7b49\u534f\u8bae\u6765\u786e\u4fdd\u5e76\u5904\u7406\u5176\u81ea\u8eab\u7684\u91cd\u4f20\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u8bbe\u5907\u6a21\u5f0f<\/h3>\n<p style=\"text-align: justify;\">OpenVPN\u53ef\u4ee5\u4ee5\u4e24\u79cd\u8bbe\u5907\u6a21\u5f0f\u4e4b\u4e00\u8fd0\u884c\uff1atun\u6216tap\uff1a<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">tun:<\/th>\n<td class=\"field-body\">\u9002\u7528\u4e8eOSI\u7b2c3\u5c42\uff0c\u5e76\u5728\u70b9\u5bf9\u70b9\u63a5\u53e3\u4e0a\u6267\u884c\u8def\u7531\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">tap:<\/th>\n<td class=\"field-body\">\u53ef\u4ee5\u5728OSI\u7b2c2\u5c42\u5de5\u4f5c\uff0c\u5e76\u4e14\u53ef\u4ee5\u6839\u636e\u9700\u8981\u6267\u884c\u8def\u7531\u548c\u6865\u63a5\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5e76\u975e\u6240\u6709\u7684\u5ba2\u6237\u7aef\u90fd\u652f\u6301tap\u6a21\u5f0f\uff0c\u4f7f\u7528tun\u66f4\u7a33\u5b9a\uff0c\u652f\u6301\u66f4\u5e7f\u6cdb\u3002 \u5177\u4f53\u800c\u8a00\uff0cAndroid\u548ciOS\u4e0a\u7684\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u5927\u591a\u652f\u6301tun\u6a21\u5f0f\u3002 \u4e00\u4e9bAndroid\u548ciOS\u7248\u672c\u7684OpenVPN\u5e94\u7528\u9700\u8981root\u8bbe\u5907\u6216\u8d8a\u72f1\u624d\u80fd\u652f\u6301Tap\uff0c\u4f46\u5bf9\u4e8e\u5927\u591a\u6570\u7528\u6237\u800c\u8a00\uff0c\u8fd9\u6837\u505a\u7684\u540e\u679c\u53ef\u80fd\u6709\u70b9\u8fc7\u9ad8\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u63a5\u53e3<\/h3>\n<p style=\"text-align: justify;\">\u9009\u62e9OpenVPN\u670d\u52a1\u5668\u5b9e\u4f8b\u5c06\u76d1\u542c\u4f20\u5165\u8fde\u63a5\u7684\u63a5\u53e3\uff0cVIP\u6216\u6545\u969c\u8f6c\u79fb\u7ec4\u3002\u8fd9\u4e5f\u63a7\u5236\u6765\u81ea\u670d\u52a1\u5668\u7684\u6d41\u91cf\u5c06\u4ece\u54ea\u4e2a\u63a5\u53e3\u9000\u51fa\u3002<\/p>\n<p style=\"text-align: justify;\">\u63a5\u53e3\u7684\u4e0b\u62c9\u5217\u8868\u4e2d\u5217\u51fa\u4e86\u51e0\u79cd\u7c7b\u578b\u7684\u9009\u9879\uff0c\u5176\u4e2d\u4e00\u4e9b\u5177\u6709\u7279\u6b8a\u884c\u4e3a\u6216\u7528\u4f8b\uff1a<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" width=\"131.66666666666669\">Interfaces:<\/th>\n<td class=\"field-body\" width=\"0.9999999999999858\">OpenVPN\u5c06\u7ed1\u5b9a\u5230\u63a5\u53e3\u5730\u5740\u3002\u5982\u679c\u63a5\u53e3\u662f\u52a8\u6001\u7684\uff0c\u6bd4\u5982DHCP\uff0cOpenVPN\u4f1a\u81ea\u52a8\u7ed1\u5b9a\u5230\u65b0\u5730\u5740\uff0c\u5982\u679c\u5b83\u6539\u53d8\u7684\u8bdd\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" width=\"135.66666666666669\">VIPs:<\/th>\n<td class=\"field-body\" width=\"0.9999999999999858\">OpenVPN\u5c06\u53ea\u7ed1\u5b9a\u5230\u6307\u5b9a\u7684VIP\uff08IP\u522b\u540d\u6216CARP\u7c7b\u578b\uff09<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" width=\"139.66666666666669\">Gateway Groups:<\/th>\n<td class=\"field-body\" width=\"0.9999999999999858\">\u4e3a\u4e86\u4e0e\u6545\u969c\u8f6c\u79fb\u7ec4\u4e00\u8d77\u4f7f\u7528\uff0cOpen***\u5c06\u7ed1\u5b9a\u5230\u7ec4\u4e2d\u5f53\u524d\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\u7684\u63a5\u53e3\u7684\u5730\u5740\u3002\u5982\u679c\u8be5\u63a5\u53e3\u7f51\u5173\u53d8\u5f97\u65e0\u6cd5\u8bbf\u95ee\uff0c\u5219\u5c06\u4f7f\u7528\u4e0b\u4e00\u4e2a\u63a5\u53e3\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" width=\"143.66666666666669\">Localhost:<\/th>\n<td class=\"field-body\" width=\"0.9999999999999858\">\u5bf9\u4e8e\u591aWAN\u90e8\u7f72\u975e\u5e38\u6709\u7528\uff0c\u7ed1\u5b9a\u5230\u672c\u5730\u4e3b\u673a\uff0c\u5229\u7528\u7aef\u53e3\u8f6c\u53d1\u6765\u63a5\u53d7\u6765\u81ea\u591a\u4e2a\u63a5\u53e3\u548c\/\u6216\u7aef\u53e3\u7684\u8fde\u63a5\uff0c\u662f\u63d0\u4f9b\u5197\u4f59OpenVPN\u8fde\u63a5\u7684\u4e00\u79cd\u901a\u7528\u65b9\u5f0f\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" width=\"147.66666666666669\">Any:<\/th>\n<td class=\"field-body\" width=\"0.9999999999999858\">\u7ed1\u5b9a\u5230\u6bcf\u4e2a\u63a5\u53e3\u4e0a\u7684\u6bcf\u4e2a\u5730\u5740\u3002\u867d\u7136\u8bf1\u4eba\uff0c\u4f46\u4e0d\u63a8\u8350\u4f7f\u7528\u6b64\u9009\u9879\u3002\u4e0eUDP\u4e00\u8d77\u4f7f\u7528\u65f6\uff0c\u5bf9Internet\u5ba2\u6237\u7aef\u7684\u56de\u590d\u5c06\u59cb\u7ec8\u9000\u51fa\u9ed8\u8ba4\u7f51\u5173WAN\uff0c\u8fd9\u53ef\u80fd\u4e0d\u5408\u9700\u8981\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u672c\u5730\u7aef\u53e3<\/h3>\n<p style=\"text-align: justify;\">\u672c\u5730\u7aef\u53e3\u662fOpenVPN\u5c06\u7528\u6765\u4fa6\u542c\u7684\u7aef\u53e3\u53f7\u3002\u9632\u706b\u5899\u89c4\u5219\u9700\u8981\u5141\u8bb8\u901a\u4fe1\u5230\u6b64\u7aef\u53e3\uff0c\u5e76\u4e14\u5b83\u5fc5\u987b\u5728\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\u6307\u5b9a\u3002\u6bcf\u4e2a\u670d\u52a1\u5668\u7684\u7aef\u53e3\u5bf9\u4e8e\u6bcf\u4e2a\u63a5\u53e3\u90fd\u5fc5\u987b\u662f\u552f\u4e00\u7684\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u63cf\u8ff0<\/h3>\n<p style=\"text-align: justify;\">\u8f93\u5165\u6b64\u670d\u52a1\u5668\u914d\u7f6e\u7684\u8bf4\u660e\uff0c\u4ee5\u4f9b\u53c2\u8003\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u52a0\u5bc6\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u672c\u90e8\u5206\u63a7\u5236VPN\u6d41\u91cf\u5982\u4f55\u52a0\u5bc6\u548c\u9a8c\u8bc1<\/p>\n<h4 style=\"text-align: justify;\">\u5171\u4eab\u5bc6\u94a5<\/h4>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u5171\u4eab\u5bc6\u94a5\u65f6\uff0c\u8bf7\u9009\u4e2d\u81ea\u52a8\u751f\u6210\u5171\u4eab\u5bc6\u94a5\u6846\u6765\u521b\u5efa\u65b0\u5bc6\u94a5\uff0c\u6216\u8005\u53d6\u6d88\u9009\u4e2d\u8be5\u590d\u9009\u6846\uff0c\u7c98\u8d34\u6765\u81ea\u73b0\u6709OpenVPN\u96a7\u9053\u7684\u5171\u4eab\u5bc6\u94a5\u3002\u00a0\u5f53\u81ea\u52a8\u751f\u6210\u5bc6\u94a5\u65f6\uff0c\u7a0d\u540e\u8fd4\u56de\u5230\u6b64\u901a\u9053\u7684\u7f16\u8f91\u9875\u9762\uff0c\u6765\u83b7\u53d6\u53ef\u4ee5\u590d\u5236\u5230\u8fdc\u7a0b\u8def\u7531\u5668\u7684\u5bc6\u94a5\u3002<\/p>\n<h4 style=\"text-align: justify;\">TLS\u8ba4\u8bc1<\/h4>\n<p style=\"text-align: justify;\">TLS\u6216\u4f20\u8f93\u5c42\u5b89\u5168\u6027\u63d0\u4f9b\u4f1a\u8bdd\u8eab\u4efd\u9a8c\u8bc1\u4ee5\u786e\u4fdd\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7684\u6709\u6548\u6027\u3002 \u5982\u679c\u9700\u8981\uff0c\u8bf7\u52fe\u9009\u6b64\u6846\u4ee5\u542f\u7528TLS\u6570\u636e\u5305\u7684\u9a8c\u8bc1\u3002 \u5982\u679c\u6ca1\u6709\u73b0\u6709\u7684TLS\u5bc6\u94a5\uff0c\u5219\u4fdd\u7559\u81ea\u52a8\u751f\u6210\u5171\u4eabTLS\u8eab\u4efd\u9a8c\u8bc1\u5bc6\u94a5\u3002 \u5982\u679c\u5bc6\u94a5\u5df2\u5b58\u5728\uff0c\u8bf7\u53d6\u6d88\u9009\u4e2d\u8be5\u9009\u9879\uff0c\u7136\u540e\u5c06\u5176\u7c98\u8d34\u5230\u63d0\u4f9b\u7684\u8f93\u5165\u6846\u4e2d\u3002 \u5f53\u81ea\u52a8\u751f\u6210\u5bc6\u94a5\u65f6\uff0c\u7a0d\u540e\u8fd4\u56de\u5230\u6b64\u901a\u9053\u7684\u7f16\u8f91\u5c4f\u5e55\u6765\u83b7\u53d6\u53ef\u4ee5\u88ab\u590d\u5236\u5230\u8fdc\u7a0b\u8def\u7531\u5668\u6216\u5ba2\u6237\u7aef\u7684\u5bc6\u94a5\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5728\u4f7f\u7528SSL \/ TLS\u6a21\u5f0f\u65f6\uff0c\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u60a8\u4e5f\u4f7f\u7528TLS\u8eab\u4efd\u9a8c\u8bc1\u3002\u9664\u4e86\u5e26\u6765\u7684\u989d\u5916\u5b89\u5168\u4f18\u52bf\u5916\uff0cTLS\u5bc6\u94a5\u8fd8\u6709\u52a9\u4e8e\u9632\u6b62\u67d0\u4e9b\u57fa\u4e8eSSL\u7684VPN\uff0c\u5982Heartbleed\u3002<\/p>\n<h4 style=\"text-align: justify;\"><\/h4>\n<h4 style=\"text-align: justify;\">\u5bf9\u7b49\u8bc1\u4e66\u9881\u53d1\u673a\u6784<\/h4>\n<p style=\"text-align: justify;\">\u9009\u62e9\u6b64\u5904\u7528\u4e8e\u4e3a\u6b64OpenVPN\u670d\u52a1\u5668\u5b9e\u4f8b\u7b7e\u7f72\u670d\u52a1\u5668\u8bc1\u4e66\u7684\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u3002 \u5982\u679c\u6ca1\u6709\u51fa\u73b0\u5728\u6b64\u5217\u8868\u4e2d\uff0c\u8bf7\u9996\u5148\u5728\u7cfb\u7edf&gt;\u8bc1\u4e66\u7ba1\u7406\uff0cCAs\u9009\u9879\u5361\u4e0a\u5bfc\u5165\u6216\u751f\u6210\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u5bf9\u7b49\u8bc1\u4e66\u540a\u9500\u5217\u8868<\/h4>\n<p style=\"text-align: justify;\">\u6b64\u53ef\u9009\u5b57\u6bb5\u7528\u4e8e\u6b64\u96a7\u9053\u4f7f\u7528\u7684\u8bc1\u4e66\u540a\u9500\u5217\u8868\uff08CRL\uff09\u3002 CRL\u662f\u4ece\u7ed9\u5b9aCA\u5236\u4f5c\u7684\u8bc1\u4e66\u5217\u8868\uff0c\u8fd9\u4e9b\u8bc1\u4e66\u4e0d\u518d\u88ab\u89c6\u4e3a\u6709\u6548\u3002 \u8fd9\u53ef\u80fd\u662f\u7531\u4e8e\u8bc1\u4e66\u88ab\u76d7\u7528\u6216\u4e22\u5931\u9020\u6210\u7684\u3002\u53ef\u4ee5\u4ece\u7cfb\u7edf&gt;\u8bc1\u4e66\u7ba1\u7406\uff0c\u8bc1\u4e66\u540a\u9500\u9009\u9879\u5361\u521b\u5efa\u6216\u7ba1\u7406CRL\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u670d\u52a1\u5668\u8bc1\u4e66<\/h4>\n<p style=\"text-align: justify;\">\u5fc5\u987b\u4e3a\u6bcf\u4e2aOpenVPN\u670d\u52a1\u5668\u5b9e\u4f8b\u9009\u62e9\u670d\u52a1\u5668\u8bc1\u4e66\u3002\u5982\u679c\u6ca1\u6709\u51fa\u73b0\u5728\u6b64\u5217\u8868\u4e2d\uff0c\u8bf7\u5148\u5728\u7cfb\u7edf&gt;\u8bc1\u4e66\u7ba1\u7406\uff0c\u8bc1\u4e66\u9009\u9879\u5361\u4e0a\u5bfc\u5165\u6216\u751f\u6210\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u3002<\/p>\n<h4 style=\"text-align: justify;\">DH\u53c2\u6570\u957f\u5ea6<\/h4>\n<p style=\"text-align: justify;\">Diffie-Hellman\uff08DH\uff09\u5bc6\u94a5\u4ea4\u6362\u53c2\u6570\u7528\u4e8e\u5efa\u7acb\u5b89\u5168\u901a\u4fe1\u4fe1\u9053\u3002 \u5b83\u4eec\u53ef\u4ee5\u968f\u65f6\u88ab\u91cd\u65b0\u751f\u6210\uff0c\u800c\u4e0d\u662f\u7279\u5b9a\u4e8eOpenVPN\u5b9e\u4f8b\u3002 \u4e5f\u5c31\u662f\u8bf4\uff0c\u5f53\u5bfc\u5165\u73b0\u6709\u7684OpenVPN\u914d\u7f6e\u65f6\uff0c\u8fd9\u4e9b\u53c2\u6570\u4e0d\u9700\u8981\u4ece\u4ee5\u524d\u7684\u670d\u52a1\u5668\u590d\u5236\u3002 \u6240\u9700DH\u53c2\u6570\u7684\u957f\u5ea6\u53ef\u4ee5\u4ece\u4e0b\u62c9\u6846\u4e2d\u9009\u62e9\uff0c1024,2048\u62164096\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u7531\u4e8e\u751f\u6210DH\u5bc6\u94a5\u6d89\u53ca\u5927\u91cf\u8ba1\u7b97\uff0c\u56e0\u6b64\u4f7f\u7528\u6bcf\u4e2a\u5bc6\u94a5\u7c7b\u578b\u7684\u9884\u5148\u751f\u6210\u7684\u96c6\u5408\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bshell\u547d\u4ee4\u624b\u52a8\u751f\u6210\u65b0\u7684DH\u53c2\u6570\uff1a<\/p>\n<pre>#\u00a0\/usr\/bin\/openssl\u00a0dhparam\u00a01024\u00a0&gt;\u00a0\/etc\/dh-parameters.1024\r\n#\u00a0\/usr\/bin\/openssl\u00a0dhparam\u00a02048\u00a0&gt;\u00a0\/etc\/dh-parameters.2048\r\n#\u00a0\/usr\/bin\/openssl\u00a0dhparam\u00a04096\u00a0&gt;\u00a0\/etc\/dh-parameters.4096<\/pre>\n<h4 style=\"text-align: justify;\">\u52a0\u5bc6\u7b97\u6cd5<\/h4>\n<p style=\"text-align: justify;\">\u7528\u4e8e\u6b64\u8fde\u63a5\u7684\u52a0\u5bc6\u7b97\u6cd5\u3002\u9ed8\u8ba4\u503c\u662fAES-128-CBC\uff0c\u8fd9\u5bf9\u4e8e\u5927\u591a\u6570\u60c5\u51b5\u6765\u8bf4\u90fd\u662f\u5f88\u597d\u7684\u9009\u62e9\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u8ba4\u8bc1\u6458\u8981\u7b97\u6cd5<\/h4>\n<p style=\"text-align: justify;\">\u9009\u62e9\u4fe1\u606f\u6458\u8981\u7b97\u6cd5\uff0c\u7528\u4e8e\u5165\u7ad9\u6570\u636e\u5305\u7684HMAC\u9a8c\u8bc1\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u672a\u6307\u5b9a\u6b64\u9009\u9879\u65f6OpenVPN\u9ed8\u8ba4\u4e3aSHA1\uff0c\u56e0\u6b64\u9664\u975e\u53cc\u65b9\u90fd\u8bbe\u7f6e\u4e3a\u5df2\u77e5\u503c\uff0c\u5426\u5219\u8bf7\u5728\u6b64\u5904\u4f7f\u7528SHA1\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u786c\u4ef6\u52a0\u5bc6<\/h4>\n<p style=\"text-align: justify;\">\u5982\u679c\u53ef\u7528\uff0c\u8be5\u9009\u9879\u63a7\u5236OpenVPN\u5c06\u4f7f\u7528\u54ea\u4e2a\u786c\u4ef6\u52a0\u5bc6\u52a0\u901f\u5668\u3002\u5982\u679c\u672a\u6307\u5b9a\uff0cOpenVPN\u5c06\u6839\u636e\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u53ef\u7528\u5185\u5bb9\u81ea\u52a8\u9009\u62e9\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u6b64\u9632\u706b\u5899\u8bbe\u5907\u5177\u6709\u786c\u4ef6\u52a0\u5bc6\u52a0\u901f\u5668\uff0c\u8bf7\u9009\u62e9BSD Cryptodev Engine\uff0c\u6216\u8005\u5982\u679c\u5b83\u663e\u793a\u5728\u5217\u8868\u4e2d\uff0c\u8bf7\u9009\u62e9\u7279\u5b9a\u8bbe\u5907\u3002 \u5927\u591a\u6570\u52a0\u901f\u677f\u4f7f\u7528BSD cryptodev\u5f15\u64ce\uff0c\u6240\u4ee5\u5982\u6709\u7591\u95ee\uff0c\u8bf7\u9009\u62e9\u8be5\u5f15\u64ce\u3002 \u8be5\u8bbe\u7f6e\u5c06\u5141\u8bb8OpenVPN\u5229\u7528\u786c\u4ef6\u52a0\u901f\u3002 \u8fd8\u5fc5\u987b\u9009\u62e9\u52a0\u901f\u5668\u652f\u6301\u7684\u52a0\u5bc6\u7b97\u6cd5\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u8bc1\u4e66\u6df1\u5ea6<\/h4>\n<p style=\"text-align: justify;\">\u6b64\u9009\u9879\u5728\u9a8c\u8bc1\u5931\u8d25\u4e4b\u524d\u9650\u5236\u8bc1\u4e66\u94fe\u7684\u957f\u5ea6\u3002 \u8fd9\u9ed8\u8ba4\u4e3aOne\uff08\u5ba2\u6237\u7aef+\u670d\u52a1\u5668\uff09\uff0c\u56e0\u6b64\u5982\u679c\u4ee5\u67d0\u79cd\u65b9\u5f0f\u751f\u6210\u4e86\u672a\u7ecf\u6388\u6743\u7684\u4e2d\u95f4CA\uff0c\u7531\u6d41\u6c13\u4e2d\u95f4\u4ef6\u7b7e\u540d\u7684\u8bc1\u4e66\u5c06\u65e0\u6cd5\u9a8c\u8bc1\u3002 \u5982\u679c\u9700\u8981\u94fe\u63a5\u4e2d\u95f4\u4f53\uff0c\u5219\u53ef\u4ee5\u63d0\u9ad8\u6b64\u9650\u5236\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u4e25\u683c\u5339\u914dUser-CN<\/h4>\n<p style=\"text-align: justify;\">\u5bf9\u4e8eSSL \/ TLS +User\u8ba4\u8bc1\u670d\u52a1\u5668\uff0c\u542f\u7528\u65f6\uff0c\u6b64\u9009\u9879\u5f3a\u5236\u7528\u6237\u63d0\u4f9b\u7684\u7528\u6237\u540d\u548c\u5176\u7528\u6237\u8bc1\u4e66\u7684\u901a\u7528\u540d\u79f0\u4e4b\u95f4\u5339\u914d\u3002 \u5982\u679c\u4e24\u8005\u4e0d\u5339\u914d\uff0c\u5219\u8fde\u63a5\u88ab\u62d2\u7edd\u3002 \u8fd9\u53ef\u4ee5\u9632\u6b62\u7528\u6237\u5c06\u4ed6\u4eec\u81ea\u5df1\u7684\u51ed\u8bc1\u7528\u4e8e\u5176\u4ed6\u4eba\u7684\u8bc1\u4e66\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u96a7\u9053\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u96a7\u9053\u8bbe\u7f6e\u90e8\u5206\u7ba1\u7406\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e4b\u95f4\u7684\u901a\u4fe1\u6d41\u91cf\uff0c\u5305\u62ec\u8def\u7531\u548c\u538b\u7f29\u3002<\/p>\n<h4 style=\"text-align: justify;\">IPv4\/IPv6\u00a0\u96a7\u9053\u7f51\u7edc<\/h4>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u662f\u8fde\u63a5\u65f6\u5206\u914d\u7ed9\u5ba2\u6237\u7aef\u7684\u5730\u5740\u6c60\u3002 \u670d\u52a1\u5668\u7684OpenVPN\u914d\u7f6e\u7ed3\u675f\u65f6\u5c06\u4f7f\u7528\u8be5\u6c60\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5730\u5740\u4f5c\u4e3a\u8fde\u63a5\u7684\u7ed3\u5c3e\uff0c\u5e76\u6839\u636e\u9700\u8981\u4e3a\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u5206\u914d\u989d\u5916\u7684\u5730\u5740\u3002 \u5373\u4f7f\u8fde\u63a5\u4e24\u4e2a\u73b0\u6709\u7684\u8fdc\u7a0b\u7f51\u7edc\uff0c\u8fd9\u4e9b\u5730\u5740\u4e5f\u53ef\u7528\u4e8e\u96a7\u9053\u7aef\u70b9\u4e4b\u95f4\u7684\u76f4\u63a5\u901a\u4fe1\u3002 \u53ef\u4ee5\u9009\u62e9\u4efb\u4f55\u5b50\u7f51\uff0c\u53ea\u8981\u5b83\u4e0d\u5728\u672c\u5730\u6216\u4efb\u4f55\u8fdc\u7a0b\u7ad9\u70b9\u4f7f\u7528\u3002 \u53ef\u4ee5\u8f93\u5165IPv4\u96a7\u9053\u7f51\u7edc\u548cIPv6\u96a7\u9053\u7f51\u7edc\u4e2d\u7684\u4e00\u4e2a\u6216\u4e24\u4e2a\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u76ee\u524d\uff0cOpenVPN\u56e0\u4e3a\u81ea\u8eab\u7684\u9650\u5236\u4f1a\u963b\u6b62\u53ea\u914d\u7f6eIPv6\u96a7\u9053\u7f51\u7edc\u7684\u8fd0\u884c\u3002\u5b9a\u4e49IPv6\u96a7\u9053\u7f51\u7edc\u65f6\uff0c\u5373\u4f7f\u672a\u4f7f\u7528\uff0c\u4e5f\u5fc5\u987b\u6307\u5b9aIPv4\u96a7\u9053\u7f51\u7edc\u3002<\/p>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u4f7f\u7528IPv4\u7684\u70b9\u5230\u70b9SSL \/ TLS\u670d\u52a1\u5668\uff0cIPv4\u96a7\u9053\u7f51\u7edc\u5927\u5c0f\u53ef\u4ee5\u6539\u53d8\u670d\u52a1\u5668\u7684\u884c\u4e3a\u65b9\u5f0f\u3002 \u5982\u679c\u4e3aIPv4\u96a7\u9053\u7f51\u7edc\u8f93\u5165xxxx \/ 30\uff0c\u5219\u670d\u52a1\u5668\u5c06\u4f7f\u7528\u5bf9\u7b49\u6a21\u5f0f\uff0c\u5c31\u50cf\u5171\u4eab\u5bc6\u94a5\u4e00\u6837\uff1a\u5b83\u53ea\u80fd\u6709\u4e00\u4e2a\u5ba2\u6237\u7aef\uff0c\u4e0d\u9700\u8981\u7279\u5b9a\u4e8e\u5ba2\u6237\u7aef\u7684\u8986\u76d6\u6216iroutes.\uff0c\u4f46\u4e5f\u4e0d\u80fd\u63a8\u9001\u8def\u7531\u6216\u8bbe\u7f6e\u7ed9\u5ba2\u6237\u3002 \u5982\u679c\u4f7f\u7528\u5927\u4e8e\u8be5\u503c\u7684IPv4\u96a7\u9053\u7f51\u7edc\uff08\u4f8b\u5982x.x.x.x \/ 24\uff09\uff0c\u670d\u52a1\u5668\u5c06\u63a5\u53d7\u591a\u4e2a\u5ba2\u6237\u7aef\u5e76\u53ef\u4ee5\u63a8\u9001\u8bbe\u7f6e\uff0c\u4f46\u786e\u5b9e\u9700\u8981iroutes\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u6865\u63a5\u9009\u9879<\/h4>\n<p style=\"text-align: justify;\">\u5728\u4f7f\u7528\u5206\u6d41\u6a21\u5f0f\u65f6\uff0c\u4f1a\u663e\u793a\u5176\u4ed6\u9009\u9879\uff0c\u7528\u4e8e\u63a7\u5236OpenVPN\u4e2d\u7684\u6865\u63a5\u884c\u4e3a\u548c\u5ba2\u6237\u7aef\u5730\u5740\u5206\u914d\u3002\u8fd9\u4e9b\u90fd\u5728\u6865\u63a5OpenVPN\u8fde\u63a5\u4e2d\u4ecb\u7ecd\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u91cd\u5b9a\u5411\u7f51\u5173<\/h4>\n<p style=\"text-align: justify;\">\u5f53\u9009\u62e9\u91cd\u5b9a\u5411\u7f51\u5173\u9009\u9879\u65f6\uff0c\u670d\u52a1\u5668\u4f1a\u5411\u5ba2\u6237\u7aef\u63a8\u9001\u6d88\u606f\uff0c\u6307\u793a\u4ed6\u4eec\u901a\u8fc7VPN\u96a7\u9053\u8f6c\u53d1\u5305\u62ec\u4e92\u8054\u7f51\u6d41\u91cf\u5728\u5185\u7684\u6240\u6709\u6d41\u91cf\u3002 \u8fd9\u53ea\u9002\u7528\u4e8e\u96a7\u9053\u7f51\u7edc\u5927\u4e8e\/ 30\u5b50\u7f51\u7684SSL \/ TLS\u6a21\u5f0f\u3002<\/p>\n<h4 style=\"text-align: justify;\">IPv4\/IPv6\u672c\u5730\u7f51\u7edc<\/h4>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u5b57\u6bb5\u6307\u5b9aVPN\u5ba2\u6237\u7aef\u53ef\u4ee5\u8bbf\u95ee\u54ea\u4e9b\u672c\u5730\u7f51\u7edc\uff08\u5982\u679c\u6709\uff09\u3002 \u8fd9\u4e9b\u7f51\u7edc\u7684\u8def\u7531\u88ab\u63a8\u9001\u5230\u8fde\u63a5\u5230\u8be5\u670d\u52a1\u5668\u7684\u5ba2\u6237\u7aef\u3002 \u5982\u679c\u9700\u8981\u591a\u4e2a\u7279\u5b9a\u7cfb\u5217\u5b50\u7f51\u7684\u8def\u7531\uff0c\u8bf7\u8f93\u5165\u4ee5\u9017\u53f7\u5206\u9694\u7684\u5b50\u7f51\uff0c\u4f8b\u5982\uff0c 192.168.2.0\/24\uff0c192.168.56.0\/24\u3002<\/p>\n<p style=\"text-align: justify;\">\u6b64\u529f\u80fd\u4f9d\u8d56\u4e8e\u5c06\u8def\u7531\u63a8\u9001\u5230\u5ba2\u6237\u7aef\u7684\u80fd\u529b\uff0c\u56e0\u6b64\u5bf9\u4e8eIPv4\uff0c\u53ea\u6709\u5728\u5927\u4e8e\/ 30\u7684\u96a7\u9053\u7f51\u7edc\u6b63\u5728\u4f7f\u7528\u65f6\u624d\u5728SSL \/ TLS\u4e2d\u6709\u6548\u3002 \u5982\u679c\u672a\u8bbe\u7f6e\u7c7b\u4f3c\u7684\u592a\u5c0f\u63a9\u7801\uff0c\u5b83\u5c06\u59cb\u7ec8\u9002\u7528\u4e8eIPv6\u3002<\/p>\n<h4 style=\"text-align: justify;\">IPv4\/IPv6\u8fdc\u7a0b\u7f51\u7edc<\/h4>\n<p style=\"text-align: justify;\">\u6b64\u9009\u9879\u4ec5\u5728\u4f7f\u7528\u70b9\u5bf9\u70b9\u7c7b\u578b\u8fde\u63a5\u65f6\u51fa\u73b0\uff0c\u5e76\u4e14\u4e0d\u9002\u7528\u4e8e\u79fb\u52a8\u5ba2\u6237\u7aef\u3002 \u8def\u7531\u8868\u6761\u76ee\u88ab\u6dfb\u52a0\u5230\u6307\u5b9a\u5b50\u7f51\u7684\u9632\u706b\u5899\u4e2d\uff0c\u8fd9\u4e9b\u5b50\u7f51\u5c06\u6d41\u91cf\u8f6c\u4ea4\u7ed9\u8fd9\u4e2aOpenVPN\u5b9e\u4f8b\u8fdb\u884c\u5904\u7406\u3002 \u5982\u679c\u9700\u8981\u591a\u4e2a\u8fdc\u7a0b\u7f51\u7edc\u5b50\u7f51\uff0c\u8bf7\u8f93\u5165\u7528\u9017\u53f7\u5206\u9694\u7684\u5b50\u7f51\uff0c\u4f8b\u5982\uff0c 192.168.2.0\/24\uff0c192.168.56.0\/24\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u5e76\u53d1\u8fde\u63a5<\/h4>\n<p style=\"text-align: justify;\">\u6307\u5b9a\u5728\u4efb\u4f55\u7ed9\u5b9a\u65f6\u95f4\u53ef\u80fd\u540c\u65f6\u8fde\u63a5\u5230\u6b64OpenVPN\u670d\u52a1\u5668\u7684\u5ba2\u6237\u7aef\u6570\u91cf\u3002\u8fd9\u662f\u6240\u6709\u8fde\u63a5\u5ba2\u6237\u7aef\u7684\u603b\u91cf\u9650\u5236\uff0c\u800c\u4e0d\u662f\u6bcf\u4e2a\u7528\u6237\u7684\u8bbe\u7f6e\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u538b\u7f29<\/h4>\n<p style=\"text-align: justify;\">\u542f\u7528\u538b\u7f29\u65f6\uff0c\u901a\u8fc7Open***\u8fde\u63a5\u7684\u6d41\u91cf\u5c06\u5728\u52a0\u5bc6\u524d\u88ab\u538b\u7f29\u3002 \u8fd9\u53ef\u4ee5\u8282\u7701\u5e26\u5bbd\u4f7f\u7528\uff0c\u4f46\u4f1a\u589e\u52a0\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u7684CPU\u5229\u7528\u7387\u3002 \u901a\u5e38\u8fd9\u79cd\u5f71\u54cd\u662f\u8f83\u5c0f\uff0c\u5728Internet\u4e0a\uff0c\u538b\u7f29\u529f\u80fd\u51e0\u4e4e\u53ef\u4ee5\u7528\u5728\u4efb\u4f55OpenVPN\u4e0a\u3002<\/p>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u9ad8\u901f\u8fde\u63a5\uff0c\u4f8b\u5982\u5728LAN\u4e0a\u4f7f\u7528OpenVPN\uff0c\u9ad8\u901f\u4f4e\u5ef6\u8fdfWAN\u6216\u672c\u5730\u65e0\u7ebf\u7f51\u7edc\uff0c\u8fd9\u53ef\u80fd\u662f\u4e0d\u9700\u8981\uff0c\u56e0\u4e3a\u538b\u7f29\u6240\u589e\u52a0\u7684\u5ef6\u8fdf\u53ef\u80fd\u6bd4\u4f20\u8f93\u6d41\u91cf\u6240\u8282\u7701\u7684\u5ef6\u8fdf\u66f4\u591a\u3002 \u5982\u679c\u51e0\u4e4e\u6240\u6709\u901a\u8fc7OpenVPN\u8fde\u63a5\u7684\u6d41\u91cf\u90fd\u5df2\u88ab\u52a0\u5bc6\uff08\u4f8b\u5982SSH\uff0cSCP\uff0cHTTPS\u7b49\u8bb8\u591a\u5176\u4ed6\u534f\u8bae\uff09\uff0c\u5219\u4e0d\u8981\u542f\u7528LZO\u538b\u7f29\uff0c\u56e0\u4e3a\u52a0\u5bc6\u6570\u636e\u4e0d\u53ef\u538b\u7f29\uff0c\u76f8\u6bd4\u4e0d\u538b\u7f29\uff0cLZO\u538b\u7f29\u4f1a\u5bfc\u81f4\u7a0d\u5fae\u66f4\u591a\u7684\u6570\u636e\u8f6c\u79fb\u3002 \u5982\u679cVPN\u6d41\u91cf\u51e0\u4e4e\u5b8c\u5168\u662f\u5df2\u538b\u7f29\u7684\u6570\u636e\uff0c\u60c5\u51b5\u4e5f\u662f\u5982\u6b64\u3002<\/p>\n<p style=\"text-align: justify;\">\u8fd9\u4e2a\u9009\u62e9\u5668\u63a7\u5236\u8fd9\u4e2aOpenVPN\u5b9e\u4f8b\u7684LZO\u538b\u7f29\u5904\u7406\u3002 \u6709\u56db\u79cd\u4e0d\u540c\u7684\u8bbe\u7f6e\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">No Preference:<\/th>\n<td class=\"field-body\">\u5b8c\u5168\u5ffd\u7565OpenVPN\u914d\u7f6e\u4e2d\u7684\u538b\u7f29\u6307\u4ee4\u3002\u4e0d\u4f1a\u6267\u884c\u538b\u7f29\uff0c\u4f46\u8fd9\u53ef\u80fd\u4f1a\u88ab\u5176\u4ed6\u65b9\u6cd5\u8986\u76d6\uff0c\u5982\u7279\u5b9a\u4e8e\u5ba2\u6237\u7aef\u7684\u8986\u76d6\u6216\u9ad8\u7ea7\u9009\u9879\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Disabled &#8211; No Compression:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u7981\u7528\u914d\u7f6e\u4e2d\u7684\u538b\u7f29<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Enabled with Adaptive Compression:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u901a\u8fc7\u5b9a\u671f\u6d4b\u8bd5\u542f\u7528\u538b\u7f29\uff0c\u4ee5\u786e\u4fdd\u6d41\u91cf\u80fd\u591f\u88ab\u538b\u7f29\u3002 \u5982\u679c\u538b\u7f29\u4e0d\u662f\u6700\u4f73\u7684\uff0c\u5b83\u5c06\u88ab\u7981\u7528\uff0c\u76f4\u5230\u518d\u6b21\u6d4b\u8bd5\u3002 \u8fd9\u4e2a\u9009\u9879\u53ef\u4ee5\u8fbe\u5230\u6700\u4f73\u5e73\u8861\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5728\u6570\u636e\u538b\u7f29\u65f6\u5bf9\u6570\u636e\u8fdb\u884c\u538b\u7f29\uff0c\u4f46\u5728\u6570\u636e\u963b\u788d\u6027\u80fd\u65f6\u4e0d\u538b\u7f29\u6570\u636e\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Enabled without Adaptive Compression:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u542f\u7528\u538b\u7f29\u529f\u80fd\uff0c\u65e0\u9700\u6d4b\u8bd5\u6d41\u91cf\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 style=\"text-align: justify;\">\u670d\u52a1\u7c7b\u578b<\/h4>\n<p style=\"text-align: justify;\">\u542f\u7528\u6b64\u9009\u9879\u65f6\uff0cOpenVPN\u5c06\u8bbe\u7f6e\u96a7\u9053\u6570\u636e\u5305\u7684\u670d\u52a1\u7c7b\u578b\uff08TOS\uff09IP\u6807\u5934\u503c\u4ee5\u5339\u914d\u5c01\u88c5\u7684\u6570\u636e\u5305\u503c\u3002 \u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4e00\u4e9b\u91cd\u8981\u7684\u6d41\u91cf\u901a\u8fc7\u4e2d\u95f4\u8df3\u8dc3\u5728\u96a7\u9053\u4e0a\u5f97\u5230\u66f4\u5feb\u7684\u5904\u7406\uff0c\u8fd9\u662f\u4ee5\u4e00\u4e9b\u5c0f\u7684\u4fe1\u606f\u62ab\u9732\u4e3a\u4ee3\u4ef7\u7684\u3002<\/p>\n<p style=\"text-align: justify;\">\u6700\u5e38\u89c1\u7684\u4f8b\u5b50\u662fVoIP\u6216\u89c6\u9891\u6d41\u91cf\u3002 \u5982\u679cTOS bit\u8bbe\u7f6e\u4e3a\u53cd\u6620\u6d41\u91cf\u7684\u4f18\u5148\u7ea7\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6cbf\u8def\u5f84\u7684QoS\uff0c\u4f46\u662f\u6709\u4eba\u62e6\u622a\u6d41\u91cf\u53ef\u4ee5\u770b\u5230TOS\u4f4d\uff0c\u5e76\u83b7\u5f97\u6709\u5173\u96a7\u9053\u5185\u6d41\u91cf\u5185\u5bb9\u7684\u4e00\u4e9b\u77e5\u8bc6\u3002 \u5bf9\u4e8e\u90a3\u4e9b\u4f9d\u8d56TOS bits\u8fdb\u884cQoS\u7684\u4eba\u6765\u8bf4\uff0c\u5176\u597d\u5904\u53ef\u80fd\u4f1a\u8d85\u8fc7\u4fe1\u606f\u6cc4\u6f0f\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u95f4\u901a\u4fe1<\/h4>\n<p style=\"text-align: justify;\">\u8be5\u9009\u9879\u63a7\u5236\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u662f\u5426\u80fd\u591f\u76f8\u4e92\u901a\u4fe1\u3002 \u8981\u5141\u8bb8\u8fd9\u79cd\u884c\u4e3a\uff0c\u8bf7\u8bbe\u7f6e\u9009\u9879\u3002 \u672a\u9009\u4e2d\u65f6\uff0c\u5ba2\u6237\u7aef\u53ea\u80fd\u5c06\u6d41\u91cf\u53d1\u9001\u5230\u670d\u52a1\u5668\u6216\u670d\u52a1\u5668\u4ee5\u5916\u7684\u76ee\u6807\uff0c\u4f8b\u5982\u8def\u7531\u7f51\u7edc\u6216Internet\u3002<\/p>\n<p style=\"text-align: justify;\">\u901a\u5e38\u5728\u8fdc\u7a0b\u8bbf\u95ee\u7684\u90e8\u7f72\u4e2d\uff0c\u5ba2\u6237\u7aef\u4e0d\u9700\u8981\u4e92\u76f8\u8bbf\u95ee\uff0c\u4f46\u6709\u4e9b\u60c5\u51b5\u4e0b\u53ef\u4ee5\u63d0\u4f9b\u5e2e\u52a9\u3002 \u4e00\u4e2a\u4f8b\u5b50\u662f\u8fdc\u7a0bWeb\u5f00\u53d1\u4eba\u5458\u5728\u4ed6\u4eec\u7684\u672c\u5730\u7cfb\u7edf\u4e0a\u4e00\u8d77\u5de5\u4f5c\u5e76\u8fd0\u884c\u6d4b\u8bd5\u670d\u52a1\u5668\u3002 \u6fc0\u6d3b\u6b64\u9009\u9879\u540e\uff0c\u4ed6\u4eec\u53ef\u4ee5\u5230\u8fbe\u53e6\u4e00\u4e2a\u6d4b\u8bd5\u670d\u52a1\u5668\u8fdb\u884c\u534f\u4f5c\u5f00\u53d1\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u91cd\u590d\u8fde\u63a5<\/h4>\n<p style=\"text-align: justify;\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cOpenVPN\u4f1a\u5c06\u6765\u81ea\u5176\u96a7\u9053\u7f51\u7edc\u7684IP\u5730\u5740\u4e0e\u7ed9\u5b9a\u4f1a\u8bdd\u7684\u7279\u5b9a\u8bc1\u4e66\u6216\u7528\u6237\u540d\u76f8\u5173\u8054\u3002 \u5982\u679c\u518d\u6b21\u8fde\u63a5\u76f8\u540c\u7684\u8bc1\u4e66\uff0c\u5219\u4f1a\u4e3a\u5176\u5206\u914d\u76f8\u540c\u7684IP\u5730\u5740\uff0c\u5e76\u65ad\u5f00\u7b2c\u4e00\u4e2a\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\uff0c\u6216\u8005\u5bfc\u81f4\u4e24\u4e2a\u5ba2\u6237\u7aef\u90fd\u4e0d\u4f1a\u6536\u5230\u6b63\u786e\u6570\u636e\u7684IP\u51b2\u7a81\u3002 \u8fd9\u4e3b\u8981\u662f\u51fa\u4e8e\u5b89\u5168\u539f\u56e0\uff0c\u6240\u4ee5\u540c\u4e00\u8bc1\u4e66\u4e0d\u80fd\u88ab\u591a\u4eba\u540c\u65f6\u4f7f\u7528\u3002 \u6211\u4eec\u5efa\u8bae\u4e3a\u6bcf\u4e2a\u8fde\u63a5\u7528\u6237\u4f7f\u7528\u4e00\u4e2a\u552f\u4e00\u7684\u8bc1\u4e66\u3002 \u5426\u5219\uff0c\u5982\u679c\u5ba2\u6237\u53d7\u5230\u5a01\u80c1\uff0c\u65e0\u6cd5\u5355\u72ec\u64a4\u9500\u8be5\u5ba2\u6237\u7aef\uff0c\u9700\u8981\u91cd\u65b0\u5411\u6240\u6709\u5171\u4eab\u76f8\u540c\u8bc1\u4e66\u7684\u5ba2\u6237\u7aef\u9881\u53d1\u8bc1\u4e66\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u5728\u591a\u4e2a\u4f4d\u7f6e\u4f7f\u7528\u76f8\u540c\u8bc1\u4e66\u7684\u8bbe\u7f6e\u662f\u7edd\u5bf9\u8981\u6c42\u4e14\u65e0\u6cd5\u907f\u514d\uff0c\u8bf7\u9009\u4e2d\u201c\u91cd\u590d\u8fde\u63a5\u201d\u4ee5\u5141\u8bb8\u4f7f\u7528\u76f8\u540c\u8bc1\u4e66\u6216\u7528\u6237\u540d\u7684\u591a\u4e2a\u5ba2\u6237\u7aef\u7684\u975e\u6807\u51c6\u884c\u4e3a\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u7981\u7528 IPv6<\/h4>\n<p style=\"text-align: justify;\">\u52fe\u9009\u540e\uff0cOpenVPN\u670d\u52a1\u5668\u5c06\u7981\u7528IPv6\u6d41\u91cf\u8f6c\u53d1\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u8bbe\u7f6e\u4e0e\u8fde\u63a5\u5230\u6b64\u670d\u52a1\u5668\u7684\u5ba2\u6237\u7aef\u884c\u4e3a\u65b9\u5f0f\u6709\u5173\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u52a8\u6001 IP<\/h4>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u6b64\u6846\u4f1a\u5c06\u6d6e\u52a8\u914d\u7f6e\u9009\u9879\u6dfb\u52a0\u5230OpenVPN\u914d\u7f6e\u4e2d\u3002 \u8fd9\u5141\u8bb8\u5ba2\u6237\u7aef\u5728\u4ed6\u4eec\u7684IP\u5730\u5740\u6539\u53d8\u65f6\u4fdd\u7559\u4ed6\u4eec\u7684\u8fde\u63a5\u3002 \u7c7b\u4f3c\u4e8eIPsec\u4e2dIKEv2\u7684MOBIKE\u3002 \u5bf9\u4e8e\u7ecf\u5e38\u66f4\u6539IP\u7684Internet\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u6216\u901a\u5e38\u5728\u4e0d\u540cInternet\u8fde\u63a5\u4e4b\u95f4\u79fb\u52a8\u7684\u79fb\u52a8\u7528\u6237\uff0c\u8bf7\u9009\u4e2d\u6b64\u9009\u9879\u4ee5\u5b9e\u73b0\u7a33\u5b9a\u7684\u8fde\u63a5\u3002 \u5982\u679c\u5ba2\u6237\u7aefIP\u662f\u9759\u6001\u7684\u6216\u5f88\u5c11\u53d1\u751f\u66f4\u6539\uff0c\u5219\u4e0d\u4f7f\u7528\u6b64\u9009\u9879\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u5730\u5740\u6c60<\/h4>\n<p style=\"text-align: justify;\">\u5f53\u542f\u7528\u6b64\u9009\u9879\u65f6\uff0c\u670d\u52a1\u5668\u5c06\u4e3a\u96a7\u9053\u7f51\u7edc\u9009\u9879\u6307\u5b9a\u7684\u5b50\u7f51\u4e2d\u7684\u5ba2\u6237\u7aef\u5206\u914d\u865a\u62df\u9002\u914d\u5668IP\u5730\u5740\u3002 \u672a\u7ecf\u68c0\u67e5\u7684IP\u5730\u5740\u4e0d\u4f1a\u81ea\u52a8\u5206\u914d\uff0c\u5ba2\u6237\u7aef\u5fc5\u987b\u5728\u5176\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6\u4e2d\u624b\u52a8\u8bbe\u7f6e\u81ea\u5df1\u7684\u9759\u6001IP\u5730\u5740\u3002 \u9664\u5c11\u6570\u60c5\u51b5\u5916\uff0c\u8fd9\u4e2a\u9009\u9879\u4e00\u822c\u90fd\u4f1a\u542f\u7528\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u62d3\u6251<\/h4>\n<p style=\"text-align: justify;\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cpfSense 2.3\u548c\u66f4\u9ad8\u7248\u672c\u7684OpenVPN\u5728\u4f7f\u7528tun\u6a21\u5f0f\u65f6\u4f18\u5148\u8003\u8651\u5b50\u7f51\u7684\u62d3\u6251\u98ce\u683c\u3002 \u6b64\u6837\u5f0f\u4ec5\u4e3a\u6bcf\u4e2a\u5ba2\u6237\u7aef\u5206\u914d\u4e00\u4e2aIP\u5730\u5740\uff0c\u800c\u4e0d\u662f\u6bcf\u4e2a\u5ba2\u6237\u7aef\u7684\u9694\u79bb\u5b50\u7f51\u3002 \u8fd9\u662f\u4f7f\u7528<strong><em>tap<\/em><\/strong>\u8bbe\u5907\u6a21\u5f0f\u65f6\u552f\u4e00\u53ef\u7528\u7684\u6837\u5f0f\u3002<\/p>\n<p style=\"text-align: justify;\">\u5f53\u9009\u62e9\u8f83\u65e7\u7684net30\u62d3\u6251\u65f6\uff0cOpenVPN\u4f1a\u4e3a\u6bcf\u4e2a\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u5206\u914d\u4e00\u4e2a\/ 30 CIDR\u7f51\u7edc\uff08\u56db\u4e2aIP\u5730\u5740\uff0c\u4e24\u4e2a\u53ef\u7528\uff09\u3002 \u8fd9\u79cd\u98ce\u683c\u6709\u66f4\u957f\u7684\u5386\u53f2\uff0c\u4f46\u53ef\u80fd\u4f1a\u8ba9\u7ba1\u7406\u5458\u548c\u7528\u6237\u611f\u5230\u56f0\u60d1\u3002<\/p>\n<p style=\"text-align: justify;\">\u201c\u62d3\u6251\u201d\u9009\u9879\u4ec5\u4ec5\u5728\u5411IPv4\u4e0a\u4f7f\u7528<em><strong>tun<\/strong><\/em>\u6a21\u5f0f\u7684\u5ba2\u6237\u7aef\u63d0\u4f9b\u865a\u62df\u9002\u914d\u5668IP\u5730\u5740\u65f6\u76f8\u5173\u3002 \u4e00\u4e9b\u5ba2\u6237\u751a\u81f3\u53ef\u80fd\u9700\u8981IPv6\uff0c\u4f8b\u5982OpenVPN Connect\uff0c\u4f46\u5b9e\u9645\u4e0aIPv6\u59cb\u7ec8\u4ee5\u5b50\u7f51\u62d3\u6251\u8fd0\u884c\uff0c\u5373\u4f7fIPv4\u4f7f\u7528net30\u4e5f\u662f\u5982\u6b64\u3002 OpenVPN\u7248\u672c2.1.3\u6216\u66f4\u65b0\u7248\u672c\u9700\u8981\u4f7f\u7528\u5b50\u7f51\u62d3\u6251\uff0c\u5e76\u4e14OpenVPN 2.3\u4e5f\u5bf9\u5176\u8fdb\u884c\u4e86\u91cd\u5927\u4fee\u590d\uff0c\u56e0\u6b64\u4f7f\u7528\u5f53\u524d\u7684OpenVPN\u5ba2\u6237\u7aef\u7248\u672c\u975e\u5e38\u91cd\u8981\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f<\/p>\n<p style=\"text-align: justify;\">\u7531\u4e8eOpenVPN\u9879\u76ee\u5df2\u5ba3\u5e03net30\u98ce\u683c\u5df2\u8fc7\u65f6\uff0cpfSense\u4e2d\u7684\u9ed8\u8ba4\u8bbe\u7f6e\u5df2\u66f4\u6539\u4e3a\u5b50\u7f51\uff0c\u8868\u660e\u5b83\u5c06\u5728\u672a\u6765\u7248\u672c\u4e2d\u5220\u9664\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f46\u662f\uff0c\u8bf7\u6ce8\u610f\uff0c\u5982\u679c\u4f7f\u7528\u6b64\u9009\u9879\uff0c\u67d0\u4e9b\u975e\u5e38\u8001\u7684\u5ba2\u6237\u7aef\u53ef\u80fd\u4f1a\u4e2d\u65ad\uff0c\u4f8b\u5982\u8f83\u65e9\u7248\u672c\u7684OpenVPN\uff08\u572810\u5e74\u524d\u53d1\u5e032.0.9\u4e4b\u524d\uff09\uff0c\u5e26\u6709\u8f83\u65e7tun \/ tap\u9a71\u52a8\u7a0b\u5e8f\u7684Windows\u7248\u672c\u6216\u5ba2\u6237\u7aef\uff0c\u5982 Yealink\u7535\u8bdd\u3002 \u4f7f\u7528\u5b50\u7f51\u62d3\u6251\u65f6\uff0c\u52a1\u5fc5\u786e\u4fdd\u5ba2\u6237\u7aef\u548c\u5173\u8054\u7684\u9a71\u52a8\u7a0b\u5e8f\u662f\u6700\u65b0\u7684\u3002<\/p>\n<h4 style=\"text-align: justify;\">DNS\u00a0\u9ed8\u8ba4\u57df<\/h4>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u540e\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u5b57\u6bb5\uff0c\u6307\u5b9a\u8981\u5206\u914d\u7ed9\u5ba2\u6237\u7aef\u7684DNS\u57df\u540d\u3002 \u8981\u786e\u4fdd\u540d\u79f0\u89e3\u6790\u9002\u7528\u4e8e\u4f7f\u7528DNS\u540d\u79f0\u89e3\u6790\u7684\u672c\u5730\u7f51\u7edc\u4e0a\u7684\u4e3b\u673a\uff0c\u8bf7\u5728\u6b64\u5904\u6307\u5b9a\u5185\u90e8DNS\u57df\u540d\u3002 \u5bf9\u4e8eMicrosoft Active Directory\u73af\u5883\uff0c\u8fd9\u901a\u5e38\u662fActive Directory\u57df\u540d\u3002<\/p>\n<h4 style=\"text-align: justify;\">DNS\u00a0\u670d\u52a1\u5668<\/h4>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u540e\uff0c\u6700\u591a\u53ef\u4ee5\u8f93\u5165\u56db\u4e2aDNS\u670d\u52a1\u5668\u4f9b\u5ba2\u6237\u7aef\u8fde\u63a5\u5230VPN\u65f6\u4f7f\u7528\u3002 \u5bf9\u4e8eMicrosoft Active Directory\u73af\u5883\uff0c\u8fd9\u901a\u5e38\u662fActive Directory\u57df\u63a7\u5236\u5668\u6216DNS\u670d\u52a1\u5668\uff0c\u7528\u4e8e\u901a\u8fc7OpenVPN\u8fde\u63a5\u65f6\u8fdb\u884c\u6b63\u786e\u7684\u540d\u79f0\u89e3\u6790\u548c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u5f3a\u5236DNS\u7f13\u5b58\u66f4\u65b0<\/h4>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u65f6\uff0c\u6b64\u9009\u9879\u5c06\u5411Windows\u5ba2\u6237\u7aef\u63a8\u9001\u4e00\u7ec4\u547d\u4ee4\uff0c\u4ee5\u4fbf\u5237\u65b0\u5176DNS\u5e76\u91cd\u65b0\u542f\u52a8\u7f13\u5b58\uff0c\u4ee5\u6539\u8fdb\u5ba2\u6237\u7aef\u4eceVPN\u5904\u7406\u66f4\u65b0\u540e\u7684DNS\u670d\u52a1\u5668\u3002<\/p>\n<h4 style=\"text-align: justify;\">NTP\u670d\u52a1\u5668<\/h4>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u65f6\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u6216\u4e24\u4e2aNTP\u670d\u52a1\u5668\u6765\u540c\u6b65\u5ba2\u6237\u7aef\u4e0a\u7684\u65f6\u949f\u3002\u5b83\u53ef\u4ee5\u662fIP\u5730\u5740\u6216FQDN\u3002<\/p>\n<h4 style=\"text-align: justify;\">NetBIOS\u00a0\u9009\u9879<\/h4>\n<p style=\"text-align: justify;\">\u5f53\u9009\u4e2d\u201c\u542f\u7528TCP \/ IP\u4e0a\u7684NetBIOS\u201d\u65f6\uff0c\u5c06\u51fa\u73b0\u5176\u4ed6\u51e0\u4e2aNetBIOS\u548cWINS\u76f8\u5173\u9009\u9879\u3002\u5982\u679c\u8be5\u6846\u672a\u9009\u4e2d\uff0c\u8fd9\u4e9b\u8bbe\u7f6e\u5c06\u88ab\u7981\u7528\u3002<\/p>\n<h5 style=\"text-align: justify;\">\u8282\u70b9\u7c7b\u578b<\/h5>\n<p style=\"text-align: justify;\">NetBIOS\u8282\u70b9\u7c7b\u578b\u63a7\u5236Windows\u7cfb\u7edf\u5728\u89e3\u6790NetBIOS\u540d\u79f0\u65f6\u7684\u529f\u80fd\u3002\u901a\u5e38\u6ca1\u6709\u529e\u6cd5\u63a5\u53d7Windows\u7684\u9ed8\u8ba4\u8bbe\u7f6e\u3002<\/p>\n<p style=\"text-align: justify;\">\u53ef\u7528\u7684\u9009\u9879\u5305\u62ec:<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">b-node:<\/th>\n<td class=\"field-body\">\u4f7f\u7528\u5e7f\u64ad\u8fdb\u884cNetBIOS\u540d\u79f0\u89e3\u6790\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">p-node:<\/th>\n<td class=\"field-body\">\u70b9\u5bf9\u70b9\u540d\u79f0\u67e5\u8be2\u5230WINS\u670d\u52a1\u5668\u3002 WINS\u4e00\u76f4\u88ab\u5f03\u7528\uff0c\u6240\u4ee5\u8fd9\u4e2a\u9009\u9879\u5728\u73b0\u4ee3Windows\u7f51\u7edc\u4e2d\u6ca1\u6709\u7528\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">m-node:<\/th>\n<td class=\"field-body\">\u5e7f\u64ad\u7136\u540e\u67e5\u8be2\u540d\u79f0\u670d\u52a1\u5668\u3002\u7c7b\u4f3c\u4e8eB\u8282\u70b9\uff0c\u4f46\u4f1a\u56de\u9000\u5230DNS\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">h-node:<\/th>\n<td class=\"field-body\">\u5148\u67e5\u8be2\u540d\u79f0\u670d\u52a1\u5668\uff0c\u7136\u540e\u4f7f\u7528\u5e7f\u64ad\u3002 \u6b64\u9009\u9879\u6700\u6709\u53ef\u80fd\u5728\u5177\u6709\u9002\u5f53\u529f\u80fdDNS\u7684\u5f53\u524d\u7f51\u7edc\u4e2d\u53d6\u5f97\u6210\u529f\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5 style=\"text-align: justify;\">\u8303\u56f4ID<\/h5>\n<p style=\"text-align: justify;\">NetBIOS\u8303\u56f4ID\u4e3aTCP \/ IP\u4e0a\u7684NetBIOS\u63d0\u4f9b\u6269\u5c55\u7684\u547d\u540d\u670d\u52a1\u3002 NetBIOS\u4f5c\u7528\u57dfID\u5c06\u5355\u4e2a\u7f51\u7edc\u4e0a\u7684NetBIOS\u901a\u4fe1\u9694\u79bb\u4e3a\u4ec5\u5177\u6709\u76f8\u540cNetBIOS\u4f5c\u7528\u57dfID\u7684\u8282\u70b9\u3002<\/p>\n<h5 style=\"text-align: justify;\">WINS\u670d\u52a1\u5668<\/h5>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u6b64\u6846\u53ef\u4ee5\u5b9a\u4e49\u4e24\u53f0WINS\u670d\u52a1\u5668\uff0c\u4e3a\u8bbf\u95ee\u548c\u6d4f\u89c8VPN\u4e0a\u7684NetBIOS\u8d44\u6e90\u7684\u5ba2\u6237\u7aef\u63d0\u4f9b\u540d\u79f0\u89e3\u6790\u3002 WINS\u5728\u5f88\u5927\u7a0b\u5ea6\u4e0a\u5df2\u88ab\u5f03\u7528\u5e76\u4e14\u4e0d\u518d\u4f7f\u7528\uff0c\u6240\u4ee5\u5728\u5927\u591a\u6570\u73b0\u4ee3\u73af\u5883\u4e2d\u5df2\u7ecf\u4e0d\u592a\u53ef\u80fd\u9700\u8981\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u542f\u7528\u81ea\u5b9a\u4e49\u7aef\u53e3<\/h4>\n<p style=\"text-align: justify;\">\u52fe\u9009\u540e\uff0c\u53ef\u4ee5\u6307\u5b9a\u4e00\u4e2a\u975e\u9ed8\u8ba4\u7ba1\u7406\u7aef\u53e3\u7528\u4e8eOpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\u7684OpenVPNManage\u529f\u80fd\u3002 \u5982\u679c\u5728\u4f7f\u7528\u8be5\u63a5\u53e3\u7684\u5355\u4e2a\u5ba2\u6237\u7aef\u4e0a\u4f7f\u7528\u591a\u4e2a\u8fde\u63a5\u914d\u7f6e\u6587\u4ef6\uff0c\u5219\u6bcf\u4e2a\u914d\u7f6e\u6587\u4ef6\u5fc5\u987b\u4f7f\u7528\u552f\u4e00\u7684\u7ba1\u7406\u7aef\u53e3<\/p>\n<h3 style=\"text-align: justify;\">\u81ea\u5b9a\u4e49\u9009\u9879<\/h3>\n<p style=\"text-align: justify;\">\u867d\u7136pfSense\u7f51\u9875\u754c\u9762\u652f\u6301\u6700\u5e38\u7528\u7684\u9009\u9879\uff0c\u4f46OpenVPN\u529f\u80fd\u975e\u5e38\u5f3a\u5927\u4e14\u7075\u6d3b\uff0c\u5076\u5c14\u53ef\u80fd\u9700\u8981Web\u754c\u9762\u4e2d\u4e0d\u53ef\u7528\u7684\u9009\u9879\u3002 \u8fd9\u6837\u7684\u81ea\u5b9a\u4e49\u9009\u9879\u53ef\u4ee5\u5728\u8be5\u8f93\u5165\u6846\u4e2d\u6dfb\u52a0\u3002 \u8fd9\u4e9b\u9009\u9879\u5728\u81ea\u5b9a\u4e49\u914d\u7f6e\u9009\u9879\u4e2d\u8fdb\u4e00\u6b65\u63cf\u8ff0\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u4fe1\u606f\u7ea7\u522b<\/h3>\n<p style=\"text-align: justify;\">\u914d\u7f6e\u6b64\u5b9e\u4f8b\u7684OpenVPN\u65e5\u5fd7\u4e2d\u663e\u793a\u7684\u8be6\u7ec6\u4fe1\u606f\u91cf\uff0c\u8fd9\u5bf9\u89e3\u51b3\u95ee\u9898\u5f88\u6709\u7528\u3002\u6570\u5b57\u8d8a\u5927\uff0c\u65e5\u5fd7\u4e2d\u7684\u7ec6\u8282\u6570\u636e\u8d8a\u5927\u3002\u5982\u679c\u6ca1\u6709\u7279\u522b\u8981\u6c42\uff0c\u9ed8\u8ba4\u9009\u62e9\u662f\u6700\u4f73\u7684\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5f53\u8bbe\u7f6e\u4e3a\u66f4\u9ad8\u7ea7\u522b\u65f6\uff0cOpenVPN\u72b6\u6001\u9875\u9762\u548c\u4eea\u8868\u677f\u5c0f\u90e8\u4ef6\u5c06\u5728\u4e0e\u7ba1\u7406\u8fdb\u7a0b\u4ea4\u4e92\u65f6\u5f15\u53d1\u989d\u5916\u7684\u65e5\u5fd7\u8bb0\u5f55\uff0c\u4ee5\u8f6e\u8be2\u6765\u81eaOpenVPN\u5b88\u62a4\u8fdb\u7a0b\u7684\u4fe1\u606f\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u914d\u7f6e\u9009\u9879<\/h2>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u9009\u9879\u53ef\u7528\u4e8eOpenVPN\u5ba2\u6237\u7aef\u5b9e\u4f8b\u7684\u4e00\u79cd\u6216\u591a\u79cd\u6a21\u5f0f\uff0c\u901a\u8fc7VPN&gt; OpenVPN\uff0c\u5ba2\u6237\u7aef\u9009\u9879\u5361\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<p style=\"text-align: justify;\">\u5176\u4e2d\u8bb8\u591a\u9009\u9879\u4e0e\u4e0a\u8ff0\u670d\u52a1\u5668\u9009\u9879\u76f8\u540c\uff0c\u56e0\u6b64\u53ea\u4f1a\u6ce8\u610f\u5230\u4e0d\u540c\u4e4b\u5904\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u670d\u52a1\u6a21\u5f0f<\/h3>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u5ba2\u6237\u7aef\u5b9e\u4f8b\uff0c\u670d\u52a1\u5668\u6a21\u5f0f\u9009\u9879\u4ec5\u9650\u70b9\u5bf9\u70b9(SSL\/TLS)\u00a0\u548c\u70b9\u5bf9\u70b9(\u5171\u4eab\u5bc6\u94a5)\uff0c\u4e0e\u5177\u6709\u76f8\u540c\u540d\u79f0\u548c\u7c7b\u578b\u7684\u670d\u52a1\u5668\u9009\u9879\u914d\u5bf9\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u63a5\u53e3<\/h3>\n<p style=\"text-align: justify;\">\u8be5\u9009\u9879\u9009\u62e9OpenVPN\u5ba2\u6237\u7aef\u5b9e\u4f8b\u5c06\u7528\u4e8e\u4f20\u51fa\u8fde\u63a5\u7684\u63a5\u53e3\uff0cVIP\u6216\u6545\u969c\u8f6c\u79fb\u7ec4\u3002<\/p>\n<p style=\"text-align: justify;\">\u5f53\u5728OpenVPN\u5ba2\u6237\u7aef\u5b9e\u4f8b\u4e0a\u4e3a\u63a5\u53e3\u9009\u62e9CARP\u7c7b\u578b\u7684VIP\u65f6\uff0c\u5f53CARP VIP\u5904\u4e8e\u5907\u4efd\u72b6\u6001\u65f6\uff0cOpenVPN\u5b9e\u4f8b\u5c06\u505c\u6b62\u3002 \u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u9632\u6b62\u8f85\u52a9HA\u8282\u70b9\u7ef4\u62a4\u65e0\u6548\u8def\u7531\u6216\u5c1d\u8bd5\u8fdb\u884c\u53ef\u80fd\u5e72\u6270\u4e3bHA\u8282\u70b9\u4e0a\u6d3b\u52a8\u8fde\u63a5\u7684\u51fa\u7ad9\u8fde\u63a5\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u672c\u5730\u7aef\u53e3<\/h3>\n<p style=\"text-align: justify;\">\u5bf9\u4e8e\u5ba2\u6237\u6765\u8bf4\uff0c\u672c\u5730\u7aef\u53e3\u5728\u51e0\u4e4e\u6240\u6709\u60c5\u51b5\u4e0b\u90fd\u662f\u7a7a\u767d\u7684\uff0c\u4ee5\u4fbf\u4f7f\u7528\u968f\u673a\u7684\u672c\u5730\u7aef\u53e3\u3002 \u8fd9\u66f4\u5b89\u5168\uff0c\u4f46\u6709\u4e9b\u8981\u6c42\u53ef\u80fd\u9700\u8981\u7279\u5b9a\u7684\u6e90\u7aef\u53e3\u3002 \u5982\u679c\u9700\u8981\u7279\u5b9a\u7684\u6e90\u7aef\u53e3\uff0c\u6839\u636e\u9700\u8981\u586b\u5199\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u670d\u52a1\u5668\u4e3b\u673a\u6216\u5730\u5740<\/h3>\n<p style=\"text-align: justify;\">\u670d\u52a1\u5668\u7684IP\u5730\u5740\u6216\u5b8c\u5168\u9650\u5b9a\u7684\u57df\u540d\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u670d\u52a1\u5668\u7aef\u53e3<\/h3>\n<p style=\"text-align: justify;\">\u670d\u52a1\u5668\u6b63\u5728\u4fa6\u542c\u7684\u7aef\u53e3\uff0c\u901a\u5e38\u4e3a\u00a01194<\/p>\n<h3 style=\"text-align: justify;\">\u4ee3\u7406\u8bbe\u7f6e<\/h3>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">\u4ee3\u7406\u4e3b\u673a\u6216\u5730\u5740:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u6b64\u5ba2\u6237\u7aef\u5fc5\u987b\u8fde\u63a5\u7684\u4ee3\u7406\u670d\u52a1\u5668\u7684IP\u5730\u5740\u6216\u5b8c\u5168\u9650\u5b9a\u7684\u57df\u540d\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">\u4ee3\u7406\u8ba4\u8bc1\u989d\u5916\u9009\u9879:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u989d\u5916\u7684\u9a8c\u8bc1\u9009\u9879\u3002\u8bbe\u7f6e\u4e3abasic\u6216ntlm\u65f6\uff0c\u5c06\u663e\u793a\u7528\u6237\u540d\u548c\u5bc6\u7801\u5b57\u6bb5\uff0c\u4ee5\u4fbf\u53ef\u4ee5\u914d\u7f6e\u4ee3\u7406\u8eab\u4efd\u9a8c\u8bc1\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u670d\u52a1\u5668\u4e3b\u673a\u540d\u89e3\u6790<\/h3>\n<p style=\"text-align: justify;\">\u5f53\u9009\u4e2d\u65e0\u9650\u89e3\u6790\u670d\u52a1\u5668\u65f6\uff0c\u670d\u52a1\u5668\u4e3b\u673a\u540d\u5c06\u5728\u6bcf\u6b21\u8fde\u63a5\u5c1d\u8bd5\u65f6\u89e3\u6790\u3002 \u5982\u679c\u672a\u9009\u4e2d\uff0cOpenVPN\u53ea\u4f1a\u5c1d\u8bd5\u89e3\u51b3\u4e00\u6b21\u3002 \u5f53\u4f7f\u7528\u4e3b\u673a\u540d\u4f5c\u4e3a\u8fdc\u7a0b\u670d\u52a1\u5668\u5730\u5740\u65f6\uff0c\u5e94\u8be5\u9009\u4e2d\u8be5\u9009\u9879\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u7528\u6237\u8ba4\u8bc1\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u5728\u4f7f\u7528\u70b9\u5bf9\u70b9SSL \/ TLS\u6a21\u5f0f\u65f6\uff0c\u6839\u636e\u670d\u52a1\u5668\u4e0a\u914d\u7f6e\u7684\u8981\u6c42\uff0c\u53ef\u4ee5\u6307\u5b9a\u7528\u6237\u540d\u548c\u5bc6\u7801\u4f5c\u4e3a\u7528\u6237\u8bc1\u4e66\u7684\u8865\u5145\u6216\u66ff\u4ee3\uff0c\u800c\u4e0d\u662f\u7528\u6237\u8bc1\u4e66\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u52a0\u5bc6\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u9664\u4e86\u65b0\u5ba2\u6237\u7aef\u8bc1\u4e66\u9009\u9879\u5916\uff0c\u672c\u8282\u4e2d\u7684\u8bbe\u7f6e\u4e0e\u670d\u52a1\u5668\u7aef\u7684\u76f8\u5e94\u9009\u9879\u76f8\u540c\uff0c\u5176\u4e2d\u8bc1\u4e66\u88ab\u9009\u62e9\u4f9b\u6b64\u5ba2\u6237\u7aef\u4f7f\u7528\u3002 \u6b64\u8bc1\u4e66\uff08\u4ee5\u53ca\u76f8\u5173\u7684\u5bc6\u94a5\u548cCA\u8bc1\u4e66\uff09\u5fc5\u987b\u5148\u5bfc\u5165\u5230\u6b64\u9632\u706b\u5899\uff0c\u7136\u540e\u624d\u80fd\u9009\u62e9\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u5171\u4eab\u5bc6\u94a5 \/ TLS\u8ba4\u8bc1<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u9009\u9879\u7684\u4f5c\u7528\u4e0e\u670d\u52a1\u5668\u7aef\u76f8\u4f3c\uff0c\u4f46\u8bf7\u6ce8\u610f\uff0c\u670d\u52a1\u5668\u7684\u5bc6\u94a5\u5fc5\u987b\u5728\u6b64\u590d\u5236\uff0c\u800c\u4e0d\u662f\u5728\u5ba2\u6237\u7aef\u4e0a\u751f\u6210\u65b0\u7684\u5bc6\u94a5\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u9650\u5236\u8f93\u51fa\u5e26\u5bbd<\/h3>\n<p style=\"text-align: justify;\">\u6b64\u6846\u4e2d\u7684\u503c\uff08\u4ee5\u6bcf\u79d2\u5b57\u8282\u6570\u6307\u5b9a\uff09\u7528\u4e8e\u9650\u5236\u4f20\u51faVPN\u4f20\u8f93\u7684\u5e26\u5bbd\u3002\u7559\u7a7a\u65f6\uff0c\u6ca1\u6709\u9650\u5236\u3002\u8be5\u503c\u5fc5\u987b\u4ecb\u4e8e100\u548c100000000\u4e4b\u95f4\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u4e0d\u63a8\u9001\u8def\u7531<\/h3>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u65f6\uff0c\u5ba2\u6237\u7aef\u5c06\u5ffd\u7565\u4ece\u670d\u52a1\u5668\u63a8\u9001\u7684\u8def\u7531\u3002\u5f53\u670d\u52a1\u5668\u5728\u5ba2\u6237\u7aef\u4e0d\u9700\u8981\u65f6\u63a8\u9001\u9ed8\u8ba4\u7f51\u5173\u91cd\u5b9a\u5411\u7684\u60c5\u51b5\u4e0b\u975e\u5e38\u6709\u7528\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u4e0d\u6dfb\u52a0\/\u5220\u9664\u8def\u7531<\/h3>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u540e\uff0cOpenVPN\u5c06\u4e0d\u7ba1\u7406\u8be5VPN\u7684\u8def\u7531\u8868\u6761\u76ee\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4ed6\u4eec\u5fc5\u987b\u624b\u52a8\u7ba1\u7406\u3002\u901a\u5e38\u6dfb\u52a0\u7684\u8def\u7531\u5c06\u4f7f\u7528\u73af\u5883\u53d8\u91cf\u4f20\u9012\u7ed9\u00a0&#8211;route-up\u811a\u672c\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u4f7f\u7528OpenVPN\u670d\u52a1\u5668\u5411\u5bfc\u8bbe\u7f6e\u8fdc\u7a0b\u8bbf\u95ee<\/h1>\n<p style=\"text-align: justify;\">OpenVPN\u5411\u5bfc\u662f\u4e3a\u79fb\u52a8\u5ba2\u6237\u7aef\u8bbe\u7f6e\u8fdc\u7a0b\u8bbf\u95eeVPN\u7684\u4e00\u79cd\u4fbf\u6377\u65b9\u5f0f\u3002\u4ee5\u4e0b\u662fOpenVPN\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\u914d\u7f6e\u6240\u6709\u5fc5\u9700\u7684\u5148\u51b3\u6761\u4ef6\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u4e00\u4e2a\u8ba4\u8bc1\u6765\u6e90\uff08\u672c\u5730\uff0cRADIUS\u670d\u52a1\u5668\u6216LDAP\u670d\u52a1\u5668\uff09<\/li>\n<li>\u4e00\u4e2a\u8bc1\u4e66\u9881\u53d1\u673a\u6784<\/li>\n<li>\u4e00\u4e2a\u670d\u52a1\u5668\u8bc1\u4e66<\/li>\n<li>\u4e00\u4e2aOpenVPN\u670d\u52a1\u5668\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5728\u8be5\u5411\u5bfc\u7684\u6700\u540e\uff0c\u4e00\u4e2a\u529f\u80fd\u5b8c\u5907\u7684\u670d\u52a1\u5668\u5c06\u88ab\u914d\u7f6e\u5e76\u51c6\u5907\u597d\u4f9b\u7528\u6237\u4f7f\u7528\u3002\u4e0b\u9762\u7684\u793a\u4f8b\u8bbe\u7f6e\u5c06\u7528\u4e8e\u5e2e\u52a9\u89e3\u91ca\u5411\u5bfc\u4e2d\u53ef\u7528\u7684\u9009\u9879\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u542f\u52a8\u5411\u5bfc\u4e4b\u524d<\/h2>\n<p style=\"text-align: justify;\">\u5728\u542f\u52a8\u5411\u5bfc\u6765\u914d\u7f6e\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\u4e4b\u524d\uff0c\u6709\u4e00\u4e9b\u7ec6\u8282\u5fc5\u987b\u9996\u5148\u8003\u8651\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u786e\u5b9a\u4e00\u4e2aIP\u5bfb\u5740\u65b9\u6848<\/h3>\n<p style=\"text-align: justify;\">\u5fc5\u987b\u9009\u62e9\u4e00\u4e2aIP\u5b50\u7f51\u4f9bOpenVPN\u5ba2\u6237\u7aef\u4f7f\u7528\u3002 \u8fd9\u662f\u5728\u670d\u52a1\u5668\u914d\u7f6e\u4e2d\u586b\u5165\u201c\u96a7\u9053\u7f51\u7edc\u201d\u4e0b\u7684\u5b50\u7f51\u3002 \u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u5c06\u5728\u8be5\u5b50\u7f51\u5185\u63a5\u6536\u5230\u4e00\u4e2aIP\u5730\u5740\uff0c\u5e76\u4e14\u8fde\u63a5\u7684\u670d\u52a1\u5668\u7aef\u8fd8\u4f1a\u63a5\u6536\u5230\u5ba2\u6237\u7aef\u7528\u4f5c\u670d\u52a1\u5668\u7aef\u7f51\u7edc\u7f51\u5173\u7684IP\u5730\u5740\u3002<\/p>\n<p style=\"text-align: justify;\">\u548c\u5f80\u5e38\u4e00\u6837\uff0c\u5f53\u4e3a\u5355\u4e2a\u4f4d\u7f6e\u9009\u62e9\u5185\u90e8\u5b50\u7f51\u65f6\uff0c\u7406\u60f3\u60c5\u51b5\u4e0b\uff0c\u9009\u5b9a\u7684\u5b50\u7f51\u5c06\u88ab\u8bbe\u8ba1\u4e3a\u53ef\u4ee5\u4e0e\u5176\u4ed6\u5185\u90e8\u5b50\u7f51\u4e00\u8d77\u8fdb\u884cCIDR\u6c47\u603b\u3002\u00a0\u4e0b\u9762\u63cf\u8ff0\u7684\u793a\u4f8b\u7f51\u7edc\u5bf9\u4e8eLAN\u4f7f\u752810.3.0.0\/24\uff0c\u5bf9\u4e8eOpenVPN\u4f7f\u752810.3.201.0\/24\u3002 \u8fd9\u4e24\u4e2a\u7f51\u7edc\u53ef\u4ee5\u752810.3.0.0\/16\u8fdb\u884c\u6c47\u603b\uff0c\u4f7f\u8def\u7531\u66f4\u5bb9\u6613\u7ba1\u7406\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u7f51\u7edc\u793a\u4f8b<\/h3>\n<p style=\"text-align: justify;\">\u4e0b\u56fe\u663e\u793a\u672c\u4f8b\u4e2d\u914d\u7f6e\u7684\u7f51\u7edc\u3002<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1877\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/diagrams-openvpn-server.png\" alt=\"\" width=\"917\" height=\"292\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/diagrams-openvpn-server.png 917w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/diagrams-openvpn-server-300x96.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/diagrams-openvpn-server-768x245.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/diagrams-openvpn-server-500x159.png 500w\" sizes=\"auto, (max-width: 917px) 100vw, 917px\" \/><\/p>\n<h2 style=\"text-align: justify;\">\u9009\u62e9\u8ba4\u8bc1\u7c7b\u578b<\/h2>\n<p style=\"text-align: justify;\">\u5728OpenVPN\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\u5411\u5bfc\u7684\u7b2c\u4e00\u4e2a\u9875\u9762\u4e0a\uff0c\u9009\u62e9\u7528\u4e8e\u7528\u6237\u8ba4\u8bc1\u7684\u65b9\u6cd5\u3002\u8eab\u4efd\u9a8c\u8bc1\u540e\u7aef\u7c7b\u578b\u53ef\u7528\u7684\u9009\u9879\u662f\u672c\u5730\u7528\u6237\u8bbf\u95ee\uff0cLDAP\u548cRADIUS\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u73b0\u6709\u7684\u8eab\u4efd\u9a8c\u8bc1\u7cfb\u7edf\u5df2\u7ecf\u5c31\u4f4d\uff0c\u4f8b\u5982Active Directory\uff0c\u8bf7\u6839\u636e\u7cfb\u7edf\u7684\u914d\u7f6e\u65b9\u5f0f\u9009\u62e9LDAP\u6216RADIUS\u3002 \u53ef\u4ee5\u9009\u62e9\u672c\u5730\u7528\u6237\u8bbf\u95ee\u6765\u7ba1\u7406pfSense\u9632\u706b\u5899\u4e0a\u7684\u7528\u6237\u3001\u5bc6\u7801\u548c\u8bc1\u4e66\u3002 \u4f7f\u7528\u672c\u5730\u7528\u6237\u8bbf\u95ee\u65f6\uff0c\u53ef\u4ee5\u8f7b\u677e\u4f7f\u7528\u6bcf\u4e2a\u7528\u6237\u7684\u8bc1\u4e66\uff0c\u5e76\u5728pfSense GUI\u4e2d\u8fdb\u884c\u7ba1\u7406\u3002 \u8fd9\u66f4\u5b89\u5168\uff0c\u4f46\u53d6\u51b3\u4e8e\u5c06\u8bbf\u95ee\u670d\u52a1\u7684\u7528\u6237\u6570\u91cf\uff0c\u53ef\u80fd\u4e0d\u5982\u4f7f\u7528\u4e2d\u592e\u8ba4\u8bc1\u7cfb\u7edf\u65b9\u4fbf\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5bf9\u4e8eLDAP\u6216RADIUS\uff0c\u65e0\u9700\u624b\u52a8\u751f\u6210\u6bcf\u4e2a\u7528\u6237\u7684\u8bc1\u4e66\u5373\u53ef\u4f7f\u7528\u3002<\/p>\n<p style=\"text-align: justify;\">\u672c\u5730\u7528\u6237\u8bbf\u95ee\u9009\u9879\u7b49\u540c\u4e8e\u9009\u62e9\u672c\u7ae0\u524d\u9762\u63d0\u5230\u7684\u8fdc\u7a0b\u8bbf\u95ee\uff08SSL \/ TLS +\u7528\u6237\u8ba4\u8bc1\uff09\u3002 LDAP\u548cRADIUS\u76f8\u5f53\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\uff08\u7528\u6237\u8eab\u4efd\u9a8c\u8bc1\uff09\u3002<\/p>\n<p style=\"text-align: justify;\">\u9009\u62e9\u8ba4\u8bc1\u670d\u52a1\u5668\u7c7b\u578b\u540e\uff0c\u5355\u51fb\u4e0b\u4e00\u6b65\u3002 \u5982\u679c\u9009\u62e9LDAP\u6216RADIUS\uff0c\u90a3\u4e48\u8fd9\u4e9b\u9009\u62e9\u7684\u670d\u52a1\u5668\u914d\u7f6e\u5c06\u662f\u4e0b\u4e00\u6b65\u3002 \u5982\u679c\u9009\u62e9\u672c\u5730\u7528\u6237\u8bbf\u95ee\uff0c\u5219\u4f1a\u8df3\u8fc7LDAP\u548cRADIUS\u5411\u5bfc\u6b65\u9aa4\u3002 \u5728\u672c\u4f8b\u4e2d\uff0c\u5c06\u9009\u62e9\u672c\u5730\u7528\u6237\u8bbf\u95ee\u6743\u9650\uff0c\u4f46\u4e3a\u4e86\u5b8c\u6574\u6027\u8ba8\u8bba\u5176\u4ed6\u9009\u9879\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u9009\u62e9\u4e00\u4e2aLDAP\u670d\u52a1\u5668<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u5df2\u7ecf\u5728pfSense\u9632\u706b\u5899\u4e0a\u5b9a\u4e49\u4e86LDAP\u670d\u52a1\u5668\uff0c\u5219\u53ef\u4ee5\u4ece\u5217\u8868\u4e2d\u9009\u62e9\u5b83\u3002\u8981\u4f7f\u7528\u4e0d\u540c\u7684LDAP\u670d\u52a1\u5668\uff0c\u8bf7\u9009\u62e9\u6dfb\u52a0\u65b0\u7684LDAP\u670d\u52a1\u5668\u3002\u5982\u679c\u6ca1\u6709\u5b9a\u4e49LDAP\u670d\u52a1\u5668\uff0c\u5219\u8df3\u8fc7\u6b64\u6b65\u9aa4\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6dfb\u52a0\u4e00\u4e2aLDAP\u670d\u52a1\u5668<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u4e0d\u5b58\u5728LDAP\u670d\u52a1\u5668\u6216\u9009\u62e9\u6dfb\u52a0\u65b0\u7684LDAP\u670d\u52a1\u5668\uff0c\u5219\u4f1a\u663e\u793a\u4e00\u4e2a\u9875\u9762\uff0c\u5176\u4e2d\u5305\u542b\u6dfb\u52a0\u65b0\u670d\u52a1\u5668\u6240\u9700\u7684\u9009\u9879\u3002 \u5176\u4e2d\u8bb8\u591a\u9009\u9879\u5c06\u53d6\u51b3\u4e8e\u7279\u5b9a\u7684LDAP\u76ee\u5f55\u914d\u7f6e\u548c\u7ed3\u6784\u3002 \u5982\u679c\u5bf9\u8bbe\u7f6e\u6709\u4efb\u4f55\u4e0d\u786e\u5b9a\u6027\uff0c\u8bf7\u54a8\u8be2LDAP\u670d\u52a1\u5668\u7ba1\u7406\u5458\u3001\u8f6f\u4ef6\u4f9b\u5e94\u5546\u6216\u6587\u6863\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Name:<\/th>\n<td class=\"field-body\">\u6b64LDAP\u670d\u52a1\u5668\u7684\u63cf\u8ff0\u6027\u540d\u79f0\uff0c\u4f9b\u53c2\u8003\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Hostname or IP address:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">LDAP\u670d\u52a1\u5668\u7684\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Port:<\/th>\n<td class=\"field-body\">\u53ef\u4ee5\u8054\u7cfbLDAP\u670d\u52a1\u5668\u7684\u7aef\u53e3\u3002\u6807\u51c6TCP\u8fde\u63a5\u7684\u9ed8\u8ba4\u7aef\u53e3\u4e3a389\uff0cSSL\u4e3a636\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Transport:<\/th>\n<td class=\"field-body\">\u53ef\u4ee5\u5c06\u5176\u8bbe\u7f6e\u4e3aTCP &#8211; \u672a\u52a0\u5bc6\u8fde\u63a5\u7684\u6807\u51c6\uff0c\u6216SSL &#8211; \u5df2\u52a0\u5bc6\u4ee5\u5b9e\u73b0\u5b89\u5168\u8fde\u63a5\u3002 \u81f3\u5c11\u5bf9\u4e8e\u672c\u5730\u670d\u52a1\u5668\u6216\u521d\u59cb\u6d4b\u8bd5\uff0c\u6807\u51c6\u8fde\u63a5\u53ef\u80fd\u5df2\u8db3\u591f\u3002 \u5982\u679c\u670d\u52a1\u5668\u662f\u8fdc\u7a0b\u7684\u6216\u8de8\u8d8a\u4efb\u4f55\u4e0d\u53ef\u4fe1\u7684\u7f51\u7edc\u94fe\u63a5\uff0c\u5219SSL\u662f\u66f4\u5b89\u5168\u7684\u9009\u62e9\u3002 \u5982\u679c\u8981\u4f7f\u7528SSL\uff0c\u5219\u5fc5\u987b\u5c06\u6765\u81eaLDAP\u670d\u52a1\u5668\u7684CA\u8bc1\u4e66\u5bfc\u5165\u5230pfSense\u4e2d\uff0c\u5e76\u4e14\u4e0a\u9762\u7684\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u5fc5\u987b\u4e0e\u670d\u52a1\u5668\u8bc1\u4e66\u7684\u901a\u7528\u540d\u79f0\u5b57\u6bb5\u4e2d\u7684\u503c\u5339\u914d\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Search Scope Level:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u9009\u62e9\u5728LDAP\u76ee\u5f55\uff0c\u4e00\u7ea7\u6216\u6574\u4e2a\u5b50\u6811\u4e2d\u641c\u7d22\u7684\u6df1\u5ea6\u3002\u901a\u5e38\uff0c\u6574\u4e2a\u5b50\u6811\u662f\u6b63\u786e\u7684\u9009\u62e9\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Search Scope Base DN:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u57fa\u4e8e\u4e13\u6709\u540d\u79f0\u641c\u7d22\u3002 \u4f8b\u5982\u00a0<code class=\"docutils literal\"><span class=\"pre\">DC=example,DC=com<\/span><\/code><\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Authentication Containers:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u8fd9\u4e9b\u503c\u6307\u5b9a\u7528\u6237\u5728\u76ee\u5f55\u4e2d\u7684\u4f4d\u7f6e\u3002\u4f8b\u5982\uff0c\u5b83\u53ef\u80fd\u662f\u00a0CN=Users;DC=example.<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">LDAP Bind User DN:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u53ef\u7528\u4e8e\u7ed1\u5b9a\u5230LDAP\u670d\u52a1\u5668\u5e76\u6267\u884c\u8eab\u4efd\u9a8c\u8bc1\u7684\u7528\u6237\u7684\u4e13\u6709\u540d\u79f0\u3002\u5982\u679c\u6b64\u9879\u7559\u7a7a\uff0c\u5219\u5c06\u6267\u884c\u533f\u540d\u7ed1\u5b9a\uff0c\u5e76\u4e14\u4e0b\u9762\u7684\u5bc6\u7801\u8bbe\u7f6e\u5c06\u88ab\u5ffd\u7565\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">LDAP Bind Password:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u8981\u4e0eLDAP\u7ed1\u5b9a\u7528\u6237DN\u4e00\u8d77\u4f7f\u7528\u7684\u5bc6\u7801\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">User Naming Attribute:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u53d6\u51b3\u4e8eLDAP\u76ee\u5f55\u8f6f\u4ef6\u548c\u7ed3\u6784\u3002\u901a\u5e38\u9488\u5bf9OpenLDAP\u548cNovell eDirectory\u7684cn\u4ee5\u53ca\u9488\u5bf9Microsoft Active Directory\u7684samAccountName\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Group Naming Attribute:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u53d6\u51b3\u4e8eLDAP\u76ee\u5f55\u8f6f\u4ef6\u548c\u7ed3\u6784\uff0c\u4f46\u6700\u5e38\u89c1\u7684\u662fcn\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Member Naming Attribute:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u53d6\u51b3\u4e8eLDAP\u76ee\u5f55\u8f6f\u4ef6\u548c\u7ed3\u6784\u3002\u901a\u5e38\u662fOpenLDAP\u4e0a\u7684member\uff0c\u5728Microsoft Active Directory\u4e0a\u7684memberOf\u548c\u5728Novell eDirectory\u4e0a\u7684uniqueMember\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"text-align: justify;\">\u9009\u62e9RADIUS\u670d\u52a1\u5668<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u5728pfSense\u9632\u706b\u5899\u4e0a\u5b9a\u4e49\u4e86\u73b0\u6709\u7684RADIUS\u670d\u52a1\u5668\uff0c\u8bf7\u4ece\u5217\u8868\u4e2d\u9009\u62e9\u5b83\u3002\u8981\u4f7f\u7528\u4e0d\u540c\u7684RADIUS\u670d\u52a1\u5668\uff0c\u8bf7\u9009\u62e9\u6dfb\u52a0\u65b0\u7684RADIUS\u670d\u52a1\u5668\u3002\u5982\u679c\u5728pfSense\u4e0a\u6ca1\u6709\u5b9a\u4e49RADIUS\u670d\u52a1\u5668\uff0c\u5219\u8df3\u8fc7\u6b64\u6b65\u9aa4\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6dfb\u52a0RADIUS\u00a0\u670d\u52a1\u5668<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u4e0d\u5b58\u5728RADIUS\u670d\u52a1\u5668\u6216\u9009\u62e9\u6dfb\u52a0\u65b0\u7684RADIUS\u670d\u52a1\u5668\uff0c\u5219\u4f1a\u663e\u793a\u4e00\u4e2a\u5c4f\u5e55\uff0c\u5176\u4e2d\u5305\u542b\u6dfb\u52a0\u65b0\u670d\u52a1\u5668\u6240\u9700\u7684\u9009\u9879\u3002 \u5982\u679c\u5bf9\u8bbe\u7f6e\u6709\u4efb\u4f55\u4e0d\u786e\u5b9a\u6027\uff0c\u8bf7\u54a8\u8be2RADIUS\u670d\u52a1\u5668\u7ba1\u7406\u5458\uff0c\u8f6f\u4ef6\u4f9b\u5e94\u5546\u6216\u6587\u6863\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Name:<\/th>\n<td class=\"field-body\">\u6b64RADIUS\u670d\u52a1\u5668\u7684\u63cf\u8ff0\u6027\u540d\u79f0\uff0c\u4f9b\u53c2\u8003\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Hostname or IP address:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">RADIUS\u670d\u52a1\u5668\u7684\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Authentication Port:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">RADIUS\u670d\u52a1\u5668\u7528\u4e8e\u63a5\u53d7\u8ba4\u8bc1\u8bf7\u6c42\u7684\u7aef\u53e3\uff0c\u901a\u5e38\u4e3a1812\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Shared Secret:<\/th>\n<td class=\"field-body\">\u7528\u4e8e\u63a5\u53d7\u6765\u81eapfSense\u9632\u706b\u5899\u7684IP\u5730\u5740\u8ba4\u8bc1\u8bf7\u6c42\u7684\u5bc6\u7801\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"text-align: justify;\"><\/h2>\n<h2 style=\"text-align: justify;\">\u9009\u62e9\u8bc1\u4e66\u9881\u53d1\u673a\u6784<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u5728pfSense\u9632\u706b\u5899\u4e0a\u5b9a\u4e49\u4e86\u73b0\u6709\u7684\u8ba4\u8bc1\u4e2d\u5fc3\uff0c\u5219\u53ef\u4ee5\u4ece\u5217\u8868\u4e2d\u9009\u62e9\u5b83\u3002\u8981\u521b\u5efa\u65b0\u7684\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff0c\u8bf7\u9009\u62e9\u6dfb\u52a0\u65b0\u7684CA\u3002\u5982\u679c\u6ca1\u6709\u5b9a\u4e49\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff0c\u5219\u8df3\u8fc7\u6b64\u6b65\u9aa4\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u521b\u5efa\u8bc1\u4e66\u9881\u53d1\u673a\u6784<\/h2>\n<p style=\"text-align: justify;\">\u6b64\u6b65\u9aa4\u63d0\u4f9b\u4e86\u521b\u5efa\u65b0\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08CA\uff09\u7684\u6240\u6709\u5fc5\u8981\u5b57\u6bb5\u3002 \u6b64\u9875\u9762\u4e0a\u7684\u6bcf\u4e2a\u9009\u9879\u90fd\u662f\u5fc5\u9700\u7684\uff0c\u5e76\u4e14\u5fc5\u987b\u6b63\u786e\u586b\u5199\u6240\u6709\u5b57\u6bb5\u624d\u80fd\u7ee7\u7eed\u3002 CA\u7528\u4e8e\u5efa\u7acb\u4e00\u4e2a\u4fe1\u4efb\u57fa\u7840\uff0c\u4ece\u4e2d\u53ef\u4ee5\u751f\u6210\u670d\u52a1\u5668\u8bc1\u4e66\uff0c\u5e76\u88ab\u5ba2\u6237\u89c6\u4e3a\u201c\u503c\u5f97\u4fe1\u8d56\u201d\u3002 \u7531\u4e8e\u6b64CA\u662f\u81ea\u884c\u751f\u6210\u7684\uff0c\u56e0\u6b64\u53ea\u80fd\u7531\u4e5f\u63d0\u4f9b\u6b64CA\u8bc1\u4e66\u526f\u672c\u7684\u5ba2\u6237\u7aef\u4fe1\u4efb\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">Descriptive Name:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u7528\u4e8e\u6807\u8bc6\u6b64\u8bc1\u4e66\u7684\u540d\u79f0\u3002 \u8fd9\u4e0e\u5176\u4ed6\u8bc1\u4e66\u7684\u901a\u7528\u540d\u79f0\u5b57\u6bb5\u76f8\u540c\u3002 \u5bf9\u4e8e\u8fd9\u4e2a\u4f8b\u5b50CA\uff0c\u4f7f\u7528ExampleCoCA\u3002 \u5c3d\u7ba1\u5728\u6b64\u5b57\u6bb5\u4e2d\u4f7f\u7528\u7a7a\u683c\u662f\u5141\u8bb8\u7684\uff0c\u4f46\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u4e0d\u8981\u5728\u901a\u7528\u540d\u79f0\u5b57\u6bb5\u4e2d\u4f7f\u7528\u7a7a\u683c\uff0c\u56e0\u4e3a\u67d0\u4e9b\u5ba2\u6237\u7aef\u5728\u6b63\u786e\u5904\u7406\u5b83\u4eec\u65f6\u5b58\u5728\u95ee\u9898\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Key Length:<\/th>\n<td class=\"field-body\">\u5c06\u751f\u6210\u7684\u5bc6\u94a5\u5927\u5c0f\u3002\u5bc6\u94a5\u8d8a\u5927\uff0c\u5b83\u63d0\u4f9b\u7684\u5b89\u5168\u6027\u5c31\u8d8a\u9ad8\uff0c\u4f46\u8f83\u5927\u7684\u5bc6\u94a5\u901a\u5e38\u4f7f\u7528\u901f\u5ea6\u8f83\u6162\u3002 2048\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Lifetime:<\/th>\n<td class=\"field-body\">\u6b64CA\u6709\u6548\u7684\u5929\u6570\u3002\u901a\u5e38\u8bbe\u7f6e\u4e3a3650\uff0c\u8fd9\u5927\u7ea6\u662f10\u5e74\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Country Code:<\/th>\n<td class=\"field-body\">\u4e24\u4e2a\u5b57\u6bcd\u7684ISO\u56fd\u5bb6\u4ee3\u7801\uff08\u4f8b\u5982US\uff0cAU\uff0cCA\uff09\u3002\u53cc\u5b57\u6bcdISO\u56fd\u5bb6\u4ee3\u7801\u53ef\u4ee5\u5728<a href=\"https:\/\/www.iso.org\/obp\/ui\/#search\" target=\"_self\" rel=\"noopener noreferrer\">ISO\u5728\u7ebf\u6d4f\u89c8\u5e73\u53f0\u7f51\u7ad9<\/a>\u4e0a\u67e5\u8be2\u3002\u7531\u4e8eExampleCo\u516c\u53f8\u5728\u7f8e\u56fd\u8bbe\u7f6e\uff0c\u8bf7\u5728\u6b64\u793a\u4f8b\u4e2d\u8f93\u5165US\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">State or Province:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u5b8c\u5168\u672a\u7f29\u5199\u7684\u5dde\u6216\u7701\u540d\u79f0\uff08\u4f8b\u5982\u5fb7\u514b\u8428\u65af\u5dde\uff0c\u5370\u7b2c\u5b89\u7eb3\u5dde\uff0c\u52a0\u5229\u798f\u5c3c\u4e9a\u5dde\uff09\u3002\u5728\u672c\u4f8b\u4e2dExampleCo\u4f4d\u4e8eTexas\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">City:<\/th>\n<td class=\"field-body\">\u57ce\u5e02\u6216\u5176\u4ed6\u5730\u533a\u540d\u79f0\uff08\u4f8b\u5982\u5965\u65af\u6c40\uff0c\u5370\u7b2c\u5b89\u7eb3\u6ce2\u5229\u65af\uff0c\u591a\u4f26\u591a\uff09\u3002 ExampleCo\u7684\u603b\u90e8\u4f4d\u4e8eAustin\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Organization:<\/th>\n<td class=\"field-body\">\u7ec4\u7ec7\u540d\u79f0\uff0c\u901a\u5e38\u662f\u516c\u53f8\u6216\u96c6\u56e2\u540d\u79f0\u3002\u00a0\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\u4e3aExampleCo\u3002\u8bf7\u52ff\u5728\u6b64\u5b57\u6bb5\u4e2d\u4f7f\u7528\u4efb\u4f55\u7279\u6b8a\u5b57\u7b26\uff0c\u751a\u81f3\u4e0d\u8981\u4f7f\u7528\u53e5\u53f7\u6216\u9017\u53f7\u7b49\u6807\u70b9\u7b26\u53f7<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">E-Mail:<\/th>\n<td class=\"field-body\">\u8bc1\u4e66\u8054\u7cfb\u4eba\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002\u901a\u5e38\u662f\u751f\u6210\u8bc1\u4e66\u7684\u4eba\u7684\u7535\u5b50\u90ae\u4ef6\uff0c\u4f8b\u5982\u00a0***admin@example.com\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u70b9\u51fb\u6dfb\u52a0\u65b0\u7684CA\u5b8c\u6210CA\u521b\u5efa\u8fc7\u7a0b<\/p>\n<h2 style=\"text-align: justify;\">\u9009\u62e9\u670d\u52a1\u5668\u8bc1\u4e66<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u5728pfSense\u9632\u706b\u5899\u4e0a\u5b9a\u4e49\u4e86\u73b0\u6709\u7684\u8bc1\u4e66\uff0c\u53ef\u4ee5\u4ece\u5217\u8868\u4e2d\u9009\u62e9\u3002\u8981\u521b\u5efa\u65b0\u8bc1\u4e66\uff0c\u8bf7\u9009\u62e9\u6dfb\u52a0\u65b0\u8bc1\u4e66\u3002\u5982\u679c\u6ca1\u6709\u5b9a\u4e49\u8bc1\u4e66\uff0c\u5219\u8df3\u8fc7\u6b64\u6b65\u9aa4\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u6dfb\u52a0\u670d\u52a1\u5668\u8bc1\u4e66<\/h2>\n<p style=\"text-align: justify;\">\u8be5\u9875\u9762\u5c06\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u670d\u52a1\u5668\u8bc1\u4e66\uff0c\u7528\u4e8e\u9a8c\u8bc1\u670d\u52a1\u5668\u5230\u5ba2\u6237\u7aef\u7684\u8eab\u4efd\u3002 \u670d\u52a1\u5668\u8bc1\u4e66\u5c06\u7531\u4ee5\u524d\u5728\u5411\u5bfc\u4e2d\u9009\u62e9\u6216\u521b\u5efa\u7684\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u8fdb\u884c\u7b7e\u540d\u3002 \u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u4e0e\u672c\u793a\u4f8b\u4e00\u6837\uff0c\u4f7f\u7528\u4e0a\u4e00\u6b65\u4e2d\u7684\u76f8\u540c\u4fe1\u606f\uff0c\u5e76\u81ea\u52a8\u5728\u8868\u5355\u4e0a\u9884\u5148\u586b\u5199\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">Descriptive Name:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u8fd9\u662f\u670d\u52a1\u5668\u8bc1\u4e66\u7684\u901a\u7528\u540d\u79f0\uff08CN\uff09\u5b57\u6bb5\uff0c\u4e5f\u7528\u4e8e\u5f15\u7528pfSense\u4e2d\u7684\u8bc1\u4e66\u3002 \u4f7f\u7528\u9632\u706b\u5899\u7684\u4e3b\u673a\u540d\u662f\u670d\u52a1\u5668\u8bc1\u4e66\u7684\u5e38\u89c1\u9009\u62e9\uff0c\u4f8b\u5982***.example.com\u3002 \u5c3d\u7ba1\u5141\u8bb8\u5728\u6b64\u5b57\u6bb5\u4e2d\u4f7f\u7528\u7a7a\u683c\uff0c\u4f46\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u4e0d\u8981\u5728\u8fd9\u4e2a\u5b57\u6bb5\u4e2d\u4f7f\u7528\u7a7a\u683c\uff0c\u56e0\u4e3a\u5ba2\u6237\u7aef\u5728\u5904\u7406\u5b83\u4eec\u65f6\u5f80\u5f80\u5b58\u5728\u95ee\u9898\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Key Length:<\/th>\n<td class=\"field-body\">\u751f\u6210\u7684\u5bc6\u94a5\u5927\u5c0f\u3002\u5bc6\u94a5\u8d8a\u5927\uff0c\u5b83\u63d0\u4f9b\u7684\u5b89\u5168\u6027\u5c31\u8d8a\u9ad8\uff0c\u4f46\u8f83\u5927\u7684\u5bc6\u94a5\u901a\u5e38\u4f7f\u7528\u901f\u5ea6\u8f83\u6162\u3002 2048\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Lifetime:<\/th>\n<td class=\"field-body\">\u6709\u6548\u5929\u6570\uff0c\u8fd9\u901a\u5e38\u8bbe\u7f6e\u4e3a3650\uff08\u5927\u7ea610\u5e74\uff09\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Country Code:<\/th>\n<td class=\"field-body\">\u53cc\u5b57\u6bcdISO\u56fd\u5bb6\u4ee3\u7801\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">State or Province:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u7701\u6216\u5dde\u540d\u5168\u79f0\uff08\u5982 Texas, Indiana, Ontario)\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">City:<\/th>\n<td class=\"field-body\">\u57ce\u5e02\u6216\u5176\u4ed6\u5730\u533a\u540d\u79f0\uff08\u4f8b\u5982 Austin, Indianapolis, Toronto)\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Organization:<\/th>\n<td class=\"field-body\">\u7ec4\u7ec7\u540d\u79f0\uff0c\u901a\u5e38\u662f\u516c\u53f8\u6216\u96c6\u56e2\u540d\u79f0\u3002\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">E-Mail:<\/th>\n<td class=\"field-body\">\u8bc1\u4e66\u8054\u7cfb\u4eba\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002\u901a\u5e38\u662f\u751f\u6210\u8bc1\u4e66\u7684\u4eba\u7684\u7535\u5b50\u90ae\u4ef6\uff0c\u4f8b\u5982\u00a0***admin@example.com\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u5355\u51fb\u521b\u5efa\u65b0\u8bc1\u4e66\u5b58\u50a8\u8bbe\u7f6e\u5e76\u7ee7\u7eed\u5411\u5bfc\u7684\u4e0b\u4e00\u6b65\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u914d\u7f6eOpenVPN\u670d\u52a1\u5668\u8bbe\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u5411\u5bfc\u7684\u8fd9\u4e00\u6b65\u7684\u9009\u9879\u914d\u7f6eOpenVPN\u670d\u52a1\u5668\u672c\u8eab\u7684\u884c\u4e3a\u65b9\u5f0f\u4ee5\u53ca\u4f20\u9012\u7ed9\u5ba2\u6237\u7aef\u9009\u9879\u7684\u5404\u4e2a\u65b9\u9762\u3002 \u8fd9\u91cc\u4ecb\u7ecd\u7684\u9009\u9879\u4e0e\u4e4b\u524d\u5728OpenVPN\u914d\u7f6e\u9009\u9879\u4e2d\u8ba8\u8bba\u7684\u9009\u9879\u76f8\u540c\u3002<\/p>\n<h3 style=\"text-align: justify;\">OpenVPN\u670d\u52a1\u5668\u5e38\u89c4\u4fe1\u606f<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u9009\u9879\u63a7\u5236\u7740OpenVPN\u5b9e\u4f8b\u7684\u8fd0\u884c\u65b9\u5f0f\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">\u63a5\u53e3:<\/th>\n<td class=\"field-body\">\u00a0\u7528\u4e8e\u63a5\u6536\u4f20\u5165\u7684\u63a5\u53e3\u3002\u8bf7\u9009\u62e9WAN\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">\u534f\u8bae:<\/th>\n<td class=\"field-body\">\u00a0\u9ed8\u8ba4<em>UDP<\/em>\u00a0\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">\u672c\u5730\u7aef\u53e3:<\/th>\n<td class=\"field-body\">\u00a0\u9ed8\u8ba41194\u662f\u9996\u9009\u3002\u5982\u679c\u8be5\u7aef\u53e3\u4e0a\u6709\u73b0\u6709\u7684OpenVPN\uff0c\u8bf7\u4f7f\u7528\u4e0d\u540c\u7684\u7aef\u53e3\u53f7\u3002\u5411\u5bfc\u4f1a\u5efa\u8bae\u4e00\u4e2a\u672a\u4f7f\u7528\u7684\u7aef\u53e3\u53f7\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">\u63cf\u8ff0:<\/th>\n<td class=\"field-body\">\u00a0\u8f93\u5165\u4e00\u4e2a\u5408\u9002\u7684\u63cf\u8ff0\u3002\u5982\uff1a<span class=\"pre\">ExampleCo<\/span>\u00a0<span class=\"pre\">Mobile<\/span> VPN\u00a0<span class=\"pre\">Clients<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u52a0\u5bc6\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u9009\u9879\u63a7\u5236\u96a7\u9053\u4e2d\u7684\u6d41\u91cf\u5982\u4f55\u52a0\u5bc6\u548c\u9a8c\u8bc1\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\" width=\"988.6666666666666\">TLS\u00a0\u8ba4\u8bc1:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td width=\"119.66666666666667\"><\/td>\n<td class=\"field-body\">\u9009\u4e2d\u542f\u7528TLS\u6570\u636e\u5305\u7684\u8eab\u4efd\u9a8c\u8bc1\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\" width=\"988.6666666666666\">\u751f\u6210TLS\u00a0\u5bc6\u94a5:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td width=\"119.66666666666667\"><\/td>\n<td class=\"field-body\">\u7531\u4e8e\u6ca1\u6709\u73b0\u6709\u7684TLS\u5bc6\u94a5\uff0c\u56e0\u6b64\u9009\u4e2d\u81ea\u52a8\u751f\u6210\u5171\u4eabTLS\u8eab\u4efd\u9a8c\u8bc1\u5bc6\u94a5\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" width=\"119.66666666666667\">TLS\u00a0\u5171\u4eab\u5bc6\u94a5:<\/th>\n<td class=\"field-body\">\u7531\u4e8e\u6ca1\u6709\u73b0\u6709\u7684TLS\u5bc6\u94a5\uff0c\u8bf7\u7559\u7a7a\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\" width=\"988.6666666666666\">DH\u53c2\u6570\u957f\u5ea6:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td width=\"119.66666666666667\"><\/td>\n<td class=\"field-body\">\u9009\u62e92048\uff0c\u56e0\u4e3a\u5b83\u662f\u901f\u5ea6\u548c\u5b89\u5168\u7684\u826f\u597d\u5e73\u8861\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\" width=\"988.6666666666666\">\u52a0\u5bc6\u7b97\u6cd5:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td width=\"119.66666666666667\"><\/td>\n<td class=\"field-body\">\u8fd9\u53ef\u4ee5\u4fdd\u7559\u4e3aAES-128-CBC\u7684\u9ed8\u8ba4\u503c\uff0c\u4f46\u53ea\u8981\u5ba2\u6237\u7aef\u8bbe\u7f6e\u4e3a\u5339\u914d\uff0c\u4efb\u4f55\u5176\u4ed6\u9009\u9879\u4e5f\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\" width=\"988.6666666666666\">\u8ba4\u8bc1\u6458\u8981\u7b97\u6cd5<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td width=\"119.66666666666667\"><\/td>\n<td class=\"field-body\">\u4f7f\u7528\u9ed8\u8ba4\u7684SHA1(160-bit)<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\" width=\"988.6666666666666\">\u786c\u4ef6\u52a0\u5bc6<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td width=\"119.66666666666667\"><\/td>\n<td class=\"field-body\">\u76ee\u6807\u8bbe\u5907\u6ca1\u6709\u52a0\u901f\u5668\uff0c\u56e0\u6b64\u8bf7\u5c06\u6b64\u9009\u9879\u8bbe\u4e3a\u201c\u65e0\u786c\u4ef6\u52a0\u5bc6\u52a0\u901f\u201d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u96a7\u9053\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u9009\u9879\u63a7\u5236\u6765\u81ea\u8fdc\u7a0b\u5ba2\u6237\u7aef\u7684\u6d41\u91cf\u5c06\u5982\u4f55\u8fdb\u884c\u8def\u7531\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">\u96a7\u9053\u7f51\u7edc:<\/th>\n<td class=\"field-body\">\u5982\u672c\u4f8b\u5f00\u59cb\u65f6\u7684\u793a\u610f\u56fe\u6240\u793a\uff0c\u4e3aVPN\u5ba2\u6237\u7aef\u9009\u62e9\u4e86\u5b50\u7f5110.3.201.0\/24\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">\u91cd\u5b9a\u5411\u7f51\u5173:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5bf9\u4e8eExampleCo\u7684\u8bbe\u7f6e\uff0cVPN\u53ea\u4f1a\u4f20\u8f93\u6307\u5411\u4e3b\u529e\u516c\u5ba4\u5b50\u7f51\u7684\u6d41\u91cf\uff0c\u56e0\u6b64\u4e0d\u9009\u4e2d\u6b64\u9009\u9879\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">\u672c\u5730\u7f51\u7edc:<\/th>\n<td class=\"field-body\">\u8fd9\u662f\u4e3b\u529e\u516c\u5ba4\u5b50\u7f51\uff0c\u5728\u672c\u4f8b\u4e2d\u4e3a10.3.0.0\/24<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">\u5e76\u53d1\u8fde\u63a5:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">ExampleCo\u4e0d\u60f3\u9650\u5236\u53ef\u4ee5\u540c\u65f6\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u7684\u6570\u91cf\uff0c\u6240\u4ee5\u8fd9\u4e2a\u7559\u7a7a\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">\u538b\u7f29:<\/th>\n<td class=\"field-body\">\u4ee5\u63d0\u5347CPU\u4f7f\u7528\u7387\u4e3a\u4ee3\u4ef7\u6765\u63d0\u9ad8VPN\u901a\u9053\u4e0a\u7684\u6d41\u91cf\u541e\u5410\u91cf\uff0c\u5c06\u5176\u8bbe\u7f6e\u4e3a\u201c\uff08<em>Enabled with Adaptive Compression<\/em>.\uff09\u4f7f\u7528\u81ea\u9002\u5e94\u538b\u7f29\u542f\u7528\u201d\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">\u670d\u52a1\u7c7b\u578b:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u4e0d\u9009\uff0c\u56e0\u4e3a\u6b64VPN\u4e0a\u6ca1\u6709\u9700\u8981\u4f18\u5148\u7ea7\/ QoS\u7684\u6d41\u91cf\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">\u5ba2\u6237\u7aef\u95f4\u901a\u4fe1:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u7531\u4e8e\u6b64VPN\u4e0a\u7684\u5ba2\u6237\u7aef\u65e0\u9700\u8fde\u63a5\u5230\u5176\u4ed6\u5ba2\u6237\u7aef\u8ba1\u7b97\u673a\uff0c\u56e0\u6b64\u672a\u9009\u4e2d\u6b64\u6846\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">\u91cd\u590d\u8fde\u63a5:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u7531\u4e8e\u6bcf\u4e2a\u5ba2\u6237\u7aef\u90fd\u5b58\u5728\u552f\u4e00\u7684\u8bc1\u4e66\uff0c\u56e0\u6b64\u672a\u9009\u4e2d\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u8bbe\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e9b\u9009\u9879\u63a7\u5236\u8fde\u63a5\u5efa\u7acb\u65f6\u7ed9\u4e88\u5ba2\u6237\u7aef\u7684\u7279\u5b9a\u8bbe\u7f6e\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">\u52a8\u6001IP:<\/th>\n<td class=\"field-body\">\u5ba2\u6237\u7aef\u5c06\u4ece\u5168\u56fd\u5404\u5730\u8fde\u63a5\uff0c\u672a\u77e5\u7684\u79fb\u52a8\u7f51\u7edc\u548c\u4ed6\u4eec\u7684IP\u5730\u5740\u53ef\u80fd\u4f1a\u5728\u6ca1\u6709\u901a\u77e5\u7684\u60c5\u51b5\u4e0b\u53d1\u751f\u53d8\u5316\uff0c\u56e0\u6b64\u6b64\u9009\u9879\u5c06\u88ab\u9009\u4e2d\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">\u5730\u5740\u6c60:<\/th>\n<td class=\"field-body\">\u5ba2\u6237\u7aef\u5c06\u4ece\u4e0a\u9762\u7684\u96a7\u9053\u7f51\u7edc\u4e2d\u5206\u914d\u5730\u5740\uff0c\u6240\u4ee5\u9009\u4e2d\u6b64\u8bbe\u7f6e\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">\u62d3\u6251:<\/th>\n<td class=\"field-body\">\u7528\u4e8e\u4e3a\u5ba2\u6237\u7aef\u5206\u914dIP\u5730\u5740\u7684\u65b9\u6cd5\u3002\u5b50\u7f51\u7684\u9ed8\u8ba4\u503c\u662f\u6700\u4f73\u9009\u62e9\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">DNS\u00a0\u9ed8\u8ba4\u57df:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5728\u8fd9\u91cc\u8f93\u5165ExampleCo\u7684\u57df\u540d\u00a0example.com.<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">DNS\u00a0\u670d\u52a1\u5668:<\/th>\n<td class=\"field-body\">\u4efb\u4f55\u5185\u90e8\u7684DNS\u670d\u52a1\u5668\u90fd\u53ef\u4ee5\u5728\u8fd9\u91cc\u4f7f\u7528\u3002 ExampleCo\u6709\u4e00\u4e2aWindows Active Directory\u57df\u63a7\u5236\u5668\uff0c\u8be5\u63a7\u5236\u5668\u88ab\u914d\u7f6e\u4e3a\u5145\u5f53DNS\u670d\u52a1\u566810.3.0.5\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">NTP\u00a0\u670d\u52a1\u5668:<\/th>\n<td class=\"field-body\">\u4e0a\u9762\u7684\u670d\u52a1\u566810.3.0.5\u4e5f\u7528\u4e8e\u540c\u6b65\u5ba2\u6237\u7aefPC\u65f6\u949f\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">NetBIOS\u00a0\u9009\u9879:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u5ba2\u6237\u9700\u8981\u8bbf\u95eeVPN\u540e\u9762\u7684Windows\u5171\u4eab\uff0c\u56e0\u6b64\u9009\u4e2d\u201cEnable NetBIOS over TCP\/IP\uff08\u901a\u8fc7TCP \/ IP\u542f\u7528NetBIOS\uff09\u201d\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">NetBIOS\u8282\u70b9\u7c7b\u578b:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u7531\u4e8e\u4e3b\u8981\u4f7f\u7528DNS\uff0c\u56e0\u6b64\u8bf7\u9009\u4e2dh-node\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">NetBIOS\u8303\u56f4ID:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u7559\u7a7a\uff0c\u56e0\u4e3aNetBIOS\u8303\u56f4\u4e0d\u53d7\u9650\u5236<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">WINS\u670d\u52a1\u5668:<\/th>\n<td class=\"field-body\">WINS\u5df2\u88ab\u5f03\u7528\uff0c\u6240\u4ee5\u8fd9\u7559\u7a7a<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">\u9ad8\u7ea7\u9009\u9879:<\/th>\n<td class=\"field-body\">\u6b64\u65f6\u4e0d\u9700\u8981\u989d\u5916\u7684\u8c03\u6574\uff0c\u6240\u4ee5\u8fd9\u662f\u7a7a\u767d\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"text-align: justify;\">\u9632\u706b\u5899\u914d\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u4e0e\u9632\u706b\u5899\u7684\u5176\u4ed6\u90e8\u5206\u4e00\u6837\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6240\u6709\u901a\u4fe1\u90fd\u88ab\u963b\u6b62\u8fde\u63a5\u5230VPN\u6216\u901a\u8fc7VPN\u96a7\u9053\u4f20\u9012\u3002 \u5411\u5bfc\u7684\u8fd9\u4e00\u6b65\u81ea\u52a8\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219\u4ee5\u5141\u8bb8\u6d41\u91cf\u8fde\u63a5\u5230VPN\uff0c\u5e76\u4e14\u5ba2\u6237\u7aef\u4e5f\u53ef\u4ee5\u901a\u8fc7VPN\u4f20\u9012\u6d41\u91cf\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u4ece\u5ba2\u6237\u7aef\u5230\u670d\u52a1\u5668\u7684\u6d41\u91cf<\/h3>\n<p style=\"text-align: justify;\">\u9009\u4e2d\u6b64\u6846\u53ef\u5728\u6240\u9009\u63a5\u53e3\u4e0a\u4e3a\u5141\u8bb8\u5ba2\u6237\u7aef\u8fde\u63a5\u7684\u96a7\u9053\uff08\u4f8b\u5982WAN\uff09\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219\u3002 \u5b83\u5141\u8bb8\u6765\u81ea\u4efb\u4f55\u6e90\u5730\u5740\u7684\u6240\u6709\u5ba2\u6237\u7aef\u9ed8\u8ba4\u8fde\u63a5\u3002 \u8981\u5141\u8bb8\u6765\u81ea\u4e00\u7ec4\u6709\u9650\u7684IP\u5730\u5740\u6216\u5b50\u7f51\u7684\u8fde\u63a5\uff0c\u8bf7\u521b\u5efa\u81ea\u5b9a\u4e49\u89c4\u5219\u6216\u9009\u4e2d\u6b64\u6846\u5e76\u66f4\u6539\u5176\u521b\u5efa\u7684\u89c4\u5219\u3002 \u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u5ba2\u6237\u7aef\u6765\u81ea\u5168\u56fd\u5404\u5730\uff0c\u6240\u4ee5\u7531\u8fd9\u4e2a\u590d\u9009\u6846\u521b\u5efa\u7684\u89c4\u5219\u662f\u7406\u60f3\u7684\uff0c\u56e0\u6b64\u9009\u4e2d\u8fd9\u4e2a\u8bbe\u7f6e\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u901a\u8fc7VPN\u96a7\u9053\u6d41\u91cf<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e2a\u8bbe\u7f6e\u5141\u8bb8\u6240\u6709\u6d41\u91cf\u901a\u8fc7OpenVPN\u96a7\u9053\uff0c\u5bf9\u4e8e\u672c\u793a\u4f8b\u662f\u5fc5\u987b\u7684\uff0c\u6240\u4ee5\u9009\u4e2d\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5b8c\u6210\u5411\u5bfc<\/h2>\n<p style=\"text-align: justify;\">\u5355\u51fb\u5b8c\u6210\uff0c\u5411\u5bfc\u73b0\u5728\u5b8c\u6210\u5168\u90e8\u8bbe\u7f6e\uff1b\u8be5\u96a7\u9053\u5df2\u5b8c\u5168\u914d\u7f6e\u5e76\u51c6\u5907\u597d\u8fdb\u884c\u5ba2\u6237\u7aef\u8fde\u63a5\u3002 \u4ece\u8fd9\u91cc\u5f00\u59cb\uff0c\u4e0b\u4e00\u6b65\u5c31\u662f\u6dfb\u52a0\u7528\u6237\u5e76\u914d\u7f6e\u5ba2\u6237\u7aef\u8bbe\u5907\u3002 \u5982\u679c\u9700\u8981\u8c03\u6574\u81ea\u52a8\u751f\u6210\u7684\u9632\u706b\u5899\u89c4\u5219\uff0c\u4f60\u53ef\u4ee5\u5728\u9632\u706b\u5899&gt;\u89c4\u5219\u7b56\u7565\u5904\u8fdb\u884c\u8c03\u6574\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u7528\u6237\u914d\u7f6e<\/h1>\n<p style=\"text-align: justify;\">\u6b64\u65f6VPN\u670d\u52a1\u5668\u5df2\u914d\u7f6e\uff0c\u4f46\u53ef\u80fd\u6ca1\u6709\u4efb\u4f55\u53ef\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u3002\u5c06\u7528\u6237\u6dfb\u52a0\u5230VPN\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u521b\u5efaOpenVPN\u670d\u52a1\u5668\u65f6\u9009\u62e9\u7684\u8eab\u4efd\u9a8c\u8bc1\u65b9\u6cd5\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u672c\u5730\u7528\u6237<\/h2>\n<p style=\"text-align: justify;\">\u8981\u6dfb\u52a0\u53ef\u4ee5\u8fde\u63a5\u5230OpenVPN\u7684\u7528\u6237\uff0c\u5fc5\u987b\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u5c06\u5176\u6dfb\u52a0\u5230\u7528\u6237\u7ba1\u7406\u5668\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406<\/li>\n<li>\u70b9\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1666\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-plus.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u6dfb\u52a0\u521b\u5efa\u4e00\u4e2a\u65b0\u7528\u6237<\/li>\n<li>\u8f93\u5165\u7528\u6237\u540d\uff0c\u5bc6\u7801\u548c\u5bc6\u7801\u786e\u8ba4<\/li>\n<li>\u586b\u5199\u5168\u540d\uff08\u53ef\u9009\uff09<\/li>\n<li>\u9009\u4e2d\u5355\u51fb\u521b\u5efa\u7528\u6237\u8bc1\u4e66\uff0c\u8be5\u8bc1\u4e66\u5c06\u6253\u5f00\u8bc1\u4e66\u9009\u9879\u9762\u677f<\/li>\n<li>\u5728\u63cf\u8ff0\u6027\u540d\u79f0\u5b57\u6bb5\u4e2d\u8f93\u5165\u7528\u6237\u540d\u6216\u5176\u4ed6\u76f8\u5173\u4fe1\u606f<\/li>\n<li>\u9009\u62e9OpenVPN\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u7684\u76f8\u540c\u8ba4\u8bc1\u673a\u6784<\/li>\n<li>\u9009\u62e9\u4e00\u4e2a\u5bc6\u94a5\u957f\u5ea6\uff08\u53ef\u4ee5\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\uff09<\/li>\n<li>\u8f93\u5165\u4e00\u4e2a\u6709\u6548\u671f\uff08\u53ef\u4ee5\u4fdd\u7559\u9ed8\u8ba4\uff09<\/li>\n<li>\u70b9\u51fb\u4fdd\u5b58<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u67e5\u770b\u6216\u66f4\u6539\u7528\u6237\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406<\/li>\n<li>\u5355\u51fb\u5305\u542b\u7528\u6237\u7684\u884c\u65c1\u8fb9\u7684<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1668\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-pencil.png\" alt=\"\" width=\"25\" height=\"25\" \/>\uff0c\u8fdb\u884c\u67e5\u770b\/\u7f16\u8f91<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5bfc\u51fa\u7528\u6237\u8bc1\u4e66\u548c\u5bc6\u94a5\uff1a<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u4f7f\u7528OpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\uff0c\u5219\u53ef\u4ee5\u8df3\u8fc7\u6b64\u90e8\u5206\u3002\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\u662f\u4e0b\u8f7d\u5ba2\u6237\u7aef\u914d\u7f6e\u548c\u5b89\u88c5\u6587\u4ef6\u7684\u66f4\u7b80\u5355\u7684\u65b9\u6cd5\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u8bc1\u4e66\u7ba1\u7406\uff0c\u8bc1\u4e66\u9009\u9879\u5361<\/li>\n<li>\u5728\u5217\u8868\u4e2d\u627e\u5230\u7528\u6237\u8bc1\u4e66<\/li>\n<li>\u70b9\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1676\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-certificate.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u4e0b\u8f7d\u7528\u6237\u8bc1\u4e66<\/li>\n<li>\u70b9\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1677\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-key.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u4e0b\u8f7d\u8bc1\u4e66\u7684\u5bc6\u94a5<\/li>\n<li>\u5355\u51fb<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1679\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-archive.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u4e0b\u8f7dPKCS\uff0312\u6587\u4ef6\uff0c\u5176\u4e2d\u5305\u542b\u7528\u6237\u8bc1\u4e66\u548c\u5bc6\u94a5\u4ee5\u53caCA\u8bc1\u4e66\uff08\u53ef\u9009\uff09<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0cCA\u8bc1\u4e66\u8fd8\u5e94\u8be5\u4e0e\u7528\u6237\u8bc1\u4e66\u4e00\u8d77\u4e0b\u8f7d\u3002\u8fd9\u53ef\u4ee5\u4ece\u7cfb\u7edf&gt;\u8bc1\u4e66\u7ba1\u7406\uff0cCA\u9009\u9879\u5361\u4e0a\u7684\u6761\u76ee\u6216\u4f7f\u7528\u524d\u9762\u63d0\u5230\u7684\u4e0b\u8f7dPKCS\uff0312\u6587\u4ef6\u6765\u5b8c\u6210\u3002<\/p>\n<h2 style=\"text-align: justify;\">LDAP\u6216 RADIUS\u7528\u6237<\/h2>\n<p style=\"text-align: justify;\">\u6dfb\u52a0LDAP\u548cRADIUS\u7528\u6237\u5c06\u5b8c\u5168\u53d6\u51b3\u4e8e\u670d\u52a1\u5668\u5b9e\u65bd\u548c\u7ba1\u7406\u5de5\u5177\uff0c\u8fd9\u8d85\u51fa\u4e86\u672c\u4e66\u7684\u8303\u56f4\uff0c \u8bf7\u8054\u7cfb\u670d\u52a1\u5668\u7ba1\u7406\u5458\u6216\u8f6f\u4ef6\u4f9b\u5e94\u5546\u4ee5\u5bfb\u6c42\u5e2e\u52a9\u3002 \u65e0\u6cd5\u4ece\u9632\u706b\u5899\u7684Web\u754c\u9762\u5185\u4ee5\u53cd\u6620\u7528\u6237\u4e0e\u8bc1\u4e66\u5173\u7cfb\u7684\u65b9\u5f0f\u521b\u5efaLDAP\u6216RADIUS\u7528\u6237\u7684\u8bc1\u4e66\u3002 \u4f46\u662f\uff0c\u53ef\u4ee5\u4f7f\u7528\u8bc1\u4e66\u7ba1\u7406\u5668\u81ea\u884c\u521b\u5efa\u8bc1\u4e66\uff0c\u5982\u7528\u6237\u8bc1\u4e66\u4e2d\u6240\u8ff0<\/p>\n<h1 style=\"text-align: justify;\">OpenVPN \u5ba2\u6237\u7aef\u5b89\u88c5<\/h1>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>OpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6<\/li>\n<li>Windows\u5b89\u88c5<\/li>\n<li>IOS<\/li>\n<li>\u624b\u52a8\u914d\u7f6e\u5ba2\u6237\u7aef<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u7531\u4e8e\u5927\u591a\u6570\u64cd\u4f5c\u7cfb\u7edf\u5c1a\u672a\u6784\u5efa\u5ba2\u6237\u7aef\u529f\u80fd\uff0c\u56e0\u6b64\u9700\u8981\u5728\u6700\u7ec8\u7528\u6237\u8bbe\u5907\u4e0a\u5b89\u88c5OpenVPN\u5ba2\u6237\u7aef\u3002\u672c\u8282\u53ea\u4ecb\u7ecdWindows\u548cIOS\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u3002\u8981\u5728\u5b89\u5353\u3001Mac OS\u00a0 X\u3001Linux\u3001 FreeBSD\u4e0a\u5b89\u88c5\uff0c\u8bf7\u53c2\u8003pfsense book\u82f1\u6587\u539f\u7248\u3002<\/p>\n<h1 style=\"text-align: justify;\">OpenVPN \u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6<\/h1>\n<p style=\"text-align: justify;\">\u5728\u5927\u591a\u6570\u5e73\u53f0\u4e0a\u914d\u7f6eOpenVPN\u5ba2\u6237\u7aef\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u662f\u5728pfSense\u9632\u706b\u5899\u4e0a\u4f7f\u7528OpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\u3002<\/p>\n<p style=\"text-align: justify;\">\u6309\u5982\u4e0b\u65b9\u5f0f\u5b89\u88c5OpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u00a0\u63d2\u4ef6\u7ba1\u7406<\/li>\n<li>\u5728\u53ef\u7528\u63d2\u4ef6\u5217\u8868\u4e2d\uff0c\u627e\u5230OpenVPN Client Export<\/li>\n<li>\u5355\u51fb\u53f3\u4fa7\u7684 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1666\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2018\/07\/fa-plus.png\" alt=\"\" width=\"25\" height=\"25\" \/>\u00a0\u8fdb\u884c\u5b89\u88c5<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5b89\u88c5\u540e\uff0c\u53ef\u4ee5\u5728VPN&gt; OpenVPN\u7684\u201cClient Export\u201d\u9009\u9879\u5361\u4e0a\u627e\u5230\u5b83\u3002<\/p>\n<p style=\"text-align: justify;\">\u63d2\u4ef6\u9009\u9879\u5305\u62ec:<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">Remote Access Server:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u9009\u62e9\u8981\u5bfc\u51fa\u5ba2\u6237\u7aef\u7684OpenVPN\u670d\u52a1\u5668\u5b9e\u4f8b\u3002\u5982\u679c\u53ea\u6709\u4e00\u4e2aOpenVPN\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\uff0c\u5219\u5217\u8868\u4e2d\u53ea\u6709\u4e00\u4e2a\u9009\u9879\u3002\u5982\u679c\u6ca1\u6709\u8fdc\u7a0b\u8bbf\u95ee\u6a21\u5f0f\u7684OpenVPN\u670d\u52a1\u5668\uff0c\u8be5\u5217\u8868\u5c06\u4e3a\u7a7a\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Host Name Resolution:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u63a7\u5236\u5982\u4f55\u683c\u5f0f\u5316\u5ba2\u6237\u7aef\u7684\u201c\u8fdc\u7a0b\u201d\u6761\u76ee\u3002<\/p>\n<p>Interface IP Address\uff1a\u9009\u62e9\u540e\uff0c\u76f4\u63a5\u4f7f\u7528\u63a5\u53e3IP\u5730\u5740\u3002\u8fd9\u901a\u5e38\u662f\u5728WAN\u4e0a\u5b89\u88c5\u9759\u6001IP\u5730\u5740\u7684\u6700\u4f73\u9009\u62e9\u3002<\/p>\n<p>Automagic Multi-WAN IPs\uff1a\u4f7f\u7528\u7aef\u53e3\u8f6c\u53d1\u5c06\u591a\u4e2a\u7aef\u53e3\u91cd\u5b9a\u5411\u5230\u5728\u540c\u4e00WAN\u4e0a\u5229\u7528\u591aWAN\u6216\u591a\u4e2a\u7aef\u53e3\u7684\u90e8\u7f72\u65f6\uff0c\u6b64\u9009\u9879\u975e\u5e38\u6709\u7528\u3002 \u5b83\u5c06\u4e3a\u6240\u6709\u4ee5\u76ee\u6807\u670d\u52a1\u5668\u4e3a\u76ee\u6807\u7684\u7aef\u53e3\u8f6c\u53d1\u5bfb\u627e\u5e76\u751f\u6210\u6761\u76ee\uff0c\u5e76\u5728\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\u4f7f\u7528\u7aef\u53e3\u8f6c\u53d1\u4e2d\u4f7f\u7528\u7684\u76ee\u6807IP\u5730\u5740\u3002<\/p>\n<p>Automagic Multi-WAN DDNS Hostnames\uff1a\u4e0e\u4e4b\u524d\u7684\u9009\u9879\u7c7b\u4f3c\uff0c\u4f46\u5b83\u4f7f\u7528\u7b2c\u4e00\u4e2a\u52a8\u6001DNS\u6761\u76ee\uff0c\u5b83\u53d1\u73b0\u5b83\u5339\u914d\u6240\u9009\u76ee\u6807\u3002<\/p>\n<p>Installation Hostname\uff1a\u5c06\u7cfb\u7edf&gt;\u5e38\u89c4\u8bbe\u7f6e\u4e0b\u5b9a\u4e49\u7684\u9632\u706b\u5899\u4e3b\u673a\u540d\u7f6e\u4e8e\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\u3002\u4e3b\u673a\u540d\u5fc5\u987b\u5b58\u5728\u4e8e\u516c\u5171DNS\u4e2d\uff0c\u4ee5\u4fbf\u5ba2\u6237\u7aef\u53ef\u4ee5\u89e3\u51b3\u3002<\/p>\n<p>Dynamic DNS Hostname Entries\uff1a\u6b64\u5904\u5217\u51fa\u9632\u706b\u5899\u4e0a\u914d\u7f6e\u7684\u6bcf\u4e2a\u52a8\u6001DNS\u4e3b\u673a\u540d\u3002\u8fd9\u901a\u5e38\u662f\u5728\u5177\u6709\u52a8\u6001IP\u5730\u5740\u7684\u5355\u4e2aWAN\u4e0a\u8fd0\u884c\u670d\u52a1\u5668\u7684\u6700\u4f73\u9009\u62e9\u3002<\/p>\n<p>Other\uff1a\u63d0\u4f9b\u4e00\u4e2a\u6587\u672c\u6846\uff0c\u53ef\u5728\u5176\u4e2d\u8f93\u5165\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u4f9b\u5ba2\u6237\u7aef\u4f7f\u7528\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Verify Server CN:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u6307\u5b9a\u5ba2\u6237\u7aef\u5c06\u5982\u4f55\u9a8c\u8bc1\u670d\u52a1\u5668\u8bc1\u4e66\u7684\u8eab\u4efd\u3002 \u670d\u52a1\u5668\u8bc1\u4e66\u7684CN\u4f4d\u4e8e\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\uff0c\u4ee5\u4fbf\u5982\u679c\u53e6\u4e00\u4e2a\u6709\u6548\u8bc1\u4e66\u5047\u88c5\u4e3a\u5177\u6709\u4e0d\u540cCN\u7684\u670d\u52a1\u5668\uff0c\u5219\u5b83\u5c06\u4e0d\u4f1a\u88ab\u5339\u914d\uff0c\u5ba2\u6237\u7aef\u5c06\u62d2\u7edd\u8fde\u63a5\u3002<\/p>\n<p>Automatic &#8211; Use verify-x509-name where possible\uff1a\u8fd9\u5bf9\u76ee\u524d\u7684\u5ba2\u6237\u6765\u8bf4\u662f\u6700\u597d\u7684\u3002\u65e7\u65b9\u6cd5\u5df2\u88ab\u5f03\u7528\uff0c\u56e0\u4e3a\u8fd9\u79cd\u65b9\u6cd5\u66f4\u52a0\u51c6\u786e\u548c\u7075\u6d3b\u3002<\/p>\n<p>Use tls-remote\uff1a\u8fd9\u53ef\u4ee5\u5728\u8f83\u65e7\u7684\u5ba2\u6237\u7aef\uff08OpenVPN2.2.x\u6216\u66f4\u65e9\u7684\u7248\u672c\uff09\u4e0a\u5de5\u4f5c\uff0c\u4f46\u7531\u4e8e\u8be5\u9009\u9879\u5df2\u88ab\u5f03\u7528\uff0c\u5b83\u4f1a\u4e2d\u65ad\u8f83\u65b0\u7684\u5ba2\u6237\u7aef\u3002<\/p>\n<p>Use tls-remote and quote the server CN\uff1a\u4e0etls-remote\u7684\u5de5\u4f5c\u65b9\u5f0f\u76f8\u540c\uff0c\u4f46\u5728CN\u4e0a\u6dfb\u52a0\u5f15\u53f7\u4ee5\u5e2e\u52a9\u67d0\u4e9b\u5ba2\u6237\u5904\u7406CN\u4e2d\u7684\u7a7a\u95f4\u3002<\/p>\n<p>Do not verify the server CN\uff1a\u7981\u7528\u5ba2\u6237\u7aef\u9a8c\u8bc1\u670d\u52a1\u5668\u8bc1\u4e66\u901a\u7528\u540d\u79f0\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Use Random Local Port:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u5bf9\u4e8e\u5f53\u524d\u7684\u5ba2\u6237\u7aef\uff0c\u9ed8\u8ba4\uff08\u9009\u4e2d\uff09\u662f\u6700\u597d\u7684\uff0c\u5426\u5219\u4e24\u4e2aOpenVPN\u8fde\u63a5\u4e0d\u80fd\u540c\u65f6\u5728\u5ba2\u6237\u7aef\u8bbe\u5907\u4e0a\u8fd0\u884c\u3002\u7136\u800c\uff0c\u4e00\u4e9b\u8f83\u8001\u7684\u5ba2\u6237\u7aef\u4e0d\u652f\u6301\u8fd9\u4e00\u70b9\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Use Microsoft Certificate Storage:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5728\u8bc1\u4e66\u5bfc\u51fa\u9009\u9879\u4e0b\uff0c\u5bf9\u4e8e\u5bfc\u51fa\u7684\u5b89\u88c5\u7a0b\u5e8f\u5ba2\u6237\u7aef\uff0c\u8fd9\u5c06\u628aCA\u548c\u7528\u6237\u8bc1\u4e66\u653e\u5165Microsoft\u7684\u8bc1\u4e66\u5b58\u50a8\u4e2d\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u4f7f\u7528\u8fd9\u4e9b\u6587\u4ef6\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Use a password to protect the pkcs12 file contents:<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u9009\u4e2d\u540e\uff0c\u8f93\u5165\u5bc6\u7801\u5e76\u786e\u8ba4\uff0c\u7136\u540e\u63d0\u4f9b\u7ed9\u5ba2\u6237\u7aef\u7684\u8bc1\u4e66\u548c\u5bc6\u94a5\u5c06\u88ab\u5bc6\u7801\u4fdd\u62a4\u3002 \u5982\u679cOpenVPN\u670d\u52a1\u5668\u914d\u7f6e\u4e3a\u7528\u6237\u8eab\u4efd\u9a8c\u8bc1\uff0c\u5219\u4f1a\u5bfc\u81f4\u7528\u6237\u5728\u52a0\u8f7d\u5ba2\u6237\u7aef\u65f6\u770b\u5230\u4e24\u4e2a\u4e0d\u540c\u7684\u5bc6\u7801\u63d0\u793a\uff1a\u4e00\u4e2a\u7528\u4e8e\u89e3\u5bc6\u5bc6\u94a5\u548c\u8bc1\u4e66\uff0c\u53e6\u4e00\u4e2a\u7528\u4e8e\u8fde\u63a5\u670d\u52a1\u5668\u65f6\u7684\u7528\u6237\u8eab\u4efd\u9a8c\u8bc1\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">Use Proxy:<\/th>\n<td class=\"field-body\">\u5982\u679c\u5ba2\u6237\u7aef\u4f4d\u4e8e\u4ee3\u7406\u540e\u9762\uff0c\u8bf7\u9009\u4e2d\u4f7f\u7528\u4ee3\u7406\u4e0e\u670d\u52a1\u5668\u901a\u4fe1\uff0c\u7136\u540e\u6839\u636e\u9700\u8981\u63d0\u4f9b\u4ee3\u7406\u670d\u52a1\u5668\u7c7b\u578b\uff0cIP\u5730\u5740\uff0c\u7aef\u53e3\u548c\u4ee3\u7406\u670d\u52a1\u5668\u8eab\u4efd\u9a8c\u8bc1\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">OpenVPNManager:<\/th>\n<td class=\"field-body\">\u9009\u4e2d\u6b64\u9009\u9879\u540e\uff0c\u9664\u4e86\u6b63\u5e38\u7684Windows\u5ba2\u6237\u7aef\u5916\uff0c\u8be5\u9009\u9879\u8fd8\u4f1a\u5c06Windows\u5b89\u88c5\u7a0b\u5e8f\u4e0eOpenVPNManager GUI\u6346\u7ed1\u5728\u4e00\u8d77\u3002 \u8fd9\u4e2a\u53ef\u9009\u7684GUI\u7ba1\u7406OpenVPN\u670d\u52a1\u7684\u65b9\u5f0f\u662f\uff0c\u4e00\u65e6\u5b89\u88c5\u5b83\u5c31\u4e0d\u9700\u8981\u7ba1\u7406\u5458\u7ea7\u522b\u7684\u6743\u9650\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Additional configuration options:<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5ba2\u6237\u7aef\u6240\u9700\u7684\u4efb\u4f55\u989d\u5916\u914d\u7f6e\u9009\u9879\u90fd\u53ef\u4ee5\u653e\u5728\u6b64\u8f93\u5165\u6846\u4e2d\u3002\u8fd9\u5927\u81f4\u76f8\u5f53\u4e8eOpenVPN\u914d\u7f6e\u9875\u9762\u4e0a\u7684\u9ad8\u7ea7\u9009\u9879\u6846\uff0c\u4f46\u8fd9\u662f\u4ece\u5ba2\u6237\u7aef\u7684\u89d2\u5ea6\u6765\u770b\u7684\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f:\u76ee\u524d\u6ca1\u6709\u4fdd\u5b58\u8fd9\u4e9b\u8bbe\u7f6e\u7684\u673a\u5236\uff0c\u56e0\u6b64\u6bcf\u6b21\u8bbf\u95ee\u9875\u9762\u65f6\u90fd\u5fc5\u987b\u5bf9\u5176\u8fdb\u884c\u68c0\u67e5\u548c\u8bbe\u7f6e\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u5b89\u88c5\u8f6f\u4ef6\u5305\u5217\u8868<\/h2>\n<p style=\"text-align: justify;\">\u5728\u201c\u5ba2\u6237\u7aef\u5b89\u88c5\u63d2\u4ef6\u201d\u4e0b\u662f\u8981\u5bfc\u51fa\u7684\u6f5c\u5728\u5ba2\u6237\u7aef\u5217\u8868\u3002\u5217\u8868\u7684\u5185\u5bb9\u53d6\u51b3\u4e8e\u670d\u52a1\u5668\u7684\u914d\u7f6e\u65b9\u5f0f\u4ee5\u53ca\u9632\u706b\u5899\u4e0a\u7684\u7528\u6237\u548c\u8bc1\u4e66\u3002<\/p>\n<p style=\"text-align: justify;\">\u4ee5\u4e0b\u5217\u8868\u63cf\u8ff0\u4e86\u670d\u52a1\u5668\u914d\u7f6e\u6837\u5f0f\u5982\u4f55\u5f71\u54cd\u8f6f\u4ef6\u5305\u4e2d\u7684\u5217\u8868\uff1a<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\" colspan=\"2\">Remote Access (SSL\/TLS):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u5217\u51fa\u4e86\u4e0eOpenVPN\u670d\u52a1\u5668\u4f7f\u7528\u76f8\u540cCA\u521b\u5efa\u7684\u7528\u6237\u8bc1\u4e66<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Remote Access (SSL\/TLS + User Auth \u2013 Local Users):<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u5217\u51fa\u4e86\u672c\u5730\u7528\u6237\u7684\u7528\u6237\u6761\u76ee\uff0c\u8fd9\u4e9b\u7528\u6237\u4e5f\u5177\u6709\u4e0eOpen***\u670d\u52a1\u5668\u76f8\u540c\u7684CA\u751f\u6210\u7684\u5173\u8054\u8bc1\u4e66\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\" colspan=\"2\">Remote Access (SSL\/TLS + User Auth \u2013 Remote Authentication):<\/th>\n<\/tr>\n<tr class=\"field-odd field\">\n<td><\/td>\n<td class=\"field-body\">\u7531\u4e8e\u7528\u6237\u662f\u8fdc\u7a0b\u7528\u6237\uff0c\u5217\u51fa\u4e86\u4e0eOpenVPN\u670d\u52a1\u5668\u4f7f\u7528\u76f8\u540cCA\u521b\u5efa\u7684\u7528\u6237\u8bc1\u4e66\u3002\u5047\u5b9a\u7528\u6237\u540d\u4e0e\u8bc1\u4e66\u7684\u901a\u7528\u540d\u79f0\u76f8\u540c\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">Remote Access (User Auth \u2013 Local Users or Remote Authentication):<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u9488\u5bf9\u6240\u6709\u7528\u6237\u663e\u793a\u5355\u4e2a\u914d\u7f6e\u6761\u76ee\uff0c\u56e0\u4e3a\u6ca1\u6709\u6bcf\u4e2a\u7528\u6237\u7684\u8bc1\u4e66\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify;\">\u672c\u7ae0\u5148\u524d\u5728\u5411\u5bfc\u4e2d\u6240\u505a\u7684\u793a\u4f8b\u8bbe\u7f6e\u662f\u9488\u5bf9SSL \/ TLS +Local Users\u7684\u7528\u6237\u8eab\u4efd\u9a8c\u8bc1\uff0c\u56e0\u6b64\u6bcf\u4e2a\u7528\u6237\u5728\u7cfb\u7edf\u4e0a\u663e\u793a\u4e00\u4e2a\u6761\u76ee\uff0c\u8be5\u6761\u76ee\u5177\u6709\u4e0eOpenVPN\u670d\u52a1\u5668\u76f8\u540c\u7684CA\u521b\u5efa\u7684\u8bc1\u4e66\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f:\u5982\u679c\u672a\u663e\u793a\u7528\u6237\uff0c\u6216\u8005\u5217\u8868\u4e2d\u7f3a\u5c11\u7279\u5b9a\u7528\u6237\uff0c\u5219\u7528\u6237\u4e0d\u5b58\u5728\u6216\u7528\u6237\u6ca1\u6709\u9002\u5f53\u7684\u8bc1\u4e66\u3002\u8bf7\u53c2\u9605<strong><em>\u672c\u5730\u7528\u6237<\/em><\/strong>\u4ee5\u4e86\u89e3\u6b63\u786e\u521b\u5efa\u7528\u6237\u548c\u8bc1\u4e66\u7684\u8fc7\u7a0b\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u5b89\u88c5\u8f6f\u4ef6\u5305\u7c7b\u578b<\/h2>\n<p style=\"text-align: justify;\">\u4ee5\u4e0d\u540c\u65b9\u5f0f\u5bfc\u51fa\u914d\u7f6e\u548c\u76f8\u5173\u6587\u4ef6\u7684\u5ba2\u6237\u7aef\u5217\u51fa\u4e86\u8bb8\u591a\u9009\u9879\u3002\u6bcf\u4e2a\u90fd\u9002\u5e94\u4e0d\u540c\u7684\u6f5c\u5728\u5ba2\u6237\u7c7b\u578b\u3002<\/p>\n<h3 style=\"text-align: justify;\">\u6807\u51c6\u914d\u7f6e<\/h3>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Archive:<\/th>\n<td class=\"field-body\">\u4e0b\u8f7d\u5305\u542b\u914d\u7f6e\u6587\u4ef6\uff0c\u670d\u52a1\u5668TLS\u5bc6\u94a5\uff08\u5982\u679c\u5df2\u5b9a\u4e49\uff09\u4ee5\u53ca\u5305\u542bCA\u8bc1\u4e66\u3001\u5ba2\u6237\u7aef\u5bc6\u94a5\u548c\u5ba2\u6237\u7aef\u8bc1\u4e66PKCS\uff0312\u6587\u4ef6\u7684ZIP\u5b58\u6863\u3002 \u6b64\u9009\u9879\u53ef\u7528\u4e8eLinux\u5ba2\u6237\u7aef\u6216Tunnelblick\u7b49\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">File Only:<\/th>\n<td class=\"field-body\">\u4ec5\u4e0b\u8f7d\u57fa\u672c\u914d\u7f6e\u6587\u4ef6\uff0c\u65e0\u9700\u8bc1\u4e66\u6216\u5bc6\u94a5\u3002\u8fd9\u4e3b\u8981\u7528\u4e8e\u5728\u4e0d\u4e0b\u8f7d\u5176\u4ed6\u4fe1\u606f\u7684\u60c5\u51b5\u4e0b\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u672c\u8eab\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u5185\u8054\u914d\u7f6e<\/h3>\n<p style=\"text-align: justify;\">\u8be5\u9009\u62e9\u4e0b\u8f7d\u5e26\u6709\u5185\u8054\u8bc1\u4e66\u548c\u5bc6\u94a5\u7684\u5355\u4e2a\u914d\u7f6e\u6587\u4ef6\u3002 \u8fd9\u79cd\u683c\u5f0f\u9002\u7528\u4e8e\u6240\u6709\u5e73\u53f0\uff0c\u5c24\u5176\u662fAndroid\u548ciOS\u5ba2\u6237\u7aef\uff0c\u6216\u624b\u52a8\u5c06\u914d\u7f6e\u590d\u5236\u5230\u5df2\u5b89\u88c5\u5ba2\u6237\u7aef\u7684\u7cfb\u7edf\u3002 \u6b64\u9009\u9879\u9002\u7528\u4e8e\u57fa\u4e8eOpenVPN 2.1\u6216\u66f4\u9ad8\u7248\u672c\u7684\u4efb\u4f55\u5ba2\u6237\u7aef\u7c7b\u578b\u3002<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">Android:<\/th>\n<td class=\"field-body\">\u4e0eAndroid 4.x\u53ca\u66f4\u9ad8\u7248\u672c\u4e2d\u63d0\u5230\u7684Android OpenVPN\u5ba2\u6237\u7aef\u4e00\u8d77\u4f7f\u7528\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\" colspan=\"2\">OpenVPN Connect (iOS\/Android):<\/th>\n<\/tr>\n<tr class=\"field-even field\">\n<td><\/td>\n<td class=\"field-body\">\u7528\u4e8eiOS\u6216Android\u4e0a\u7684OpenVPN Connect\u5ba2\u6237\u7aef\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">Others:<\/th>\n<td class=\"field-body\">\u4efb\u4f55\u6807\u51c6OpenVPN\u5ba2\u6237\u7aef\u90fd\u53ef\u4ee5\u5728Windows\u3001OS X\u6216BSD \/ Linux\u7b49\u5e73\u53f0\u4e0a\u4f7f\u7528\u3002\u5b83\u4e5f\u9002\u7528\u4e8eOS X\u4e0a\u7684Tunnelblick\uff0c\u53ea\u9700\u4e0b\u8f7d\u5185\u8054\u914d\u7f6e\u5e76\u5c06\u5176\u62d6\u5165Tunnelblick\u7684\u914d\u7f6e\u6587\u4ef6\u5939\u5373\u53ef\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f<\/p>\n<p style=\"text-align: justify;\">\u786e\u4fdd\u624b\u673a\u6709\u6b63\u786e\u7684\u65f6\u949f\u8bbe\u7f6e\u548c\/\u6216NTP\u670d\u52a1\u5668\uff0c\u5426\u5219\u8bc1\u4e66\u5c06\u65e0\u6cd5\u9a8c\u8bc1\uff0c\u5e76\u4e14VPN\u4e0d\u4f1a\u8fde\u63a5\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u8b66\u544a<\/p>\n<p style=\"text-align: justify;\">\u901a\u5e38\u8fd9\u4e9b\u624b\u673a\u53ea\u652f\u6301\u4f7f\u7528SHA1\u4f5c\u4e3a\u8bc1\u4e66\u6563\u5217\u3002 \u786e\u4fddCA\u3001\u670d\u52a1\u5668\u8bc1\u4e66\u548c\u5ba2\u6237\u7aef\u8bc1\u4e66\u90fd\u662f\u4f7f\u7528SHA1\u751f\u6210\u7684\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u5931\u8d25\u3002 \u5b83\u4eec\u4e5f\u53ef\u80fd\u53ea\u652f\u6301AES-128-CBC\u8fd9\u7c7b\u6709\u9650\u7684\u52a0\u5bc6\u7b97\u6cd5\u3002<\/p>\n<h3 style=\"text-align: justify;\">Windows\u00a0\u5b89\u88c5<\/h3>\n<p style=\"text-align: justify;\">Windows\u5b89\u88c5\u7a0b\u5e8f\u9009\u9879\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u6613\u7528\u7684\u53ef\u6267\u884c\u5b89\u88c5\u7a0b\u5e8f\u6587\u4ef6\uff0c\u5176\u4e2d\u5305\u542b\u5d4c\u5165\u4e86\u914d\u7f6e\u6570\u636e\u7684OpenVPN\u5ba2\u6237\u7aef\u3002 \u5b89\u88c5\u7a0b\u5e8f\u50cf\u666e\u901a\u7684Windows OpenVPN\u5ba2\u6237\u7aef\u5b89\u88c5\u7a0b\u5e8f\u4e00\u6837\u8fd0\u884c\uff0c\u4f46\u5b83\u4e5f\u4f1a\u590d\u5236\u6240\u6709\u9700\u8981\u7684\u8bbe\u7f6e\u548c\u8bc1\u4e66\u3002<\/p>\n<p style=\"text-align: justify;\">\u76ee\u524d\u6709\u56db\u79cd\u53ef\u7528\u9009\u9879\uff1a<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">x86-xp:<\/th>\n<td class=\"field-body\">32\u4f4d\u5b89\u88c5\u7a0b\u5e8f\u53ef\u5728Windows XP\u548c\u66f4\u9ad8\u7248\u672c\u4e0a\u4f7f\u7528<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">x64-xp:<\/th>\n<td class=\"field-body\">64\u4f4d\u5b89\u88c5\u7a0b\u5e8f\u53ef\u5728Windows XP\u548c\u66f4\u9ad8\u7248\u672c\u4e0a\u4f7f\u7528<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">x86-win6:<\/th>\n<td class=\"field-body\">32\u4f4d\u5b89\u88c5\u7a0b\u5e8f\u53ef\u7528\u4e8eWindows Vista\u548c\u66f4\u9ad8\u7248\u672c\uff0c\u5e76\u5305\u542b\u4e00\u4e2a\u66f4\u65b0\u7684tap\u9a71\u52a8\u7a0b\u5e8f<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">x64-win6:<\/th>\n<td class=\"field-body\">64\u4f4d\u5b89\u88c5\u7a0b\u5e8f\u53ef\u7528\u4e8eWindows Vista\u548c\u66f4\u9ad8\u7248\u672c\uff0c\u5e76\u5305\u542b\u4e00\u4e2a\u66f4\u65b0\u7684tap\u9a71\u52a8\u7a0b\u5e8f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u4e00\u5b9a\u8981\u5355\u51fb\u4e0b\u4e00\u6b65\/\u5b8c\u6210\u6574\u4e2a\u5b89\u88c5\u8fc7\u7a0b\u3002\u8bf7\u4e0d\u8981\u5728\u4efb\u4f55\u6b65\u9aa4\u4e2d\u5355\u51fb\u53d6\u6d88\u5b89\u88c5\uff0c\u5426\u5219\u5ba2\u6237\u7aef\u7cfb\u7edf\u53ef\u80fd\u5df2\u5b89\u88c5\u5ba2\u6237\u7aef\uff0c\u4f46\u6ca1\u6709\u5bfc\u5165\u914d\u7f6e\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u8b66\u544a\uff1a\u5728\u542f\u7528\u4e86UAC\uff08\u7528\u6237\u5e10\u6237\u63a7\u5236\uff09\u7684Windows Vista 7,8,10\u548c\u66f4\u9ad8\u7248\u672c\u4e2d\uff0c\u5ba2\u6237\u7aef\u5fc5\u987b\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u3002 \u53f3\u952e\u5355\u51fbOpenVPN GUI\u56fe\u6807\uff0c\u7136\u540e\u5355\u51fb\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u4ee5\u4f7f\u5176\u5de5\u4f5c\u3002 \u5b83\u53ef\u4ee5\u5728\u6ca1\u6709\u7ba1\u7406\u6743\u9650\u7684\u60c5\u51b5\u4e0b\u8fde\u63a5\uff0c\u4f46\u65e0\u6cd5\u6dfb\u52a0\u901a\u8fc7OpenVPN\u8fde\u63a5\u5f15\u5bfc\u6d41\u91cf\u6240\u9700\u7684\u8def\u7531\uff0c\u5bfc\u81f4\u5b83\u4e0d\u53ef\u7528\u3002 \u5feb\u6377\u65b9\u5f0f\u7684\u5c5e\u6027\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u59cb\u7ec8\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8\u7a0b\u5e8f\u3002 \u8be5\u9009\u9879\u4f4d\u4e8e\u5feb\u6377\u65b9\u5f0f\u5c5e\u6027\u7684\u517c\u5bb9\u6027\u9009\u9879\u5361\u4e0a\u3002 \u56f4\u7ed5\u8fd9\u4e2a\u8981\u6c42\u7684\u4e00\u4e2a\u65b9\u6cd5\u662f\u5728\u5bfc\u51fa\u524d\u68c0\u67e5OpenVPNManager\u4ee5\u5728Windows\u4e0a\u4f7f\u7528\u5907\u7528OpenVPN\u7ba1\u7406GUI\u3002<\/p>\n<p style=\"text-align: justify;\">Viscosity\u5ba2\u6237\u7aef\u4e5f\u53ef\u7528\u4e8eWindows\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u7ba1\u7406\u6743\u9650\u5373\u53ef\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n<h3 style=\"text-align: justify;\">Viscosity\u8f6f\u4ef6<\/h3>\n<p style=\"text-align: justify;\">\u8fd9\u4e0e\u4e0a\u9762\u7684\u914d\u7f6e\u5b58\u6863\u4e00\u6837\uff0c\u4f46\u9002\u7528\u4e8eOS X\u548cWindows\u4e2d\u4f7f\u7528\u7684Viscosity OpenVPN\u5ba2\u6237\u7aef\u3002\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u4e86<a class=\"reference external\" href=\"https:\/\/www.sparklabs.com\/viscosity\/\">Viscosity<\/a>\u5ba2\u6237\u7aef\uff0c\u8bf7\u4e0b\u8f7d\u8be5\u8f6f\u4ef6\u5305\u5e76\u5355\u51fb\u5b83\u5c06\u5176\u5bfc\u5165\u5ba2\u6237\u7aef\u3002<\/p>\n<h1 style=\"text-align: justify;\">Windows\u00a0\u5b89\u88c5<\/h1>\n<p style=\"text-align: justify;\">OpenVPN\uff0c\u53ef\u4eceOpenVPN\u793e\u533a\u4e0b\u8f7d\u9875\u9762\u4e0b\u8f7d\u3002 \u5728\u64b0\u5199\u672c\u6587\u65f6\uff0c\u5927\u591a\u6570Windows\u7528\u6237\u7684\u6700\u4f73\u7248\u672c\u662f2.4.x-I60x\u5b89\u88c5\u7a0b\u5e8f\u3002 2.4\u7cfb\u5217\u662f\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c<\/p>\n<p style=\"text-align: justify;\">\u5b89\u88c5\u5f88\u7b80\u5355\uff0c\u63a5\u53d7\u6240\u6709\u7684\u9ed8\u8ba4\u8bbe\u7f6e\u3002 \u5b89\u88c5\u5c06\u4e3atun\u63a5\u53e3\u5728\u5ba2\u6237\u7aef\u7cfb\u7edf\u4e0a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u672c\u5730\u8fde\u63a5\u3002 \u5f53VPN\u5efa\u7acb\u65f6\uff0c\u8be5\u63a5\u53e3\u5c06\u663e\u793a\u8fde\u63a5\uff0c\u5426\u5219\u5c06\u663e\u793a\u4e3a\u65ad\u5f00\u8fde\u63a5\u3002 \u4e0d\u9700\u8981\u914d\u7f6e\u6b64\u63a5\u53e3\uff0c\u56e0\u4e3a\u5b83\u7684\u914d\u7f6e\u5c06\u4eceOpenVPN\u670d\u52a1\u5668\u6216\u5ba2\u6237\u7aef\u914d\u7f6e\u4e2d\u63d0\u53d6\u3002<\/p>\n<h1 style=\"text-align: justify;\">iOS<\/h1>\n<p style=\"text-align: justify;\">iOS\u4e5f\u53ef\u4ee5\u4f7f\u7528App Store\u4e2d\u63d0\u4f9b\u7684iOS OpenVPN Connect\u5ba2\u6237\u7aef\u672c\u5730\u8fd0\u884cOpenVPN\u3002 \u8fd9\u4e2a\u5e94\u7528\u7a0b\u5e8f\u4e0d\u9700\u8981\u8d8a\u72f1iOS\u8bbe\u5907\u3002 \u8be5\u5e94\u7528\u7a0b\u5e8f\u5fc5\u987b\u5728iOS\u8bbe\u5907\u4e4b\u5916\u914d\u7f6e\u914d\u7f6e\u6587\u4ef6\u548c\u8bc1\u4e66\uff0c\u7136\u540e\u5c06\u5176\u5bfc\u5165\u5230\u8be5\u8bbe\u5907\u3002 pfSense\u4e0a\u7684OpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\u53ef\u7528\u4e8e\u5bfc\u51faOpenVPN Connect\u7c7b\u578b\u7684\u5185\u8054\u914d\u7f6e\u3002 \u5c06\u751f\u6210\u7684.OVPN\u6587\u4ef6\u4f20\u8f93\u5230\u76ee\u6807\u8bbe\u5907\uff0c\u7136\u540e\u4f7f\u7528iTunes\u5c06\u6587\u4ef6\u4f20\u8f93\u5230\u5e94\u7528\u7a0b\u5e8f\u6216\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u53d1\u9001\u5230\u8bbe\u5907\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u5176\u4ed6\u65b9\u6cd5\u8fdc\u7a0b\u83b7\u53d6\u6587\u4ef6\u5230\u8bbe\u5907\u4e0a\uff0c\u4f8b\u5982Dropbox\u3001Google Drive\u6216Box\uff0c\u5176\u5de5\u4f5c\u65b9\u5f0f\u4e0e\u7535\u5b50\u90ae\u4ef6\u65b9\u6cd5\u7c7b\u4f3c\uff0c\u901a\u5e38\u66f4\u5b89\u5168\uff0c\u56e0\u4e3a\u5185\u5bb9\u5c06\u4fdd\u6301\u4e13\u7528\u5e76\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u8fdb\u884c\u5b58\u50a8\u52a0\u5bc6\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u4f7f\u7528\u7535\u5b50\u90ae\u4ef6\u65b9\u5f0f\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u51faOpenVPNConnect\u7c7b\u578bVPN\u7684\u5185\u8054\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\u5c06\u5bfc\u51fa\u7684\u6587\u4ef6\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u53d1\u9001\u5230iOS\u8bbe\u5907\u4e0a\u914d\u7f6e\u7684\u5e10\u6237<\/li>\n<li>\u5728\u8bbe\u5907\u4e0a\u5b89\u88c5OpenVPN Connect\u5e94\u7528\u7a0b\u5e8f<\/li>\n<li>\u6253\u5f00\u8bbe\u5907\u4e0a\u7684\u90ae\u4ef6\u5e94\u7528\u7a0b\u5e8f<\/li>\n<li>\u6253\u5f00\u5305\u542b\u9644\u4ef6\u7684\u7535\u5b50\u90ae\u4ef6<\/li>\n<li>\u70b9\u51fb\u9644\u4ef6\u3002\u5f53\u5b83\u88ab\u8f7b\u6572\u65f6\uff0c\u5176\u4e2d\u4e00\u4e2a\u9009\u62e9\u662f\u7528OpenVPN Connect\u5e94\u7528\u7a0b\u5e8f\u6253\u5f00\u5b83<\/li>\n<li>\u70b9\u51fb\u4ee5\u9009\u62e9OpenVPN\u8fde\u63a5\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u5c06\u63d0\u4f9b\u5bfc\u5165\u914d\u7f6e<\/li>\n<li>\u70b9\u51fb+\u6309\u94ae\uff0c\u914d\u7f6e\u6587\u4ef6\u5c06\u88ab\u5bfc\u5165<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u4f7f\u7528iTunes\u5c06\u914d\u7f6e\u4f20\u8f93\u5230iOS\u8bbe\u5907\u6bd4\u7535\u5b50\u90ae\u4ef6\u7b80\u5355\u4e14\u66f4\u5b89\u5168\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u51faOpenVPN Connect\u7c7b\u578bVPN\u7684\u5185\u8054\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\u5c06iOS\u8bbe\u5907\u8fde\u63a5\u5230\u7535\u8111\u5e76\u6253\u5f00iTunes<\/li>\n<li>\u627e\u5230\u5e76\u5b89\u88c5OpenVPN Connect\u5e94\u7528\u7a0b\u5e8f<\/li>\n<li>\u5355\u51fb\u5de5\u5177\u680f\u4e2diTunes\u5185\u7684\u8bbe\u5907\u56fe\u6807<\/li>\n<li>\u9009\u62e9\u7a97\u53e3\u5de6\u4fa7\u7684\u5e94\u7528\u7a0b\u5e8f<\/li>\n<li>\u5728\u6b64\u5c4f\u5e55\u7684\u5e95\u90e8\uff08\u5411\u4e0b\u6eda\u52a8\uff09\u627e\u5230\u6587\u4ef6\u5171\u4eab\u90e8\u5206<\/li>\n<li>\u70b9\u51fb\u6587\u4ef6\u5171\u4eab\u4e0b\u7684OpenVPN\u56fe\u6807\uff0c\u6587\u4ef6\u5217\u8868\u5c06\u663e\u793a\u5728\u6807\u9898OpenVPNDocuments\u4e0b\u7684\u53f3\u4fa7<\/li>\n<li>\u901a\u8fc7\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u4e4b\u4e00\u5c06\u6587\u4ef6\u590d\u5236\u5230\u8bbe\u5907\u3002\u8be5\u6587\u4ef6\u5c06\u7acb\u5373\u5728iOS\u8bbe\u5907\u4e0a\u53ef\u7528\u3002<\/li>\n<\/ul>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u4f7f\u7528Finder\u5c06.OVPN\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u533a\u57df &#8211; \u6216 &#8211;<\/li>\n<li>\u70b9\u51fb\u6dfb\u52a0\u5e76\u627e\u5230\u8981\u5bfc\u5165\u7684\u6587\u4ef6<\/li>\n<\/ul>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u6253\u5f00OpenVPN Connect\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u5c06\u63d0\u793a\u5bfc\u5165\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\u70b9\u51fb+\u6309\u94ae\uff0c\u914d\u7f6e\u6587\u4ef6\u5c06\u88ab\u5bfc\u5165<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5982\u679c\u914d\u7f6e\u6587\u4ef6\u914d\u7f6e\u4e3a\u7528\u6237\u8eab\u4efd\u9a8c\u8bc1\uff0c\u5b83\u5c06\u63d0\u793a\u8f93\u5165\u51ed\u636e\uff0c\u53ef\u4ee5\u9009\u62e9\u4fdd\u5b58\u8be5\u51ed\u636e\u3002\u5728\u51ed\u636e\u63d0\u793a\u4e0b\u65b9\u662f\u8fde\u63a5\u72b6\u6001\uff0c\u8be5\u72b6\u6001\u5c06\u5728\u65ad\u5f00\u548c\u5df2\u8fde\u63a5\u4e4b\u95f4\u6539\u53d8\uff0c\u5e76\u4e14\u8fd8\u6307\u793a\u4f55\u65f6\u5c1d\u8bd5\u8fde\u63a5\u3002\u70b9\u51fb\u8fd9\u4e2a\u5c06\u4f1a\u6253\u5f00OpenVPN\u5ba2\u6237\u7aef\u65e5\u5fd7\uff0c\u8fd9\u5728\u8fde\u63a5\u9047\u5230\u95ee\u9898\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u8fde\u63a5VPN\uff0c\u8bf7\u5c06\u914d\u7f6e\u6587\u4ef6\u5e95\u90e8\u7684\u6ed1\u5757\u4ece\u5173\u95ed\u79fb\u52a8\u5230\u5f00\u542f\uff0c\u5e94\u7528\u7a0b\u5e8f\u5c06\u5c1d\u8bd5\u8fde\u63a5\u3002\u8981\u624b\u52a8\u65ad\u5f00\u8fde\u63a5\uff0c\u8bf7\u5c06\u6ed1\u5757\u79fb\u56de\u5173\u95ed\u3002<\/p>\n<p style=\"text-align: justify;\">\u4e3a\u6b64\u5ba2\u6237\u7aef\u624b\u52a8\u6784\u5efa\u914d\u7f6e\u6587\u4ef6\u65f6\uff0c\u5b83\u9700\u8981\u5185\u8054\u914d\u7f6e\u6837\u5f0f\u6216\u5355\u72ec\u7684CA\u3001\u5ba2\u6237\u7aef\u8bc1\u4e66\u3001\u5ba2\u6237\u7aef\u8bc1\u4e66\u5bc6\u94a5\u548cTLS\u5bc6\u94a5\u6587\u4ef6\uff08\u5982\u679c\u4f7f\u7528\uff09\u3002\u5b83\u4f3c\u4e4e\u5e76\u4e0d\u63a5\u53d7\u5305\u542bCA\u548c\u5ba2\u6237\u7aef\u8bc1\u4e66\/\u5bc6\u94a5\u7684.p12\u6587\u4ef6\uff0c\u56e0\u6b64\u9ed8\u8ba4\u7684\u201c\u914d\u7f6e\u5b58\u6863\u201d\u6837\u5f0f\u5c06\u4e0d\u8d77\u4f5c\u7528\uff0c\u5c3d\u7ba1\u6709\u4e9b\u7528\u6237\u62a5\u544a\u6210\u529f\u5730\u5bfc\u5165\u4e86\u4eceViscosity\u8f6f\u4ef6\u5305\u4e2d\u63d0\u53d6\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u624b\u52a8\u914d\u7f6e\u5ba2\u6237\u7aef<\/h1>\n<p style=\"text-align: justify;\">\u5ba2\u6237\u7aef\u624b\u52a8\u5b89\u88c5\u9700\u8981\u66f4\u591a\u7684\u6b65\u9aa4\u6765\u5c06\u8f6f\u4ef6\u548c\u8bbe\u7f6e\u5b89\u88c5\u5230\u5ba2\u6237\u7aefPC\u4e0a\u3002<\/p>\n<p style=\"text-align: justify;\">\u5b89\u88c5OpenVPN\u4e4b\u540e\uff0c\u5c06\u8bc1\u4e66\u590d\u5236\u5230\u5ba2\u6237\u7aef\u5e76\u521b\u5efa\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u590d\u5236\u8bc1\u4e66<\/h2>\n<p style=\"text-align: justify;\">\u6bcf\u4e2a\u5ba2\u6237\u7aef\u9700\u8981\u9632\u706b\u5899\u63d0\u4f9b\u4e09\u4e2a\u6587\u4ef6\uff1aCA\u8bc1\u4e66\u3001\u5ba2\u6237\u7aef\u8bc1\u4e66\u548c\u5ba2\u6237\u7aef\u5bc6\u94a5\u3002\u5982\u679c\u670d\u52a1\u5668\u914d\u7f6e\u4e86TLS\u8eab\u4efd\u9a8c\u8bc1\uff0c\u5219\u53ea\u9700\u8981\u7b2c\u56db\u4e2a\u6587\u4ef6TLS\u5bc6\u94a5\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u4ece\u7cfb\u7edf&gt;\u8bc1\u4e66\u7ba1\u7406\uff0cCAs\u9009\u9879\u5361\u5bfc\u51faCA\u8bc1\u4e66\uff0c\u5e76\u5c06\u5176\u53e6\u5b58\u4e3aca.crt<\/li>\n<li>\u6309\u7167\u672c\u5730\u7528\u6237\u4e2d\u7684\u8bf4\u660e\u5bfc\u51fa\u5ba2\u6237\u7aef\u8bc1\u4e66\u548c\u5bc6\u94a5\uff0c\u5e76\u5c06\u5176\u4fdd\u5b58\u4e3ausername.crt\u548cusername.key<\/li>\n<li>\u5c06\u8fd9\u4e9b\u6587\u4ef6\u590d\u5236\u5230\u5ba2\u6237\u7aef\u4e0aOpenVPN config\u76ee\u5f55<\/li>\n<li>\u5982\u679c\u5728\u6b64OpenVPN\u670d\u52a1\u5668\u4e0a\u4f7f\u7528TLS\u8ba4\u8bc1\uff0c\u5fc5\u987b\u4ece\u670d\u52a1\u5668\u914d\u7f6e\u9875\u9762\u590d\u5236TLS\u5bc6\u94a5\u3002 \u5c06\u5176\u4fdd\u5b58\u5230\u4e00\u4e2a\u540d\u4e3atls.key\u7684\u65b0\u6587\u672c\u6587\u4ef6\u4e2d\uff0c\u5e76\u5c06\u5176\u5305\u542b\u5728config\u6587\u4ef6\u5939\u4e2d\u3002<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u521b\u5efa\u914d\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u5c06\u8bc1\u4e66\u590d\u5236\u5230\u5ba2\u6237\u7aef\u540e\uff0c\u5fc5\u987b\u521b\u5efaOpenVPN\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6\u3002\u8fd9\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u7eaf\u6587\u672c\u6587\u4ef6\u7f16\u8f91\u5668\uff08\u4f8b\u5982Windows\u4e0a\u7684\u8bb0\u4e8b\u672c\uff09\u6765\u5b8c\u6210\u3002\u4ee5\u4e0b\u663e\u793a\u4e86\u6700\u5e38\u7528\u7684\u9009\u9879:<\/p>\n<p style=\"text-align: justify;\">client<\/p>\n<p style=\"text-align: justify;\">dev tun<\/p>\n<p style=\"text-align: justify;\">proto udp<\/p>\n<p style=\"text-align: justify;\">remote VPN.example.com 1194<\/p>\n<p style=\"text-align: justify;\">ping 10<\/p>\n<p style=\"text-align: justify;\">resolv-retry infinite<\/p>\n<p style=\"text-align: justify;\">nobind<\/p>\n<p style=\"text-align: justify;\">persist-key<\/p>\n<p style=\"text-align: justify;\">persist-tun<\/p>\n<p style=\"text-align: justify;\">ca ca.crt<\/p>\n<p style=\"text-align: justify;\">cert username.crt<\/p>\n<p style=\"text-align: justify;\">key username.key<\/p>\n<p style=\"text-align: justify;\">verb 3<\/p>\n<p style=\"text-align: justify;\">comp-lzo<\/p>\n<p style=\"text-align: justify;\">tls-auth tls.key 1<\/p>\n<p style=\"text-align: justify;\">auth-user-pass<\/p>\n<table class=\"docutils field-list\">\n<colgroup>\n<col class=\"field-name\" \/>\n<col class=\"field-body\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr class=\"field-odd field firstRow\">\n<th class=\"field-name\">remote:<\/th>\n<td class=\"field-body\">\u6307\u5b9a\u8fdc\u7a0bOpenVPN\u670d\u52a1\u5668\u7684\u4e3b\u673a\u548c\u7aef\u53e3\u3002 IP\u5730\u5740\u6216FQDN\u53ef\u4ee5\u5728\u6b64\u5904\u6307\u5b9a\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">proto:<\/th>\n<td class=\"field-body\">\u6307\u5b9aOpenVPN\u8fde\u63a5\u4f7f\u7528\u7684\u534f\u8bae\u3002\u5982\u679cTCP\u5728OpenVPN\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\uff0c\u5219\u5c06\u6b64\u884c\u66f4\u6539\u4e3aproto tcp\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">ca, cert, key:<\/th>\n<td class=\"field-body\">\u5fc5\u987b\u76f8\u5e94\u5730\u4fee\u6539\u6bcf\u4e2a\u5ba2\u6237\u7aef\u4ee5\u53cd\u6620\u4e4b\u524d\u4fdd\u5b58\u7684\u6587\u4ef6\u540d\u3002<\/td>\n<\/tr>\n<tr class=\"field-even field\">\n<th class=\"field-name\">tls-auth:<\/th>\n<td class=\"field-body\">\u5982\u679c\u4e0d\u4f7f\u7528TLS\u8ba4\u8bc1\uff0c\u5219\u53ef\u4ee5\u7701\u7565tls-auth\u884c\u3002<\/td>\n<\/tr>\n<tr class=\"field-odd field\">\n<th class=\"field-name\">auth-user-pass:<\/th>\n<td class=\"field-body\">\u5982\u679c\u8fdc\u7a0b\u8bbf\u95eeVPN\u4e0d\u5305\u542b\u7528\u6237\u540d\u548c\u5bc6\u7801\u8ba4\u8bc1\uff0c\u8bf7\u7701\u7565\u6b64\u884c\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align: justify;\">\u5c06\u914d\u7f6e\u548c\u5bc6\u94a5\u5206\u53d1\u7ed9\u5ba2\u6237\u7aef<\/h3>\n<p style=\"text-align: justify;\">\u5c06\u5bc6\u94a5\u548cOpenVPN\u914d\u7f6e\u5206\u53d1\u7ed9\u5ba2\u6237\u7aef\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u662f\u901a\u8fc7OpenVPN\u5ba2\u6237\u7aef\u5bfc\u51fa\u63d2\u4ef6\u3002 \u5982\u679c\u7528\u63d2\u4ef6\u4e0d\u662f\u4e00\u4e2a\u53ef\u884c\u7684\u9009\u62e9\uff0c\u5c06\u6240\u9700\u7684\u6587\u4ef6\u653e\u5165ZIP\u538b\u7f29\u6587\u4ef6\u6216\u81ea\u89e3\u538b\u538b\u7f29\u6587\u4ef6\u4e2d\uff0c\u81ea\u52a8\u89e3\u538b\u5230C\uff1a\\ Program Files \\ OpenVPN \\ config\u3002 \u8fd9\u5fc5\u987b\u5b89\u5168\u5730\u4f20\u8f93\u7ed9\u6700\u7ec8\u7528\u6237\uff0c\u5e76\u4e14\u51b3\u4e0d\u80fd\u901a\u8fc7\u672a\u52a0\u5bc6\u7684\u4e0d\u53ef\u4fe1\u7f51\u7edc\u8fdb\u884c\u4f20\u9012\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenVPN OpenVPN\u548cIPv6 OpenVPN\u914d\u7f6e\u9009\u9879 \u4f7f\u7528OpenV &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=187\">\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":[114],"class_list":["post-187","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-openvpn"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/187","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=187"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/187\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}