Remote Access VPN with Two-Factor Authentication
If you configure a GlobalProtect portal or gateway with an authentication profile and a certificate profile (which together can provide two-factor authentication), the end user must authentication through both profiles successfully before gaining access. For portal authentication, this means that certificates must be pre-deployed on the endpoints before their initial portal connection. Additionally, the client certificate presented by a user must match what is defined in the certificate profile.
- If the certificate profile does not specify a username field (Username Fieldis set toNone), the client certificate does not require a username. In this case, the user must provide the username when authenticating against the authentication profile.
- If the certificate profile specifies a username field, the certificate that the user presents must contain a username in the corresponding field. For example, if the certificate profile specifies that the username field isSubject, the certificate presented by the user must contain a value in the common-name field, or else authentication fails. In addition, when the username field is required, the value from the username field of the certificate is automatically populated as the username when the user attempts to enter credentials for authenticating to the authentication profile. If you do not want force users to authenticate with a username from the certificate, do not specify a username field in the certificate profile.
This quick configuration uses the same topology as GlobalProtect VPN for Remote Access. However, in this configuration, users must authenticate against a certificate profile and an authentication profile. For more details on a specific type of two-factor authentication, see the following topics:
Use the following procedure to configure remote VPN access with two-factor authentication.
- Use thedefaultvirtual router for all interface configurations to avoid having to create inter-zone routing.
- Select. ConfigureNetworkInterfacesEthernetethernet1/2as aLayer3Ethernet interface with IP address203.0.113.1and assign it to thel3-untrustSecurity Zoneand the defaultVirtual Router.
- Create a DNS “A” record that maps IP address203.0.113.1togp.acme.com.
- SelectandNetworkInterfacesTunnelAddthetunnel.2interface. Add the tunnel interface to a newSecurity Zonecalledcorp-vpn, and then assign it to the defaultVirtual Router.
- Enable User Identification on thecorp-vpnzone.
- Create security policies to enable traffic flow between thecorp-vpnzone and thel3-trustzone, which enables access to your internal resources.
- Select, and then clickPoliciesSecurityAddto create a new rule.
- For this example, you would define the rule with the following settings:
- Name(Generaltab)—VPN Access
- Source Zone(Sourcetab)—corp-vpn
- Destination Zone(Destinationtab)—l3-trust
- Use one of the following methods to obtain a server certificate for the interface hosting the GlobalProtect portal and gateway:Selectto manage certificates as follows:DeviceCertificate ManagementCertificates
- Obtain a server certificate. Because the portal and gateway are on the same interface, the same server certificate can be used for both components.
- The CN of the certificate must match the FQDN,gp.acme.com.
- To enable users to connect to the portal without receiving certificate errors, use a server certificate from a public CA.
- Use your enterprise PKI or a public CA to issue a unique client certificate to each GlobalProtect user.
- Select.DeviceCertificate ManagementCertificate ProfileAdda new certificate profile, and then enter a profileNamesuch asGP-client-cert.
- Specify where to obtain the username that will be used to authenticate the end user:
- From user—If you want the end user to supply a username when authenticating to the service specified in the authentication profile, selectNoneas theUsername Field.
- From certificate—If you want to extract the username from the certificate, selectSubjectas theUsername Field. If you use this option, the CN contained in the certificate automatically populates the username field when the user is prompted to log in to the portal/gateway. The user is required to log in using that username.
- In theCA Certificatesarea,Addthe CA certificate that issued the client certificates. ClickOKtwice.
- The server profile instructs the firewall on how to connect to the authentication service. Local, RADIUS, Kerberos, SAML, and LDAP authentication methods are supported. This example shows an LDAP authentication profile for authenticating users against the Active Directory.Create the server profile for connecting to the LDAP server ().DeviceServer ProfilesLDAP
- Attach the server profile to an authentication profile (Device> Authentication Profile).
- See the topology diagram shown in GlobalProtect VPN for Remote Access.Select, and thenNetworkGlobalProtectGatewaysAddthe following configuration:Interface—ethernet1/2IP Address—203.0.113.1Server Certificate—GP-server-cert.pem issued by GoDaddyCertificate Profile—GP-client-certAuthentication Profile—Corp-LDAPTunnel Interface—tunnel.2IP Pool—10.31.32.3 - 10.31.32.118
- Configure the GlobalProtect Portals.Select, and thenNetworkGlobalProtectPortalsAddthe following configuration:
- Interface—ethernet1/2IP Address—203.0.113.1Server Certificate—GP-server-cert.pem issued by GoDaddyCertificate Profile—GP-client-certAuthentication Profile—Corp-LDAP
- Connect Method—On-demand(Manual user initiated connection)External Gateway Address—gp.acme.com
- (Optional) Deploy App Settings Transparently.As an alternative to deploying app settings from the portal configuration, you can define settings directly from the Windows registry or global macOS plist. Examples of settings that you can deploy include specifying the portal IP address or enabling GlobalProtect to initiate a VPN tunnel before a user logs in to the endpoint and connects to the GlobalProtect portal. On Windows endpoints only, you can also configure settings using the MSIEXEC installer. For additional information, see Customizable App Settings.
- (Optional) Enable use of the GlobalProtect mobile app.Purchase and install a GlobalProtect subscription () to enable use of the app.DeviceLicenses
- Save the GlobalProtect configuration.ClickCommit.