A wrapper for linux-router to make a captive portal.
- PHP web server captive portal
- Abilty to see mac address of IP
- Uses trafex/php-nginx container to host the web server
- Make the necessary changes in the global variables of
captive - run
./update_domains.shwhile you have internet access - Put your captive portal web server PHP code in
site/ sudo ./captive
- Since the docker container is running on the host network, it can lead to security issues, especially if the php code in
site/is vulnerable to exploits. - If the
captive.shscript crashes, it will not do a proper clean up, you may need to manually remove the docker container as well as remove the iptables rule.