opnsense / core

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

KEA DHCP-leases not working on interfaces with active Captive Portal #7188

Closed mayerthomas closed 8 months ago

mayerthomas commented 8 months ago

Important notices

Bug description

I have an interface with a working Captive-Portal-Setup. After switching from ISC-DHCP to KEA-DHCP clients do not longer get an IP-address assigned. Without activated Captive Portal KEA-DHCP will assign IP-addresses correctly.

Environment

OPNsense 24.1_1 (amd64)

AdSchellevis commented 8 months ago

best check the autogenerated rules of the legacy server first to fine the ones you're missing, kea doesn't automagically add rules.

mayerthomas commented 8 months ago

Thank you for the hint!

Would it be a good solution to let KEA also auto-add the required rules, or should there be a hint in the documentation?

AdSchellevis commented 8 months ago

I'm not a huge fan of these autogenerated rules, but for dhcp services it might be better to consider it anyway. Maybe with a toggle to disable these rules. I'm marking this ticket feature request.

mayerthomas commented 8 months ago

That sounds like a very sensible solution. Thank you for your tireless commitment to the OPNSense project.