Skip to content

A wrapper for the linux-router script to make a captive portal

Notifications You must be signed in to change notification settings

Cabbache/CaptivePortal

Repository files navigation

CaptivePortal

A wrapper for linux-router to make a captive portal.

Features

  • PHP web server captive portal
  • Abilty to see mac address of IP
  • Uses trafex/php-nginx container to host the web server

How to run

  • Make the necessary changes in the global variables of captive
  • run ./update_domains.sh while you have internet access
  • Put your captive portal web server PHP code in site/
  • sudo ./captive

Issues

  • 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.sh script 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.

About

A wrapper for the linux-router script to make a captive portal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published