Skip to main content
vponmuniraj
Staff
Staff
November 30, 2020

Technical Tip: How to get username in logs for Dialup VPN user web traffic

  • November 30, 2020
  • 0 replies
  • 4297 views
Description
This article describes how to enable username for Dialup VPN users in forward logs, web filter logs / security profile logs.

Solution
Dialup VPN can be configured based on the document below:
https://docs.fortinet.com/document/fortigate/6.2.0/cookbook/785501/forticlient-as-dialup-client

With the above configuration, the logs generated for web traffic does not log the username since there are no attached user / group in the security policy.

To log the username in logs involves 2 changes to the existing dialup VPN.

1) Change the XAUTH User group configuration to 'Inherit from policy' instead of choosing the group / user.





2) Configure the user / group as a matching criteria on the firewall policy for the Dialup VPN.





Results.

Before:





After:



Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.