opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.38k stars 757 forks source link

Captive Portal not redirected to login page since using KEA-DHCP #7430

Closed migro3466 closed 3 weeks ago

migro3466 commented 6 months ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Problem: When using new KEA-DHCP insted of ISC-DHCP together with Captive Portal I'm not redirected to the login page of CP to authenticate user. IP adresses are correctly assigned.

Software version used: OPNsense 24.1.6-amd64

AdSchellevis commented 6 months ago

The question is what did you send to the cient when using ISC (/var/dhcpd/etc/dhcpd.conf), if option 114 was set (https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html#id3), we can change this to a feature request to add v4-captive-portal.

migro3466 commented 6 months ago

It's been a while since I configured Captive Portal. I use the standard settings in Captive Portal, I only entered the IP address of the dhcp server under hostname, otherwise I will not be redirected to the login page even with ISC. The dhp.conf file was not changed manually, so I assume that option 144 was not set.

AdSchellevis commented 6 months ago

it might be worth the effort to try isc first then, looking at configs, I don't think the defaults are very different.

OPNsense-bot commented 3 weeks ago

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.