I've always hacked up NetReg (http://netreg.sourceforge.net/)  to do
this (it's written in perl). It lets you authenticate against ldap and
you should be able to hack in having registrations autoexpire (it may
already support that, I don't remember). You will have to setup dhcpd
and unbind on your own though - netreg basically is a frontend that
updates dhcpd.conf to assign registered mac addresses to a separate
dhcp IP pool and rehups dhcpd; the dhcpd config sets the
default/unregistered pool's nameserver attribute to a resolver which
will always resolves to the captive portal when the mac address is
unregistered; the registered dhcp pool provisions a nameserver that
does the proper resolution. Then add firewall rules to only allow the
registered block access to the outside.

On Wed, May 13, 2015 at 11:04 AM, Willem Offermans
<wil...@offermans.rompen.nl> wrote:
> Dear FreeBSD friends,
>
> I like to install a ``captive portal'' system
> (https://en.wikipedia.org/wiki/Captive_portal) on my running FreeBSD
> server. I like to connect possible authentication with a ticket system,
> where possible users need to obtain a ticket for web access. The ticket
> should be valid for a limited amount of time.
>
> Can anyone recommend such a system?
>
> --
> Met vriendelijke groeten,
> With kind regards,
> Mit freundlichen Gruessen,
> De jrus wah,
>
> Wiel
>
> *************************************
>  W.K. Offermans
> e-mail: wil...@offermans.rompen.nl
>
>                                        Powered by ....
>
>                                             (__)
>                                          \\\'',)
>                                            \/  \ ^
>                                            .\._/_)
>
>                                        www.FreeBSD.org
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to