Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
asmaa
New Contributor

Redirect to specific URL

Hi all;

 

I want to configure URL Redirection meaning that when any user starts web browsing;  he will first be redirected to specific URL of my choice.

Forigate 620B/ v5.2.5

 

Thank you.

3 REPLIES 3
Carl_Wallmark
Valued Contributor

Hi,

 

I think you need to enable "disclaimer" and then you can set a redirect url:

in CLI:

 

config firewall policy

edit <index>

set disclaimer enable

set redirect-url www.google.com

end

 

If you dont like the standard disclaimer layout or timeout etc.. I think you can change that in the "replacement messages" (pure HTML code)

FCNSA, FCNSP
---
FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30B
FortiAnalyzer 100B, 100C
FortiMail 100,100C
FortiManager VM
FortiAuthenticator VM
FortiToken
FortiAP 220B/221B, 11C

FCNSA, FCNSP---FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30BFortiAnalyzer 100B, 100CFortiMail 100,100CFortiManager VMFortiAuthenticator VMFortiTokenFortiAP 220B/221B, 11C
asmaa

Thank you for quick reply.

I have already tried these CLI commands, but they have no effect [redirection did not happen].

please, advise.

Burhanripl
New Contributor

The option is available in Captive Portal under Systems-Interface-Wan.

Labels
Top Kudoed Authors