FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
vkumar_FTNT
Staff
Staff
Article Id 192081

Description

 

This article explains how to view the historic logs for users connected through SSL VPN.

 

Scope

 

FortiGate with SSL VPN.


Solution

 

The historic logs for users connected through SSL VPN can be viewed under a different location depending on the FortiGate version:

 

  • Log & Report -> Event Log -> VPN in v5.2.x.
  • Log & Report -> VPN Events in v5.4.x.
  • Log & Report -> VPN Events in v6.0.x.
  • Log & Report -> Events and select 'VPN Events' in 6.2.x and 7.0.x
  • Log & Report -> System Events and select 'VPN Events' in 7.2.x and 7.4.x.


It is necessary to use the Add Filter option to add 'Action: tunnel-Up' or 'Action: tunnel-down' depending on requirements as shown in the following screenshots.

Once the log has been selected for the required date, the user identifier will be shown as part of the detailed log display. In the following examples, user 'mb' is connected through SSL VPN.

It should be noted that the filter name 'User' is only available from FortiOS v5.4.1 and above. For previous versions select Filter 'Action'.

 

  • FortiOS v5.2.x:

mbaig_FD40419_tn_FD40419-1.jpg
 
  • FortiOS v5.4.x:

mbaig_FD40419_tn_FD40419-2.jpg
 
  • FortiOs v6.0.x:
 
 
  • FortiOs v6.2.x:
 
kb_10927_2.png

 

  • FortiOS v7.0.x:

 

SSL tunnel log.PNG

 

  • FortiOS v7.2.x and v7.4.x:

 

image.png

 

Note:

Make sure that the VPN activity event is enabled.

 

To log VPN events from the GUI:

  1. Go to Log & Report -> Log Settings.
  2. Verify that the VPN activity event option is selected.
  3. Select Apply.