This project aims to add Cas authentication method to the core captiveportal module. It uses a PHP enabled captive portal web server, and phpCAS client lib (https://github.com/apereo/phpCAS).
The project is in dev state, and needs many manual config on the Opnsense Console
the cp template with phpCAs library.
the php.ini with required extensions
shell script to copy required libraries in the CP chroot
Modified files from the core captive portal.
Paths from /usr/local/opnsenses
are included
-
In Service/Captive portal, add a captive portal zone with No authentication
-
Add you CAS's server IP in allowed list
-
Copy the project in
/var/captiveportal/zone0/
-
On opnsense console :
# cd /var/captiveportal/zone0/scripts # sh copylibs.sh
-
Overwrite the core files of
opnsense
tree -
Apply CP modification from ui to generate the webserver config.