Discussion:
[PacketFence-devel] Captive portal with null authentication
Ivan Botnar
2015-11-04 20:18:44 UTC
Permalink
Hi.

I'’m trying to set up a captive portal for guests that is just “check to
accept terms
and click OK to access”. I'm using latest version 5.4.

Devel guide doesn't have any information on this. Searching through mailing
lists I have found few threads with hints that this is possible.

I checked authentication.conf and added:

[null rule catchall]
description=
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=1D

Do I need to remove all other catchall rules? What would be the next step,
modify login.html in /usr/local/pf/html/captive-portal/templates ?

Thank you,
Ivan

Loading...