I am currently in college and I need to set up a network using Ubuntu, I've done it in the past using Windows but never really touched my hands on Linux.

We basically need a program that we can place on our server, and that people can internet on it when they have a valid Ticket ID. After filling in this ticket ID they will be able to browse the internet for 2 hours before they get disconnected and their voucher is no longer valid.

Does anyone knows a program I can install on my server?

Best regards,