How to Restrict Access to Access Gateway and AAA Traffic Management Virtual Server

How to Restrict Access to Access Gateway and AAA Traffic Management Virtual Server

book

Article ID: CTX138327

calendar_today

Updated On:

Description

This article describes how to restrict access to Access Gateway or AAA Traffic Manager virtual server by using username and the responder feature of the NetScaler appliance.

In some scenarios, access to an Access Gateway Enterprise or AAA traffic management authentication virtual servers might be blocked for a certain user if access to Active Directory is not available.

This procedure does not work for restricting Graphical User Interface (GUI) or SSH access to the NetScaler appliance.


Instructions

The following are the requirements:

  • Open an SSH console to the NetScaler appliance with nsroot credentials.

  • A valid Active Directory user account.

  • Responder feature that is licensed or enabled on the appliance.

To restrict access to Access Gateway Enterprise Edition virtual server or AAA Traffic Management virtual server, complete the following procedure:

  1. Log on to the GUI of the appliance with the nsroot credentials.

  2. Expand the Responder node, as shown in the following screen shots:

    NetScaler Software Release 10.1

    User-added image

    NetScaler Software Release 10

    User-added image

    NetScaler Software Release 9.x

    User-added image

  3. Expand the Actions node.

  4. Click Add.

  5. Add the message, as shown in the following screen shot:

    User-added image

  6. Click Create.

  7. Expand the Policy node.

  8. Click Add.

  9. Add the expression and the associated Responder action, as shown in the following screen shot:

    User-added image
  10. Bind the policy to the required object or at a global level, as NetScaler software release 9.x responder policies cannot be bound to Access Gateway virtual server.

  11. Test and save the configuration:

    User-added image

    User-added image

  12. Alternatively, run the following commands to restrict access to the virtual server from the command line interface of the appliance using the nsroot credentials:
    add responder action drop_user_action respondwith "\"Your access to this system has been revoked\""
    add responder policy drop_user_polcicy "HTTP.REQ.USER.NAME.SET_TEXT_MODE(IGNORECASE).EQ(\"user_name\")" drop_user_action
    bind responder global drop_user 100 END -type REQ_OVERRIDE

    Note: The responder policy is bound at a global level in the preceding commands.

Issue/Introduction

This article describes how to restrict access to Access Gateway or AAA Traffic Manager virtual server by using username and the responder feature of the NetScaler appliance.