Skip to content

Latest commit

 

History

History
93 lines (79 loc) · 5.23 KB

VPNUsers_LDAP.rst

File metadata and controls

93 lines (79 loc) · 5.23 KB
/* override table no-wrap */ .wy-table-responsive table td, .wy-table-responsive table th { white-space: normal !important; }

LDAP Configuration for Authenticating VPN Users

Overview

Aviatrix provides integration with an LDAP/AD server for the authentication of users logging into the VPN services. This guide walks you through the configuration steps.

Configuration Details

Note

This step must be done by an existing Aviatrix Controller admin user.

Tip

This configuration before or after a gateway is created. These steps assume it is done after creation.

  1. Log in to your Controller.
  2. Select OpenVPN on the left sidebar.
  3. Select Edit Config.
  4. In the Modify Authentication section, click on the LDAP below the Authentication label.

    imageLDAPForm

  5. Enter the values as described in the table below.

    Field Description
    LDAP Server Enter the public IP or hostname for the LDAP / AD server.
    Use TLS to connect to LDAP server When this checkbox is marked, STARTTLS is used to connect with the LDAP server. NOTE: LDAP Over SSL is not supported (port 636).
    Client Certificate Only visible if the Use TLS to connect ... checkbox is marked. This file must be in PEM format and contain a public and private key pair.
    CA Certificate Only visible if the Use TLS to connect ... checkbox is marked.
    Bind DN DN of the user that the Gateway will use to authenticate with the LDAP server to handle user authentication.
    Password The password of the Bind DN user.
    Base DN for User Entries Starting point in the directory for searching for matching usernames.
    Username Attribute User attribute name for username to match.
    Group Membership DN (Optional)

    LDAP search filter. This value must be entered in the form of a query. For example:\

    for Linux OpenLDAP:``memberOf=cn=vpn_users,DC=example,DC=com``for Windows Active Directory:cn=vpn_users,DC=example,DC=com
    LDAP User (Optional) This field is only used when you click Test LDAP Configuration. It will use this value to search and respond if it was able to connect and find the user.
    LDAP User (Optional) This field is only used when you click Test LDAP Configuration. It will use this value to search and respond if it was able to connect and find the user.
  6. Enter a value for LDAP User and click Test LDAP Configuration to test the configuration.
  7. Click Modify to save this configuration.