[squid-users] PHP Captive portal and squid.

From: Landy Landy <landysaccount_at_yahoo.com>
Date: Mon, 27 Sep 2010 11:08:12 -0700 (PDT)

Hello everyone.

I would like to create a captive portal using PHP where it would authenticate the user based on IP address and status. I tried using php socket and redirect traffic to it with ip tables. I'm having some problems since I can't get the customer ip address.

Now, I would like to know if there's a way to create a script to go along with squid that would help me accomplish this and how to use squid to use the script. For example:

customer =====>>> router/gateway/squid =======>>>> internet
                          ||
                          ||
                          ||
                      PHP Script doing auth
                           if ok then allow to internet

Thanks in advanced for your help.

      
Received on Mon Sep 27 2010 - 18:08:19 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 28 2010 - 12:00:05 MDT