Skip to main content
Alesco
New Member
March 10, 2016
Solved

Disclaimer only Captive Portal on LAN Interface

  • March 10, 2016
  • 2 replies
  • 14305 views

Hi all,

 

I need to set up a disclaimer only captive portal for our public wifi users.

 

Now the thing is that our wifi infrastructure is based on Cisco and I want to use the FortiGate as default gateway for our public wifi. I need the FortiGate to provide the captive portal and to do the traffic filtering.

 

This means that I want to set up the captive portal on the lan interface of the FortiGate where the wifi traffic comes in. I don't want an authentification captive protal it just has to be a disclaimer that the user has to accept so he can connect to the internet.

 

Unfortunatley I am only able to choose "Authentication Portal Local or External" and there is no option to choose the disclaimer only type.

 

How can I solve this?

 

Thanks for your help!

 

Br,

 

Alex

 

    Best answer by ede_pfau

    Try to configure that in the policy:

    config firewall policy

    edit nnn

    set disclaimer enable

    2 replies

    ede_pfau
    SuperUser
    SuperUser
    March 10, 2016

    I seem to remember that you can set the disclaimer command in CLI only. Please have a look at the CLI Reference for your firmware version.

    Alesco
    AlescoAuthor
    New Member
    March 10, 2016

    Thanks for your help!

     

    I am running FortiOS 5.4 on my FortiGate 60D.

     

    Here is what I tried...

     

    config system interface

    edit "Name of the Interface"

    set security-mode captive-portal

    set portal-type disclaimer

     

    The command set Portal-type doesn't seem work for the interface.

    command parse error before 'portal-type' Command fail. Return code -61

     

    Is there another way to do it?

    Or does it work with another OS version?

     

    Thanks,

    Alex

    ede_pfau
    SuperUser
    ede_pfauAnswer
    SuperUser
    March 10, 2016

    Try to configure that in the policy:

    config firewall policy

    edit nnn

    set disclaimer enable

    neil_burroughs
    New Member
    April 4, 2018

    Hi. Trying to enable disclaimer only captive portal on a LAN interface, Fortigate 500D, 5.2.7 but cant get the suggested commands to work, any suggestions?

    Thanks

    N