Open source captive portal software for setting up your own wireless hotspot.
A (theoretically) simple set of IP tables rules for building a captive portal on a network.