> 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


Reply via email to