Skip to main content
lalarcon
Staff
Staff
March 4, 2026

Technical Tip: Configuring FortiGate v7.6.6 and FortiAuthenticator v8.0.0 setup for ZTNA with SAML access with FortiToken

  • March 4, 2026
  • 0 replies
  • 261 views
Description This article describes the setup of FortiGate v7.6.6 and FortiAuthenticator v8.0.0 for ZTNA SAML access with FortiToken.
Scope Configure FortiGate ZTNA access with SAML, FortiAuthenticator, and FortiToken.
Solution

This article describes the integration of FortiGate, FortiAuthenticator, and FortiClient. For more information on how to integrate FortiClient Endpoint Management Server (FortiClient EMS) with FortiGate, refer to the additional KB article and return here to follow the provided steps.

 

FortiGate and FortiClient Endpoint Management Server integration for 7.6.6 version:

Establish device identity and trust context with FortiClient EMS 

 

FortiAuthenticator-VM setup on VMware 

 

When FortiAuthenticator is ready, follow the steps described here: 

 

  1. Check Network Services to include some specific settings for IdP. Go to FortiAuthenticator -> Network Interfaces.

 

1-FAC-NEtwork Services.png

 

  1. Create an Active Directory connection. Go to FortiAuthenticator -> Authentication -> Remote Auth. Servers -> LDAP.

     

    ActiveDirectoy Setup.png

     

    If the RADIUS Server is being enabled, activate Windows Active Directory Domain Authentication, as seen in the picture.

     

     

  2. Import Users from Active Directory Server. Go to FortiAuthenticator -> User Management -> Remote Users. Import the users.

     

    3-Import-Users.png

     

    3-1-Import Users-AD.png

     

    3-2-Importing.png

     

     

  3. Create User Groups. Go to FortiAuthenticator -> User Management -> User Groups. Create a new User Group. Add a name, choose List of Users, and add all users participating in the Group. In this case, the ztna user is the only one.

     

    4-1 Create user Group.png

     

     

  4. Add the RADIUS attributes with the following: 

    Vendor: Fortinet.
    Attribute ID: Fortinet-Group-Name.
    Value Type: Static.
    Value: VPNZTNA.

     

    The name of VPNZTNA must match the name of the current group.

     

     

  5. Check the number of members in the Group. 

     

    6-Checking users.png

     

     

  6. Go to FortiAuthenticator -> Authentication ->User Management -> Remote -> Users. Choose a user. In this case, the ztna user was selected.

     

    5-1 FortiToken.png

     

    FortiAutenticator provides 2 free tokens. Associate a mobile token with the user. Install the mobile application from Google Play. Scan the code from the FortiToken mobile app.

     

    5-2-FortiToken.png

     

     

  7. Go to FortiAuthenticator -> Certificate Management -> End Entities -> Local Services. Import the external certificate for the FQDN for FortiAuthenticator.

     

    6-1 IMporting certificate to fAC.png

     

     

  8. Go to FortiGate -> System -> Certificates. Import the FortiAuthenticator Certificate into the Remote Certificate.

     

    Fortigate Certificate.png

     

     

  9. Go to FortiGate -> User & Authentication -> Single Sign-> On. Configure a name and select the External name representing the ZTNA address.

     

    SSO Single Fortigate.png

     

    Add an attribute to identify users: username.

    Add an attribute used to identify groups: groups.

     

     

  10. Create a SAML IdP. Go to FortiAuthenticator -> Authentication -> SAML IdP -> General. Configure:

    Use the external Domain name to be accessible from the Internet. Use a certificate according to the external name.

     

    11-SAML idp.png

     

     

  11. Create a Realm. Go to FortiAuthenticator -> User management -> Realms.

     11 - Realm.png

     

     

  12. Create a Service Provider. Go to FortiAuthenticator -> Authentication -> SAML Idp -> Service Provider. Add the assertion attributes:

     

    13-service-prov.png

     

     

  13. Create a User Source. Go to FortiAuthenticator -> Authentication -> SAML IdP -> User Sources. Create a new source and choose the Group with access.

     

    14-User-Source.png

     

     

  14. Create a User Group in FortiGate. Go to FortiGate -> Policy & Objects -> Authentication. Create a new Authentication Scheme. Choose the method SAML and the server name created in Step 10.

     

    15-Auth-Scheme.png

     

     

  15. Create an Authentication Rule. Go to FortiGate -> Policy & Objects -> Authentication -> Authentication Rule. Add an Authentication rule. If there are other authentication rules, add this at the first level.

     

    16-Authentication Rule.png

     

     

  16. Create a User Group in FortiGate. Go to FortiGate -> User & Authentication -> User Groups

     

    17-1-Create User Groups.png

     

    Add the Remote Server ZTNA-FAC-SAML. Specify the Group VPNZTNA.

     

    17-2-Create User Groups.png

     

     

  17. Create a ZTNA server in FortiGate. Go to FortiGate -> Policy & Objects -> ZTNA. Create a new server. Add the external IP address reference and the IP communication port. Select SAML and choose the SAML SSO Server created in step 10.

     

    18-Create a ZTNA Server.png

     

     

  18. Create a new ZTNA policy to allow access to the ZTNA server. Select the external incoming interface. Choose the Groups and the ZTNA server. EMS FortiClient Tags or security profiles can be added for additional controls.

     

    19-ZTNA-Policy.png

     

     

  19. Check the FortiClient EMS ZTNA server destinations. Open a connection to the ZTNA destination.

     

    forticlient-1.jpg

     

     

  20. The final destination in this example is a Remote Desktop destination. Open the RDP. Log in with the AD User and AD password. Finally, a message will ask for a Mobile Device token. Open the FortiToken App on Android and authorize access.

     

    5.PNG

     

    6.PNG