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.
csnyee
Staff
Staff
Article Id 192801

Description

 
This article explains how to redirect all computers within the network to a specific URL upon starting of internet browsers.
For example, a guest walks into meeting room with a laptop, connects to the "Unprotected WiFi" which is the gateway controlled by the FortiGate. When the guest tries to enter "www.google.com", they will be redirected to "www.fortinet.com" for the first session.

 

Scope

 

FortiGate.


Solution

 
This redirection can be obtained by first enabling the disclaimer in the firewall policy so that the firewall will interrupt traffic and redirect it to a specific URL.

Create or edit the  desired firewall policy (from LAN to WAN) and then use the following commands:
 
 
config firewall policy
   edit 0
      set disclaimer enable
      set redirect-url "http://www.fortinet.com"
   end
 

Related article:

Technical Tip: How to create FortiGate captive portal using policy