Configuring Network Access Control device check for NetScaler Gateway virtual server for single factor authentication deployment

Important

The following section lists steps to configure Intune with NetScaler Gateway. For information on configuring NetScaler Gateway application on the Azure portal to obtain Client IDClient Secret, and Tenant ID, refer Azure product documentation.

NetScaler Enterprise Edition license is required for the following functionality.

To add a NetScaler Gateway Virtual Server with nFactor for Gateway deployment

  1. Navigate to Virtual Servers under the NetScaler Gateway tree node.

    Virtual servers page

  2. Click Add.

    Add virtual server

  3. Provide the required information in the Basic Settings area and click OK.

    Basic settings

  4. Select Server Certificate.

    Add server cert

  5. Select required server certificate and click Bind.

    Bind server cert

  6. Click Continue.

  7. Click Continue.

  8. Click Continue.

  9. Click the plus icon [+] next to Policies and select Session from the Choose Policy list and select Request from the Choose Type list and click Continue.

  10. Click the plus icon [+] next to Select Policy.

  11. On the Create NetScaler Gateway Session Policy page, provide name for the Session policy.

  12. Click the plus icon [+] next to Profile and on the Create NetScaler Gateway Session Profile page, provide name for the Session profile.

  13. On the Client Experience tab, click the check box next to Clientless Access and select Off from the list.

  14. Click the check box next to Plug-in Type and select Windows/macOS from the list.

  15. Click Advanced Settings and select the check box next to Client Choices and set its value to ON.

  16. On the Security tab, click the check box next to Default Authorization Action and select Allow from the list.

  17. On the Published Applications tab, click the check box next to ICA Proxy and select OFF from the list.

  18. Click Create.

  19. Enter NS_TRUE under Expression area on the Create NetScaler Gateway Session Policy page.

  20. Click Create.

  21. Click Bind.

  22. Select Authentication Profile in Advanced Settings.

    Authentication Profile

  23. Click the plus icon [+] and provide a name for the Authentication Profile.

    Add authentication Profile name

  24. Click the plus icon [+] to create an authentication virtual server.

    Create auth virtual server

  25. Specify name and IP address type for authentication virtual server under Basic Settings area and click OK. The IP address type can be Non Addressable as well.

    Update basic settings

  26. Click Authentication Policy.

    Authentication Policy

  27. Under Policy Binding view, click the plus icon [+] to create an authentication policy.

    Creat Authentication Policy

  28. Select OAUTH as an Action Type and click the plus icon [+] to create OAuth action for NAC.

    Select oauth action type

  29. Create OAuth action using Client ID, Client Secret, and Tenant ID.

    Client ID, Client Secret and Tenant ID are generated after configuring NetScaler Gateway application on the Azure portal.

    Ensure that you have an appropriate DNS name server configured on your appliance to resolve and reach https://login.microsoftonline.com/, https://graph.windows.net/, and *.manage.microsoft.com.

    ID and secret for Azure portal

  30. Create authentication policy for OAuth Action.

    Rule: http.req.header(“User-Agent”).contains(“NAC/1.0”)&& ((http.req.header(“User-Agent”).contains(“iOS”) &&    http.req.header(“User-Agent”).contains(“NSGiOSplugin”))   (http.req.header(“User-Agent”).contains(“Android”) &&    http.req.header(“User-Agent”).contains(“CitrixVPN”)))

    Oauth rule

  31. Click the plus icon [+] to create nextFactor policy label.

    Next factor policy label

  32. Click the plus icon [+] to create a login schema.

    Create login schema

  33. Select noschema as an authentication schema and click Create.

    Select auth schema

  34. After selecting the created login schema, click Continue.

    Click Continue

  35. In Select Policy, select an existing authentication policy for user login or click the plus icon + to create an authentication policy. For details on creating an authentication policy, see Configuring advanced authentication policies.

    Select a policy or create one

  36. Click Bind.

    Click Bind

  37. Click Done.

    Click Done

  38. Click Bind.

    Click Bind

  39. Click Continue.

    Click Continue

  40. Click Done.

    Click Done

  41. Click Create.

    Click Create

  42. Click OK.

    Click OK

  43. Click Done.

    Click Done

To bind authentication login schema to authentication virtual server to indicate VPN plug-ins to send device ID as part of /cgi/login request

  1. Navigate to Security > AAA - Application Traffic > Virtual Servers.

    Virtual server page

  2. Select the previously selected virtual-server and click Edit.

    Edit a virtual server

  3. Click Login Schemas under Advanced Settings.

    Click advanced settings

  4. Click Login Schemas to bind.

    Select login schema

  5. Click [>] to select and bind the existing build in login schema policies for NAC device check.

    Bind login schema

  6. Select required login schema policy appropriate for your authentication deployment and click Select.

    In the above explained deployment, single factor authentication (LDAP) along with NAC OAuth Action policy is used, hence lschema_single_factor_deviceid has been selected.

    Select login policy

  7. Click Bind.

    Click Bind

  8. Click Done.

    Click Done