{"id":92710,"date":"2023-06-30T17:54:35","date_gmt":"2023-06-30T21:54:35","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=92710"},"modified":"2024-06-27T14:49:19","modified_gmt":"2024-06-27T18:49:19","slug":"configure-openvpn-to-use-cloud-ldap","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/configure-openvpn-to-use-cloud-ldap","title":{"rendered":"Configure OpenVPN to Use Cloud LDAP"},"content":{"rendered":"\n
You can configure OpenVPN to use 探花大神’s LDAP-as-a-Service, which will perform user authentication and authorization. OpenVPN is an open source connection protocol that facilitates a secure tunnel between two points in a network. It’s a trusted technology used by many virtual private networks (VPNs), to ensure that data sent over the internet is encrypted and private. Version Details<\/strong>:<\/p>\n\n\n\n The OpenVPN Access Server provides a command line utility “authcli<\/strong><\/em>” that can be used to validate your 探花大神 Directory-as-a-Service authentication and authorization configuration.\u00a0\u00a0 For additional diagnostic information, you can enable Debug Level logging within the OpenVPN Access Server ‘as.conf<\/strong><\/em>‘ configuration file, restart the service and review the verbose log messages within the default “\/var\/log\/openvpnas.log<\/strong><\/em>” file.<\/p>\n\n\n\n $ sudo bash -c “echo “DEBUG_AUTH=true” >> \/usr\/local\/openvpn_as\/etc\/as.conf After you finish troubleshooting, edit the configuration file to comment out the DEBUG reference and restart the service to return to normal operation.<\/p>\n\n\n\n #DEBUG_AUTH=true Review the OpenVPN site for documentation on troubleshooting authentication and enabling debug level logging.<\/p>\n\n\n\n You can configure OpenVPN to use 探花大神’s LDAP-as-a-Service, which will perform user authentication and authorization. OpenVPN is an open source […]<\/p>\n","protected":false},"author":218,"featured_media":0,"template":"","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"support_category":[2845,2896],"support_tag":[],"coauthors":[3011],"acf":[],"yoast_head":"\n
Prerequisites<\/strong>:<\/p>\n\n\n\n\n
\n
Configuring OpenVPN for LDAP Authentication and Authorization<\/h2>\n\n\n\n
LDAP Settings:<\/h3>\n\n\n\n
\n
\n
<\/figure>\n\n\n\n
Testing OpenVPN Authentication and Authorization<\/h2>\n\n\n\n
PATH<\/strong>: \/usr\/local\/openvpn_as\/scripts\/authcli<\/kbd>
USAGE<\/strong>: authcli –user\u00a0探花大神_Username<\/kbd><\/p>\n\n\n\n<\/figure>\n\n\n\n
Troubleshooting OpenVPN Authentication and Authorization<\/h2>\n\n\n\n
$ sudo service openvpnas restart<\/p>\n<\/div><\/div>\n\n\n\n
$ sudo service openvpnas restart<\/p>\n<\/div><\/div>\n\n\n\nOpenVPN Documentation<\/h2>\n\n\n\n
\n