Created on 08-07-2023 11:37 PM Edited on 08-06-2024 03:47 PM By Jean-Philippe_P
Description | This article describes to troubleshoot when the captive portal is not getting triggered. |
Scope | FortiGate. |
Solution |
If the user is not getting the captive portal, it means the traffic is not matching the user-based policy. Configure the below settings in the firewall to get the captive portal triggered.
After configuring this policy, the captive portal should trigger. If it is not triggering and can still access the internet, the traffic matches below IP-based policy.
config user setting
When configuring this setting, traffic will match user based policy that has been created on the top and the captive portal
Note:
Open the CLI of the DNS policy and make sure to enable captive-portal-exempt as well:
config firewall policy edit <id> set captive-portal-exempt enable end
In the above policy example, the incoming interface (port2) is the LAN interface and the outgoing interface (port1) is the WAN/public facing interface. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.