Hi there, I'm planning on deploying a Hotspot based on OpenWRT and have some questions on how to build a fool-proof system (because of non-techie users) which is still secure.
Here is my basic plan:
1. Setup OpenWRT on my router (IP 10.200.0.254)
2. Use WPA-PSK for security and set ESSID to "My Hotspot - Key myhotspot"
3. Set ap_isolate=1 (According to this post)
4. Enable DHCP (Range 10.200.0.100 - 10.200.0.200)
With these two simple steps everyone should be able to connect to the network and securely transmit data to the router (as far as i understand WPA, but I might be wrong!)
Those three steps were quite easy, but now I want to force the users to do some kind of authorization.
After the user connected to the wireless he should get a basic Login/Register screen with every website he opens.
5. Setup DNS to reply to any request by wireless clients with 10.200.0.250 (wired clients should be able to use DNS as usual)
6. Disable any routing of wireless client traffic to the internet (wired clients should be able to use the router to access the internet as usual)
If a unauth'd client now opens any website he should get a message "Welcome to my Hotspot, please login or register: [...]".
7. After a client successfully auth'd he should get correct DNS replies
8. Client traffic should be routed to the internet until he disconnects from the wireless (Maybe I use pinging to detect whether a client is still active or if his session should be terminated, but thats not important yet)
Creating the website, Account management and altering the routes is nothing new to me (though I've to admit the routes thing might be tricky), but I have no clue how to achieve the "Forwarding" in steps 5. and 7.
I know German T-Com uses some kind of "Forwarding" at their hotspots (and I guess most hotspots do that), but how?
Does someone know how the forwarding works or has a idea how it might work? (or maybe even as little as the name of this technique?)
Sebastian
(Last edited by archimedes on 4 Jul 2007, 23:09)