Re: [squid-users] PHP Captive portal and squid.

From: Andrew Beverley <andy_at_andybev.com>
Date: Mon, 27 Sep 2010 20:19:40 +0100

> 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.

What's the reason that you can't get the customer IP address?

If you can find a way to get the IP address, then you could use the
following (which uses iptables and PHP):

http://www.andybev.com/index.php/Using_iptables_and_PHP_to_create_a_captive_portal

Andy
Received on Mon Sep 27 2010 - 19:20:15 MDT

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