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

Fortigate OS 5.2.3 cant get Captive Portal to work on VLAN on Switch

Hi,

 

No matter how I try the Captive Portal wont work at all.

The traffic never gets forwarded to the web page, only blocking traffic.

 

Anyone got some setup examples?

Mostly fortiwifi setups to find online.

Applied them to my wired setup but it doesn't work.

 

Regards // Jimi

1 REPLY 1
Ashik_Sheik
Contributor II

Hi ,

 

Did you tried this ?

 

Configuring disclaimer page for ethernet interface captive portals

While you can customize a disclaimer page for captive portals that connect via WiFi, the same can be done for wired connections. However, this can only be configured on the CLI Console, and only without configuring user groups.

When configuring a captive portal through the CLI, you may set security-groups to a specific user group. The result of this configuration will show an authentication form to users who wish to log in to the captive portal—not a disclaimer page. If you do not set any security-groups in your configuration, an "Allow all" status will be in effect, and the disclaimer page will be displayed for users.

The example CLI configuration below shows setting up a captive portal interface without setting security-groups, resulting in a disclaimer page for users:

config system interface

edit "port1"

set vdom "root"

set ip 172.16.101.1 255.255.255.0

set allowaccess ping https ssh snmp http

set type physical

set explicit-web-proxy enable

set alias "LAN"

set security-mode captive-portal

set snmp-index 1

next

end

Sheik Mahammad Ashik
Sheik Mahammad Ashik
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors