Description | This article describes how to create a Captive Portal with LDAP users via policy-based. |
Scope | FortiGate. |
Solution |
Go to User Groups to create LDAP based on the attribute Organizational Unit (OU) as below:
Go to User Groups -> Create New.
Make sure to filter LDAP users based on OU, as in the example below, in which OU=fortinet.
Then, create a FortiGate policy to add the LDAP user to the Captive portal:
Go to Policy & Objects -> Firewall Policy and select 'Create new/Edit.'
Enable the following features:
config firewall policy
Note that this option is available only if you turn on the disclaimer option on item (2).
config firewall policy edit <x> set disclaimer enable set redirect-url "www.fortinet.com" next end
The page will redirect to Fortinet as per the configuration in the CLI. |
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 2025 Fortinet, Inc. All Rights Reserved.