This is long overdue, but here it is anyway. The source codes I used to set up Squid as a captive portal. The bundle also includes the squid config file, the redirector script, and the authentication pages.
Requirements:
- Squid
- Apache, PHP 5.2 or higher, and MySQL (which are easily found on almost every Linux-based machine)
- Memcached
- The Memcached PHP Extension from PECL
- The Kohana PHP Framework
In my code, memcached is configured to be running on localhost on port 28888. Continue reading ‘Squid as a captive portal… part 2′
Attached Files:
- Squid Captive Portal
Sample implementation on how to configure Squid to act as a captive portal, with authentication page as well. Licenses under Creative Commons Attribution 3.0 License.
Recent Comments