Skip to main content
Alex1
Explorer
January 17, 2023
Solved

Reverse proxy with two-factor authentication

  • January 17, 2023
  • 2 replies
  • 3731 views

Hi team, 

 

Does Fortinet have a reverse proxy solution with two-factor authentication? Maybe Fortiproxy has such a feature? I can't find any documentation on this. Could you please give me a hint.

 

FortiProxy , FortiGate , FortiAuthenticator , FortiToken , FortiWeb 

Best answer by pminarik

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
January 18, 2023

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
January 18, 2023

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

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!