Date: Wed, 13 May 2015 18:47:44 -0400 From: Peter Lai <cowbert@gmail.com> To: Willem@offermans.rompen.nl Cc: freebsd-wireless@freebsd.org Subject: Re: captive portal recommendation Message-ID: <CACPAC32zZ8UFBVkJxVDzhYz9zyc09YbJkJwu5B1Gbf04%2B-DYLA@mail.gmail.com> In-Reply-To: <20150513150407.GJ30507@vpn.offrom.nl> References: <20150513150407.GJ30507@vpn.offrom.nl>
index | next in thread | previous in thread | raw e-mail
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 <Willem@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: Willem@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-unsubscribe@freebsd.org"help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACPAC32zZ8UFBVkJxVDzhYz9zyc09YbJkJwu5B1Gbf04%2B-DYLA>
