I'm trying to setup a basic Captive Portal on OpenWRT using IPtables and LUA.
I was able to create a simple Hello World script working in /www/cgi-bin/, but I don't understand how to access server variables.
The script I'm trying to port to Lua is created by Andy Beverly:
http://www.andybev.com/index.php/Using_ … ive_portal
I don't like the idea of getting PHP to OpenWRT and I think this should be able to work in Lua.
Any pointers or tips are welcome.
Also, I think this might be a nice add-on for OpenWRT. I've not seen a light weight Captive Portal yet for OpenWRT.
Thanks.
Stu.