Hi!
I am a beginner with openWRT and networks in general, so sorry if my question is stupid ...
I am working on an art project where we want to create hotspots that have no Internet access, but serve a simple web page. People have to connect to the hotspot to see it, and no matter what url or IP they put in their web browser's address bar they will be sent to that single web page.
I have web dev experience, so setting-up the server won't be an issue, however I am not sure how to achieve the redirection part on the router ... I have looked into several solutions so far :
- 1. by configuring dnsmasq : the only examples of configuration I have found so far seem to map only ONE domain name to an IP. In my case I would like to map ALL the possible domain names to one IP. Is that possible with dnsmasq? And if I do it, how can I also redirect IP addresses ?
- 2. by using a captive portal : I have quickly tried Nodogsplash, and it works, except that once I close the captive portal, I am connected, and free to navigate wherever I want. What I would need is that the captive portal would always always direct the user to splash screen. No escape!!!
The other thing with that solution : is it possible to use a custom web server as to serve the splash screen (I want to be able to implement my own HTTP routes, POST, and stuff ...) ?
Thanks for your help
Sébastien
(Last edited by pycos86 on 31 Mar 2016, 23:09)