PDA

View Full Version : hotspot user -> payment interface.


jlawrence
11-23-2003, 06:25 AM
Hi,
I've got my hotspot working, well it's authenticating users to the radius server correctly.

I now need to setup a system where if the user doesn't have an account, they are redirected to a setup server.
I imagine that it would work as follows:
1) user gets ip address via dhcp
2) user attempts to surf to a page.
3) user gets the logon page
4) user clicks on new account (this is hardcoded with a test user)
5) test user user auth'd via radius
6) all port http requests issued by the test user are redirected to the setup server.

Point 6 is where I hit a problem. How do I findout the IP address in use by the test user - obviously this is needed for the firewall redirect. Or is there a better/different way to do this ??

One way would be to have the user setup with a specific IP address, but not all users will be able to accomplish this. I'd rather all users connected via DHCP.

Any one any thoughts on this ?

Regards,
Jon Lawrence

jlawrence
11-28-2003, 03:23 AM
The new whitelist solves this problem.
Now if only I'd known what a whitelist was ;)

Jon

tony
11-28-2003, 07:54 AM
Glad you got it going. :)