The other day I was a bit bored so I wanted to try something new. I wanted to build a proxy server which required me to authenticate, but I was not satisfied with the basic HTTP authentication options Squid gave me. I wanted a nice looking webpage, with a form. I also wanted something which would allow “visitor self service”, like a “I forgot my password”-page, or a page where a user could pay and sign up.
This is the page I get when typing www.google.com in the address bar of my browser. Only after authenticating, I get granted access to the internet. It isn’t just web filtering, every application that requires internet access will be denied until the authentication process has been completed.
What I was looking for, is called a Captive portal. According to Wikipedia:
Continue reading ‘Using Squid to build a captive portal, for free!’
Recent Comments