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.
kltam
Staff
Staff
Article Id 417537
Description This article describes the behavior of the captive portal on FortiGate when the post-authentication redirect URL is removed. This article also explains what happens after a user successfully logs in and how to configure the captive portal to redirect users to the original webpage the users were trying to access.
Scope FortiGate.
Solution

If the setting 'redirect-url' is configured in a firewall policy, the user's browser will be redirected to the configured URL after authentication succeeds. 

 

To remove the post-authentication redirect URL for the captive portal on FortiGate, remove the set redirect-url configuration. After a user successfully logs in, the user will be redirected to the original webpage that the user was trying to access before the captive portal appeared.

 

config firewall policy

    edit <id>

        unset redirect-url

    end

 

By default, FortiOS will not prompt the built-in post-authentication replacement message to the user after authentication succeeds.

Contributors