Skip to main content
pminarik
pminarikAnswer
Staff
Jan 18, 2023 9:58 AM UTC

You can add a user/group into source of a firewall policy for a VIP object, and it will present the usual captive portal on the VIP's port before permitting access:

pminarik_0-1674035592554.png

Naturally, this will also provide 2FA, if configured.

 

The caveat is that this still behaves like regular FortiGate captive portal: The authentication is IP-based (~anybody who shares the public IP with an authenticated client will also have access), and has a default 5-minute idle timeout (no packets -> start ticking). No cookies.

 

If your scenario cannot tolerate these limitations, I believe FortiWeb would be a better match for a more proper login flow, see e.g. https://docs.fortinet.com/document/fortiweb/7.2.0/administration-guide/111789/authentication-styles .

2 replies

pminarik
Staff
pminarikAnswer
Staff
Jan 18, 2023 9:58 AM UTC

You can add a user/group into source of a firewall policy for a VIP object, and it will present the usual captive portal on the VIP's port before permitting access:

pminarik_0-1674035592554.png

Naturally, this will also provide 2FA, if configured.

 

The caveat is that this still behaves like regular FortiGate captive portal: The authentication is IP-based (~anybody who shares the public IP with an authenticated client will also have access), and has a default 5-minute idle timeout (no packets -> start ticking). No cookies.

 

If your scenario cannot tolerate these limitations, I believe FortiWeb would be a better match for a more proper login flow, see e.g. https://docs.fortinet.com/document/fortiweb/7.2.0/administration-guide/111789/authentication-styles .

Alex1
Alex1Author
Explorer
Jan 18, 2023 12:42 PM UTC

Hmm, thanks, @pminarik. It looks like Fortiweb is the right one. 

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