Ivan Botnar
2015-11-04 20:18:44 UTC
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
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