Search squid archive

Re: PHP Captive portal and squid.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> 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


Thanks for replying.

I actually looked at that page before and got ideas from it. It lacks some other things I would like to add the captive portal: I would like to get the page the user intended to go to and after doing the authentication on another server have the user continue to the intended page or redirect to a "disconnected due to payment" page.

This is easily done with NoCatSplash but is written in perl and I need some php script to do this.


      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux