Skip to main content
kmohan
Staff
Staff
Sep 26, 2024 9:58 AM UTC

Technical Tip: DNS Filter Traffic include Username logs on the Captive Portal Authentication

Description

 

This article describes how to verify the logs with the Username on  DNS Filter Profiles for the Captive Portal Authentication.

 

Scope

 

FortiGate.

 

Solution

 

Create a Captive Portal on the Lan interface:

Troubleshooting Tip: How to troubleshoot if captive portal not getting triggered in the firewall

 

Create a DNS Filter with the customer requirement, and create a User or Usergroup under local or Any Server like Radius or LDAP.
 
DNS-1.png

 

Verify with the image shown below:


                                DNS2.png:

 

Once configured with DNS Filter, the User/User group is added to the Firewall Policy. The username logs will be only visible when the  User/user group is created under the User&Authentication.

                                   DNS3.png                         DNS-4.png

  

Once, authentication the browser, the traffic logs will be generated with the Username.

Verify logs under Dashboard -> Firewall Users Monitor, and Forward Traffics logs.
                             

             DNS5.png

 

DNS6.png

 

DNS7.png

 

Logs with usernames are visible on the logs & Reports.

Related document:
Include usernames in logs

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024