Take the 2-minute tour ×

Possible Duplicate:
Create WiFi hotspot with web access point

I have Internet cybercafe, and I have wireless internet connection.

If any customer comes to surf, and he types www.google.com he should redirect to my company's page to enter a password to open www.google.com, if password is correct then and only then page redirect to www.google.com

My question is how to trap my wireless internet connection to redirect user to my company's page.?

share|improve this question

marked as duplicate by techie007, Renan, Journeyman Geek, Mokubai, 8088 Aug 5 '12 at 5:39


Please don't cross post - stackoverflow.com/questions/11808589/… –  ChrisF Aug 4 '12 at 13:31
add comment

1 Answer

You have to install and configure your DNS server (bind) and DHCPD server. Create two local networks, one for non-authenticated (as default), one for authenticated. In the first network, filter internet access and resolve all domain requests using DNS server to your company IP address. They'll be redirected to your website whatever then type. Once they're activated (logged in), your DHCPD should send them a new address (IP in the authenticated network) where they have access to the internet.

share|improve this answer
add comment
