How to Configure Radius Accounting for ICA Start/Stop?

How to Configure Radius Accounting for ICA Start/Stop?

book

Article ID: CTX224271

calendar_today

Updated On:

Description

This article describes how to enable NetScaler Gateway to send RADIUS Accounting Start and Stop messages to a RADIUS server, whenever an ICA session starts and ends.

Background

RADIUS accounting messages are useful in recording user’s connection information like Username, the duration user had an active session, reason for connection termination and so on. This information is sent in the form accounting Start message, when a user successfully logs into NetScaler Gateway vserver and an accounting stop message whenever a user connection terminates. From release 12.0 onwards, NetScaler Gateway can also send another Radius Accounting Start message whenever a user launches an ICA session (XenDesktop or XenApp) and send an accounting Stop message whenever an ICA session terminates. This could be helpful to calculate the time duration each user is using Citrix XA/XD resources. The accounting message contains a unique ID of the user like Username, Domain and Session time to name a few.

User-added image

Prerequisites

It is assumed that following configuration are in place.

  • NetScaler Gateway configuration
  • NetScaler Gateway and StoreFront Integration
  • Radius accounting policy pointing to radius accounting server

Instructions

To enable RADIUS accounting support for ICA session on NetScaler Gateway using GUI:

Configuration > NetScaler Gateway > Global Settings > Under Settings, click Change Global Settings > Published Applications tab > ICA RADIUS User Accounting > Drop-down and choose your accounting policy > OK.

User-added image

To enable RADIUS accounting support for ICA session on NetScaler Gateway using CLI:
set vpn parameter -icaUserAccounting Radius_accounting

“Radius_accounting” is the configured RADIUS accounting Policy.

Notes:
  • The above configuration enables radius accounting on all the VPN vservers
  • Starting with 12.0, NetScaler Gateway can be configured with separate authentication and accounting RADIUS servers.

Issue/Introduction

This article describes how to enable NetScaler Gateway to send RADIUS Accounting Start and Stop messages to a RADIUS server, whenever an ICA session starts and ends.

Additional Information

How to configure Radius Accounting Policy: https://docs.citrix.com/en-us/netscaler-gateway/11/authentication-authorization/configure-radius/ng-radius-user-accounting-tsk.html