{"id":696,"date":"2018-10-12T23:07:30","date_gmt":"2018-10-12T15:07:30","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=696"},"modified":"2020-08-24T21:45:35","modified_gmt":"2020-08-24T13:45:35","slug":"%e5%9c%a8pfsense%e4%b8%ad%e5%b0%86google-cloud-identity%e9%85%8d%e7%bd%ae%e4%b8%ba%e8%ba%ab%e4%bb%bd%e8%ae%a4%e8%af%81%e7%9a%84%e6%9d%a5%e6%ba%90","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=696","title":{"rendered":"\u5728pfSense\u4e2d\u5c06Google Cloud Identity\u914d\u7f6e\u4e3a\u8eab\u4efd\u8ba4\u8bc1\u7684\u6765\u6e90"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"https:\/\/support.google.com\/cloudidentity\/answer\/9048516\" target=\"_self\" rel=\"noopener noreferrer\"><strong>Secure LDAP<\/strong><\/a>\u670d\u52a1\u63d0\u4f9b\u4e86\u4e00\u79cd\u5c06\u57fa\u4e8eLDAP\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u670d\u52a1\u8fde\u63a5\u5230Cloud Identity\u6216G Suite\u7684\u7b80\u5355\u800c\u5b89\u5168\u7684\u65b9\u6cd5\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u5b89\u5168LDAP\uff0c\u60a8\u53ef\u4ee5\u5c06Cloud Directory\u7528\u4f5c\u57fa\u4e8e\u4e91\u7684LDAP\u670d\u52a1\u5668\uff0c\u4ee5\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3001\u6388\u6743\u548c\u76ee\u5f55\u67e5\u627e\u3002\u8fde\u63a5\u5230<strong>Secure LDAP<\/strong>\u670d\u52a1\u7684\u57fa\u4e8eLDAP\u7684\u5e94\u7528\u7a0b\u5e8f\uff08\u4f8b\u5982\uff0cAtlassian Jira\uff09\u548cIT\u57fa\u7840\u67b6\u6784\uff08\u4f8b\u5982\uff0cV-P-N\u670d\u52a1\u5668\uff09\uff0c\u53ef\u4ee5\u662f\u5185\u90e8\u90e8\u7f72\uff0c\u4e5f\u53ef\u4ee5\u662f\u57fa\u7840\u67b6\u6784\u5373\u670d\u52a1\u5e73\u53f0\uff0c\u4f8b\u5982Google Compute Engine \uff0cAWS\u6216Azure\u3002<\/p>\n<p style=\"text-align: justify;\">\u60a8\u53ef\u4ee5\u4f7f\u7528<strong>Secure LDAP<\/strong>\u6765\u51cf\u5c11\u4f20\u7edf\u7684\u76ee\u5f55\u670d\u52a1\u5668\u5360\u7528\u7a7a\u95f4 \uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u4ec5\u6307\u5411<strong>Secure LDAP<\/strong>\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/cloud.google.com\/blog\/products\/identity-security\/simplifying-identity-and-access-management-for-more-businesses\">Google Cloud Identity LDAP\u670d\u52a1<\/a>\u53ef\u7528\u4e8e\u5728pfSense\u4e0a\u5bf9\u7528\u6237\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/p>\n<p style=\"text-align: justify;\">\u8be5\u65b9\u6cd5\u53d6\u51b3\u4e8e\u9632\u706b\u5899\u4e0a\u5b89\u88c5\u7684pfSense\u8f6f\u4ef6\u7684\u7248\u672c\u3002\u8fd9\u662f\u56e0\u4e3aGoogle Cloud Identity\u9700\u8981\u5ba2\u6237\u7aef\u8bc1\u4e66\u624d\u80fd\u5efa\u7acb<strong>Secure LDAP<\/strong>\u8fde\u63a5\u3002<\/p>\n<p style=\"text-align: justify;\">\u8fd0\u884cpfSense2.4.4-RELEASE-p1\u6216\u66f4\u9ad8\u7248\u672c\u7684\u9632\u706b\u5899\u53ef\u4ee5\u76f4\u63a5\u5728LDAP\u8eab\u4efd\u9a8c\u8bc1\u6e90\u4e0a\u4f7f\u7528\u5ba2\u6237\u7aef\u8bc1\u4e66\u3002<\/p>\n<p style=\"text-align: justify;\">\u8fd0\u884cpfSense CE\u6216pfSense2.4.4-RELEASE\u7684\u9632\u706b\u5899\u9700\u8981stunnel\u63d2\u4ef6\u624d\u80fd\u5efa\u7acb<strong>Secure LDAP<\/strong>\u8fde\u63a5\u3002<\/p>\n<p style=\"text-align: justify;\">\u914d\u7f6e\u8fd0\u884cpfSense\u8f6f\u4ef6\u4ee5\u4f7f\u7528GSuite LDAP\u8eab\u4efd\u9a8c\u8bc1\u7684\u9632\u706b\u5899\u9700\u8981\u6267\u884c\u4e00\u4e9b\u989d\u5916\u7684\u6b65\u9aa4\uff0c\u672c\u6587\u6863\u5c06\u4ecb\u7ecd\u6240\u6709\u8fd9\u4e9b\u6b65\u9aa4\u3002<\/p>\n<p class=\"topic-title first\" style=\"text-align: justify;\">\u914d\u7f6eGSuite LDAP<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5728GSuite\u7ba1\u7406\u95e8\u6237\u4e0a\u914d\u7f6eLDAP\u5e94\u7528\u7a0b\u5e8f<\/li>\n<li>\u4e0b\u8f7d\u8bc1\u4e66\uff0c\u5bc6\u94a5\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801<\/li>\n<li>\u5bfc\u5165\u8bc1\u4e66\u548c\u5bc6\u94a5<\/li>\n<li>\u5b89\u88c5stunnel pfSense\u63d2\u4ef6\uff08CE\u62162.4.4-RELEASE\uff09<\/li>\n<li>\u914d\u7f6estunnel\u63d2\u4ef6\uff08CE\u62162.4.4-RELEASE\uff09<\/li>\n<li>\u5728pfSense\u4e0a\u914d\u7f6eLDAP\u8eab\u4efd\u9a8c\u8bc1<\/li>\n<li>\u521b\u5efa\u4e00\u4e2a\u7ec4<\/li>\n<li>\u6d4b\u8bd5GSuite\u8eab\u4efd\u9a8c\u8bc1<\/li>\n<li>\u4f7f\u7528GSuite\u8fdb\u884cpfSense\u7ba1\u7406\u767b\u5f55<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u5728GSuite\u7ba1\u7406\u95e8\u6237\u4e0a\u914d\u7f6eLDAP\u5e94\u7528\u7a0b\u5e8f<\/h2>\n<p style=\"text-align: justify;\">\u6309\u7167Google\u7684\u8bf4\u660e<a class=\"reference external\" href=\"https:\/\/support.google.com\/cloudidentity\/answer\/9048516\">\u914d\u7f6e\u548c\u542f\u7528GSuite LDAP\u5e94\u7528\u7a0b\u5e8f<\/a>\u3002<\/p>\n<p class=\"first admonition-title\" style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5b8c\u5168\u6309\u7167\u8fd9\u4e9b\u6307\u793a\u3002pfSense\u65e0\u9700\u7279\u6b8a\u89c4\u5b9a\uff0c\u4f46\u8bf7\u6ce8\u610f\uff0cLDAP\u5e94\u7528\u7a0b\u5e8f\u7684\u51ed\u636e\uff08\u7528\u6237\u540d\u548c\u5bc6\u7801\uff09\u662f\u5fc5\u9700\u7684\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4e0b\u8f7d\u8bc1\u4e66\uff0c\u5bc6\u94a5\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801<\/h2>\n<p style=\"text-align: justify;\">\u5c06\u8bc1\u4e66\uff0c\u5bc6\u94a5\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u4eceGSuite\u4e0b\u8f7d\u5230\u5de5\u4f5c\u7ad9\u4e0a\u7684\u672c\u5730\u76ee\u5f55\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5bfc\u5165\u8bc1\u4e66\u548c\u5bc6\u94a5<\/h2>\n<p style=\"text-align: justify;\">\u8fdb\u5165pfSense\u9632\u706b\u5899\u7684Web\u754c\u9762\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230<strong>\u7cfb\u7edf&gt;\u8bc1\u4e66\u7ba1\u7406<\/strong>\uff0c<strong>\u8bc1\u4e66<\/strong>\u9009\u9879\u5361<\/li>\n<li>\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-plus.png\" alt=\"fa-plus\" \/>\u00a0<strong>\u6dfb\u52a0\/\u7b7e\u540d\u201d<\/strong>\u4ee5\u663e\u793a\u8bc1\u4e66\u5bfc\u5165\u754c\u9762<\/li>\n<li>\u66f4\u6539<strong>\u65b9\u6cd5<\/strong>\u4ee5<em>\u5bfc\u5165\u73b0\u6709\u8bc1\u4e66<\/em><\/li>\n<li>\u8f93\u5165<strong>\u63cf\u8ff0\u6027\u540d\u79f0<\/strong>\uff0c\u4f8b\u5982<code class=\"docutils literal\"><span class=\"pre\">GSuite<\/span>\u00a0<span class=\"pre\">LDAP<\/span><\/code><\/li>\n<li>\u5c06\u4e0b\u8f7d\u7684\u8bc1\u4e66\u7684\u5185\u5bb9\u590d\u5236\u5e76\u7c98\u8d34\u5230\u201c\u00a0<strong>\u8bc1\u4e66\u201d\u6570\u636e<\/strong>\u6846\u4e2d<\/li>\n<li>\u5c06\u4e0b\u8f7d\u5bc6\u94a5\u7684\u5185\u5bb9\u590d\u5236\u5e76\u7c98\u8d34\u5230<strong>\u79c1\u94a5\u6570\u636e<\/strong>\u6846\u4e2d<\/li>\n<li>\u70b9\u51fb\u201c\u4fdd\u5b58\u201d<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u8fd9\u4e2a\u8bc1\u4e66\u73b0\u5728\u53ef\u4ee5\u4f9b\u9632\u706b\u5899\u4f7f\u7528\u3002\u4e0b\u4e00\u6b65\u53d6\u51b3\u4e8e\u9632\u706b\u5899\u4e0a\u5b89\u88c5\u7684pfSense\u8f6f\u4ef6\u7684\u7248\u672c\u3002\u5bf9\u4e8epfSense CE\u6216pfSense2.4.4-RELEASE\uff0cstunnel\u63d2\u4ef6\u662f\u8fdb\u884c<strong>Secure LDAP<\/strong>\u8fde\u63a5\u6240\u5fc5\u9700\u7684\u3002\u5bf9\u4e8epfSense2.4.4-RELEASE-p1\u6216\u66f4\u9ad8\u7248\u672c\u7684\u7528\u6237\uff0cLDAP\u8eab\u4efd\u9a8c\u8bc1\u6e90\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5ba2\u6237\u7aef\u8bc1\u4e66\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u5b89\u88c5stunnel pfSense\u8f6f\u4ef6\u5305\uff08CE\u62162.4.4-RELEASE\uff09<\/h2>\n<p style=\"text-align: justify;\">\u4ecepfSense\u7684web\u754c\u9762\uff1a<\/p>\n<ul class=\"simple list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230<strong>\u7cfb\u7edf&gt;\u63d2\u4ef6\u7ba1\u7406<\/strong>\uff0c<strong>\u5df2\u5b89\u88c5\u7684\u63d2\u4ef6<\/strong>\u9009\u9879\u5361<\/li>\n<li>\u68c0\u67e5<strong>stunnel<\/strong>\u7684\u5217\u8868\u4ee5\u53ca\u5b83\u662f\u5426\u5df2\u5217\u4e3a\u5df2\u5b89\u88c5<\/li>\n<li>\u5982\u679c\u63d2\u4ef6\u5df2\u5b89\u88c5\u4e14\u662f\u6700\u65b0\u7684\uff0c\u7248\u672c\u4e3a<strong>5.37<\/strong>\u6216\u66f4\u9ad8\u7248\u672c\uff0c\u5219\u65e0\u9700\u6267\u884c\u4efb\u4f55\u64cd\u4f5c<\/li>\n<li>\u5982\u679c\u63d2\u4ef6\u5df2\u5b89\u88c5\u4f46\u5df2\u8fc7\u671f\n<ul class=\" list-paddingleft-2\">\n<li>\u901a\u8fc7\u5355\u51fb\u66f4\u65b0\u63d2\u4ef6<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-refresh.png\" alt=\"\u5237\u65b0\" \/>\u7684\u5b89\u5168\u901a\u9053\u8fdb\u5165<\/li>\n<li>\u5355\u51fb <img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-check.png\" alt=\"fa-check\" \/> \u786e\u8ba4\u63d2\u4ef6\u7684\u66f4\u65b0<\/li>\n<\/ul>\n<\/li>\n<li>\u5982\u679c\u6ca1\u6709\u5b89\u88c5stunnel\n<ul class=\" list-paddingleft-2\">\n<li>\u5bfc\u822a\u5230\u201c\u53ef\u7528\u7684\u63d2\u4ef6\u201d\u9009\u9879\u5361<\/li>\n<li>\u5728\u5217\u8868\u4e2d\u627e\u5230stunnel\u63d2\u4ef6\uff0c\u6216\u4f7f\u7528\u641c\u7d22\u680f<\/li>\n<li>\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-plus.png\" alt=\"fa-plus\" \/>\u00a0\u5b89\u88c5stunnel\u63d2\u4ef6<\/li>\n<li>\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-check.png\" alt=\"fa-check\" \/>\u786e\u8ba4\u6765\u8fdb\u884c\u5b89\u88c5<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u914d\u7f6estunnel\u63d2\u4ef6\uff08CE\u62162.4.4-RELEASE\uff09<\/h2>\n<p style=\"text-align: justify;\">\u4ecepfSense\u7684web\u754c\u9762\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf\u670d\u52a1&gt; STunnel<\/li>\n<li>\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-plus.png\" alt=\"fa-plus\" \/>\u00a0\u6dfb\u52a0\u201d\u4ee5\u521b\u5efa\u65b0\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\u8f93\u5165\u6b64\u8fde\u63a5\u7684\u63cf\u8ff0\uff0c\u4f8b\u5982<code class=\"docutils literal\"><span class=\"pre\">GSuite<\/span><\/code><\/li>\n<li>\u68c0\u67e5\u5ba2\u6237\u7aef\u6a21\u5f0f<\/li>\n<li>\u5c06\u4fa6\u542cIP\u8bbe\u7f6e\u4e3a<code class=\"docutils literal\"><span class=\"pre\">127.0.0.1<\/span><\/code><\/li>\n<li>\u5c06\u4fa6\u542c\u7aef\u53e3\u8bbe\u7f6e\u4e3a<code class=\"docutils literal\"><span class=\"pre\">1636<\/span><\/code><\/li>\n<li>\u5c06\u8bc1\u4e66\u8bbe\u7f6e\u4e3a\u5148\u524d\u5bfc\u5165\u7684\u6761\u76ee\uff0c\u5728\u672c\u4f8b\u4e2d\u4e3a<em>GSuite LDAP<\/em><\/li>\n<li>\u8bbe\u7f6e\u91cd\u5b9a\u5411IP<code class=\"docutils literal\"><span class=\"pre\">ldap.google.com<\/span><\/code><\/li>\n<li>\u8bbe\u7f6e\u91cd\u5b9a\u5411\u7aef\u53e3<code class=\"docutils literal\"><span class=\"pre\">636<\/span><\/code><\/li>\n<li>\u5355\u51fb\u4fdd\u5b58<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u5728pfSense\u4e0a\u914d\u7f6eLDAP\u8eab\u4efd\u9a8c\u8bc1<\/h2>\n<p style=\"text-align: justify;\">\u4ecepfSense\u7684web\u754c\u9762\uff1a<\/p>\n<ul>\n<li>\u9009\u62e9\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406\u5668\uff0c\u9a8c\u8bc1\u670d\u52a1\u5668\u9009\u9879\u5361<\/li>\n<li>\u5355\u51fb\u201c\u00a0\u00a0\u6dfb\u52a0\u201d\u4ee5\u521b\u5efa\u65b0\u6761\u76ee<\/li>\n<li>\u8f93\u5165\u6b64LDAP\u670d\u52a1\u5668\u7684\u63cf\u8ff0\u6027\u540d\u79f0\uff0c\u4f8b\u5982GSuite<\/li>\n<li>\u5c06\u7c7b\u578b\u8bbe\u7f6e\u4e3aLDAP<\/li>\n<li>\u670d\u52a1\u5668\u8bbe\u7f6e\u53d6\u51b3\u4e8e\u9632\u706b\u5899\u4e0a\u5b89\u88c5\u7684pfSense\u8f6f\u4ef6\u7248\u672c\uff1a<\/li>\n<li>\u5bf9\u4e8epfSense2.4.4-RELEASE-p1\u6216\u66f4\u9ad8\u7248\u672c\uff1a<\/li>\n<li>\u5c06\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u8bbe\u7f6e\u4e3aldap.google.com<\/li>\n<li>\u5c06\u7aef\u53e3\u503c\u8bbe\u7f6e\u4e3a636<\/li>\n<li>\u5c06\u4f20\u9001\u8bbe\u7f6e\u4e3aSSL &#8211; Encrypted<\/li>\n<li>\u5c06\u5bf9\u7b49\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u8bbe\u7f6e\u4e3a\u00a0Global Root CA List<\/li>\n<li>\u5c06\u5ba2\u6237\u7aef\u8bc1\u4e66\u8bbe\u7f6e\u4e3a\u5148\u524d\u5bfc\u5165\u7684\u6761\u76ee\uff0c\u5728\u672c\u4f8b\u4e2d\u4e3a\u00a0GSuite LDAP<\/li>\n<li>\u5bf9\u4e8e\u4f7f\u7528stunnel\u63d2\u4ef6\u7684pfSense CE\u62162.4.4-RELEASE\u7248\u672c\uff1a<\/li>\n<li>\u5c06\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u8bbe\u7f6e\u4e3a127.0.0.1<\/li>\n<li>\u5c06\u7aef\u53e3\u503c\u8bbe\u7f6e\u4e3a1636<\/li>\n<li>\u5c06\u4f20\u9001\u8bbe\u7f6e\u4e3aTCP-Standard<\/li>\n<li>\u5c06\u534f\u8bae\u7248\u672c\u8bbe\u7f6e\u4e3a3<\/li>\n<li>\u8bbe\u7f6e\u670d\u52a1\u5668\u8d85\u65f6\u00a0=25<\/li>\n<li>\u5c06\u641c\u7d22\u8303\u56f4\u8bbe\u7f6e\u4e3a\u6574\u4e2a\u6811<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u63a5\u4e0b\u6765\u7684\u51e0\u4e2a\u8bbe\u7f6e\u662fUNIQUE TO THE DOMAIN\u3002\u5bf9\u4e8e\u8fd9\u4e2a\u4f8b\u5b50\uff0c\u5047\u8bbeexample.com\u3002<\/p>\n<p style=\"text-align: justify;\">\u8b66\u544a\uff1a\u8f93\u5165\u8fd9\u4e9b\u503c\u65f6\u66ff\u6362\u5b9e\u9645\u57df\u540d\uff01<\/p>\n<p style=\"text-align: justify;\">\u4f8b\u5982\uff0c\u5c06Base DN\u8bbe\u7f6e\u4e3aDN\u683c\u5f0f\u7684\u57df\u540d\u00a0<code class=\"docutils literal\"><span class=\"pre\">dc=example,dc=com<\/span><\/code><\/p>\n<ul class=\"simple list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5c06\u8eab\u4efd\u9a8c\u8bc1\u5bb9\u5668\u8bbe\u7f6e\u4e3a\u7ec4\u7ec7\u5355\u4f4d\u524d\u9762\u7684Base DN<code class=\"docutils literal\"><span class=\"pre\">Users<\/span><\/code>\uff0c\u4f8b\u5982\uff1a<code class=\"docutils literal\"><span class=\"pre\">ou=Users,dc=example,dc=com<\/span><\/code><\/li>\n<li>\u53d6\u6d88\u9009\u4e2d\u00a0\u201c\u00a0\u533f\u540d\u7ed1\u5b9a\u201d\u6846\u4ee5\u663e\u793a\u201c\u00a0\u7ed1\u5b9a\u51ed\u636e\u201d\u5b57\u6bb5<\/li>\n<li>\u5c06\u7ed1\u5b9a\u51ed\u8bc1\u8bbe\u7f6e\u4e3a\u4f7f\u7528\u8bc1\u4e66\u548c\u5bc6\u94a5\u521b\u5efa\u7684GSuite LDAP\u7528\u6237\u540d\u548c\u5bc6\u7801<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5176\u4f59\u5c5e\u6027\u4e0d\u662f\u7279\u5b9a\u4e8e\u57df\uff0c\u6216\u8005\u662f\u9ed8\u8ba4\u503c<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5c06\u7528\u6237\u547d\u540d\u5c5e\u6027\u8bbe\u7f6e\u4e3a<code class=\"docutils literal\"><span class=\"pre\">uid<\/span><\/code><\/li>\n<li>\u5c06\u7ec4\u547d\u540d\u5c5e\u6027\u8bbe\u7f6e\u4e3a<code class=\"docutils literal\"><span class=\"pre\">cn<\/span><\/code><\/li>\n<li>\u5c06\u7ec4\u6210\u5458\u5c5e\u6027\u8bbe\u7f6e\u4e3a<code class=\"docutils literal\"><span class=\"pre\">memberOf<\/span><\/code><\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u521b\u5efa\u7ec4<\/h2>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u8fdc\u7a0b\u8ba4\u8bc1\u670d\u52a1\u5668\u7ba1\u7406pfSense\u4e0a\u670d\u52a1\u7684\u7ba1\u7406\u767b\u5f55\u9700\u8981\u5728\u8ba4\u8bc1\u6e90\u670d\u52a1\u5668\u548c\u9632\u706b\u5899\u4e0a\u90fd\u5b58\u5728\u76f8\u5339\u914d\u7684\u7ec4\u3002<\/p>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u4f7f\u7528\u73b0\u6709admins\u7ec4\uff0c\u4f46\u7531\u4e8e\u540d\u79f0\u5982\u6b64\u901a\u7528\uff0c\u56e0\u6b64\u53ef\u80fd\u4e0eGSuite\u4e2d\u7684\u5176\u4ed6\u6240\u9700\u6743\u9650\u51b2\u7a81\u3002<\/p>\n<p style=\"text-align: justify;\">\u6b64\u793a\u4f8b\u4f7f\u7528\u4e00\u4e2a\u65b0\u7ec4<code class=\"docutils literal\"><span class=\"pre\">fwadmins<\/span><\/code>\u3002<\/p>\n<p style=\"text-align: justify;\">\u9996\u5148\uff0c<code class=\"docutils literal\"><span class=\"pre\">fwadmins<\/span><\/code>\u5728GSuite\u4e2d\u521b\u5efa\u7ec4\u5e76\u5c06\u7528\u6237\u5206\u914d\u7ed9\u8be5\u7ec4\u3002\u5177\u4f53\u7ec6\u8282\u5c06\u6839\u636e\u57df\u540d\u53ca\u5176\u7ec4\u7ec7\u800c\u6709\u6240\u4e0d\u540c\u3002<\/p>\n<p style=\"text-align: justify;\">\u63a5\u4e0b\u6765\uff0c\u5728\u8fd0\u884cpfSense\u8f6f\u4ef6\u7684\u9632\u706b\u5899\u4e0a\u521b\u5efa\u4e00\u4e2a\u7ec4\u3002\u8fd9\u4e0d\u9700\u8981\u672c\u5730\u7528\u6237\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u7ec4\u6761\u76ee\u3002\u7ec4\u6761\u76ee\u5fc5\u987b\u5177\u6709\u9002\u5f53\u7684\u6743\u9650\u3002<\/p>\n<p style=\"text-align: justify;\">\u8981\u5728pfSense\u4e0a\u521b\u5efa\u7ec4\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406\uff0c\u7ec4\u9009\u9879\u5361<\/li>\n<li>\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-plus.png\" alt=\"fa-plus\" \/>\u00a0\u6dfb\u52a0\u201d\u4ee5\u521b\u5efa\u65b0\u7ec4<\/li>\n<li>\u5728\u6b64\u793a\u4f8b\u4e2d\u8f93\u5165\u7ec4\u540d\u79f0\uff1a<code class=\"docutils literal\"><span class=\"pre\">fwadmins<\/span><\/code><\/li>\n<li>\u5c06\u8303\u56f4\u8bbe\u7f6e\u4e3a<em>\u8fdc\u7a0b<\/em><\/li>\n<li>\u8f93\u5165\u8bf4\u660e\uff0c\u4f8b\u5982\u8fdc\u7a0b\u9632\u706b\u5899\u7ba1\u7406\u5458<\/li>\n<li>\u5355\u51fb\u4fdd\u5b58<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u73b0\u5728\u8be5\u7ec4\u9700\u8981\u7279\u6743\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5728\u65b0\u521b\u5efa\u7684\u7ec4\u7684\u884c\u4e0a\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-pencil.png\" alt=\"\u94c5\u7b14\" \/><\/li>\n<li>\u5728\u201c\u5206\u914d\u6743\u9650\u201d\u90e8\u5206\u4e2d\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-plus.png\" alt=\"fa-plus\" \/>\u6dfb\u52a0<\/li>\n<li>\u9009\u62e9\u7ec4\u7684\u6240\u9700\u6743\u9650\uff0c\u4f8b\u5982\uff1a\u00a0WebCfg\u00a0&#8211;\u00a0All\u00a0pages\u3002\u4e0d\u8981\u9009\u62e9\u6b64\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u9879\u76ee\uff01<\/li>\n<li>\u8fd9\u6837\u505a\u8fd8\u5c06\u9009\u62e9\u963b\u6b62\u6b64\u7ec4\u4e2d\u7684\u7528\u6237\u66f4\u6539\u9632\u706b\u5899\u914d\u7f6e\u7684\u6743\u9650\u3002\u5982\uff1a<code class=\"docutils literal\"><span class=\"pre\">User<\/span>\u00a0<span class=\"pre\">-<\/span>\u00a0<span class=\"pre\">Config:<\/span>\u00a0<span class=\"pre\">Deny<\/span>\u00a0<span class=\"pre\">Config<\/span>\u00a0<span class=\"pre\">Write<\/span><\/code><\/li>\n<li>\n<p class=\"first\">\u5355\u51fb\u201c\u00a0\u4fdd\u5b58\u201d\u6765\u4fdd\u5b58\u6743\u9650<\/p>\n<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\u6d4b\u8bd5GSuite\u8ba4\u8bc1<\/h2>\n<p style=\"text-align: justify;\">\u901a\u8fc7\u4e0a\u8ff0\u5b8c\u6574\u914d\u7f6e\uff0c\u73b0\u5728\u53ef\u4ee5\u5bf9Google GSuite LDAP\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002\u9996\u5148\uff0c\u6d4b\u8bd5\u8eab\u4efd\u9a8c\u8bc1\u4ee5\u786e\u4fdd\u5176\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230\u7cfb\u7edf\u8bca\u65ad&gt;\u8ba4\u8bc1<\/li>\n<li>\u5c06\u8ba4\u8bc1\u670d\u52a1\u5668\u8bbe\u7f6e\u4e3a\u7528\u4e8eLDAP\u670d\u52a1\u5668\u6761\u76ee\u7684\u540d\u79f0\uff0c\u4f8b\u5982GSuite<\/li>\n<li>\u5728GSuite\u63a7\u5236\u7684\u57df\u4e2d\u8f93\u5165\u5df2\u77e5\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4ec5\u6839\u636e\u914d\u7f6e\u7684LDAP\u00a0base DN\u68c0\u67e5\u767b\u5f55\u7684\u7528\u6237\u540d\u90e8\u5206\u3002<\/li>\n<li>\u200b\u5982\u679c\u4f7f\u7528\u57df\u90e8\u5206\u63d0\u4ea4\u7528\u6237\u540d\uff0c\u4f8b\u5982user@example.com\uff0c\u5219\u4f1a\u5ffd\u7565@ example.com\u90e8\u5206\u3002<\/li>\n<li>\n<p class=\"first\">\u5355\u51fb<img decoding=\"async\" src=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/_images\/fa-wrench.png\" alt=\"fa-wrench\" \/>\u00a0\u6765\u8fdb\u884c\u6d4b\u8bd5<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u7528\u6237\u5e94\u8be5\u6210\u529f\u663e\u793a\u8eab\u4efd\u9a8c\u8bc1\uff0c\u5982\u679c\u7528\u6237\u8f93\u5165\u7684\u662fGSuite\u4e2dfwadmins\u7ec4\u7684\u6210\u5458\uff0c\u90a3\u4e48\u8fd9\u4e5f\u5e94\u53cd\u6620\u5728\u6d4b\u8bd5\u8f93\u51fa\u4e2d\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u6d4b\u8bd5\u6210\u529f\uff0c\u5219\u8be5\u670d\u52a1\u5373\u53ef\u4f7f\u7528\u3002 pfSense\u53ef\u4ee5\u5c06\u5176\u7528\u4f5cGUI\uff0cV-P-N\u6216\u7528\u6237\u7ba1\u7406\u8ba4\u8bc1\u670d\u52a1\u5668\u5de5\u4f5c\u7684\u4efb\u4f55\u4f4d\u7f6e\u7684\u8eab\u4efd\u9a8c\u8bc1\u6e90\u3002<\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u6d4b\u8bd5\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u4e3b\u7cfb\u7edf\u65e5\u5fd7\u4e2d\u662f\u5426\u6709\u6765\u81eaLDAP\u7684\u9519\u8bef\u6d88\u606f\u3002\u4ece\u672c\u6587\u6863\u7684\u5f00\u5934\u5f00\u59cb\uff0c\u6bd4\u8f83\u672c\u6587\u6863\uff0cGSuite\u548cpfSense\u4e4b\u95f4\u7684\u6240\u6709\u8bbe\u7f6e\u3002<\/p>\n<p style=\"text-align: justify;\">\u6700\u5e38\u89c1\u7684\u95ee\u9898\u662f\u53c2\u6570\u8f93\u5165\u4e0d\u6b63\u786e\uff0c\u4f8b\u5982\u9009\u62e9\u9519\u8bef\u7684\u8bc1\u4e66\uff0c\u4f7f\u7528\u4e0d\u6b63\u786e\u7684LDAP\u5c5e\u6027\u540d\u79f0\u6216\u4e0d\u4f7f\u7528\u6b63\u786e\u7684\u7ed1\u5b9a\u51ed\u636e\u3002<\/p>\n<h2 style=\"text-align: justify;\">\u4f7f\u7528GSuite\u8fdb\u884cpfSense\u7ba1\u7406\u767b\u5f55<\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u4e00\u5207\u6b63\u5e38\u5e76\u4e14\u7528\u6237\u6309\u9884\u671f\u8fdb\u884c\u4e86\u8eab\u4efd\u9a8c\u8bc1\uff1a<\/p>\n<ul class=\" list-paddingleft-2\" style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230<strong>\u7cfb\u7edf&gt;\u7528\u6237\u7ba1\u7406<\/strong>\uff0c<strong>\u8bbe\u7f6e<\/strong><\/li>\n<li>\u5c06<strong>\u8ba4\u8bc1\u670d\u52a1\u5668<\/strong>\u8bbe\u7f6e\u4e3a<em>GSuite<\/em><\/li>\n<li>\u5355\u51fb<strong>\u4fdd\u5b58<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u4fdd\u5b58\u540e\uff0c\u9632\u706b\u5899\u7528\u6237\u5c06\u901a\u8fc7Google Cloud Identity\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/p>\n<p style=\"text-align: justify;\">\u6ce8\u610f\uff1a\u5982\u679c\u65e0\u6cd5\u4f7f\u7528\u6240\u9009\u7684LDAP\u670d\u52a1\u5668\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\uff0cpfSense\u5c06\u81ea\u52a8\u56de\u9000\u5230\u672c\u5730\u8eab\u4efd\u9a8c\u8bc1\u3002<\/p>\n<p class=\"last\" style=\"text-align: justify;\">\u539f\u6587<a href=\"https:\/\/www.netgate.com\/docs\/pfsense\/usermanager\/google-gsuite-auth-source.html\" target=\"_self\" rel=\"noopener noreferrer\">\u5730\u5740<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Secure LDAP\u670d\u52a1\u63d0\u4f9b\u4e86\u4e00\u79cd\u5c06\u57fa\u4e8eLDAP\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u670d\u52a1\u8fde\u63a5\u5230Clou &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=696\">\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":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[174],"class_list":["post-696","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-google-cloud-identity"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/696","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=696"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/696\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}