How to Collect Client VPN Logs for ADC Gateway

How to Collect Client VPN Logs for ADC Gateway

book

Article ID: CTX138155

calendar_today

Updated On:

Description

This article describes how to collect VPN logs from Windows XP, Windows Vista, Windows 7, or Windows 8 for analyzing VPN connection issues in an ADC Gateway appliance.


Instructions

Collect VPN Logs

To collect VPN logs from Windows XP, Windows Vista, Windows 7 or Windows 8, complete the following procedure:

  1. Enable DEBUG mode for VPN logs as described in the preceding procedure.
  2. Reproduce the VPN issue.
  3. To collect logs on the client computer, run: C:\Program Files\Citrix\Secure Access Client\nsclientCollect.exe c:\logs.zip
User-added image

Note: You can store and name the log file (c:\logs.zip) anything you want as long as it has a .zip extension.

A window as shown in the following screenshot appears for a few seconds to collect logs:

User-added image

Extract the contents of the C:\logs.zip file and review the log files.

 

ADC version 12.1 or Newer

Enable Debug Mode to Increase VPN Logging Level

  1. Ensure the Session Profile allows changing the logging level: Select the Session Profile in question > Client Experience > Advanced > General Tab, and for Allow Users to Change Log Levels ensure the left checkbox is Checked, as shown in the following screenshot. If this was not checked, then you must change the setting first before duplicating the issue.
    User-added image
     

Collect VPN Logs

  1. Right click on the Receiver icon and go to Advance Preferences:
    User-added image
     
  2. Right click on Netscaler Gateway Settings and hit open:
    User-added image
     
  3. Go to Configuration and enable debug logging and hit save. If this was not checked, then you must change the setting first before duplicating the issue.
    User-added image
     
  4. Now Connect to the VPN and duplicate the issue you are facing.
     
  5. Then go to logging and hit on collect log files and it will generate the VPN log file and save it on client machine's desktop: 
    User-added image
     
  6. Now generate an ADC support file.

Issue/Introduction

This article describes how to collect VPN logs from Windows XP, Windows Vista, Windows 7, or Windows 8 for analyzing VPN connection issues in an ADC Gateway appliance.

Additional Information

Connection Log Location

On the client computer, if Citrix Receiver framework is installed on NetScaler Gateway VPN plug-in, then the connection log is found under Advanced Preference > NetScaler Gateway Settings > Show Connection Logs.

Connection Log Options

The following are the options for connection log:

  • Auto-scroll: Always displays the latest information being logged by scrolling to the bottom of the dialog capture section.

  • Verbose Mode: Captures additional details for VPN logs.

  • Show Gridlines: Helps view the log information displayed.

  • Always on Top: This dialog is maintained above all other windows on the desktop.

Collect Logs from Receiver

To collect the logs/view from Receiver, go to Advanced Preference > NetScaler Gateway Settings > Configure NetScaler Gateway > Trace. From here you can view the logs and copy them to local device.

User-added image