At 05:21 PM 12/29/2003, you wrote:
Thanks very much.  Not quite sure how to get the IP Tables rules working and Vircom Radius to interact but at least it seems we have a way forward.  I have shared your suggestions with everyone.  I hope it sparks their imagination.  I really appreciate taking your time to reply so quickly.  

You might also look into Squid 3.0. It has external ACLs and other helpers that could do what you want.

--Ernest

 
Shasha & Associates
 
Global Access Telephone Numbers:
USA
: +1-312-944-4014    ZIM +263-91-770-770      UK: +44-7813-919988      South Africa +27-82-850-0022
 
Global Access Fax Numbers:
USA
: +1-312-440-3102    South Africa: +27-82-850-7711
 
Local Access Numbers Zimbabawe

Tel. +263-4-702-308         Fax +263-4-702-309          After Hours: +263-91-702-308
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ernest W. Lessenger
Sent: Tuesday, December 30, 2003 3:14 AM
To: [EMAIL PROTECTED]
Subject: [Modus] Redirect Browser
 
At 05:04 PM 12/29/2003, you wrote:

At 04:47 PM 12/29/2003, you wrote:

We are providing free dialup access to our internet service in Zimbabwe.  We really and truly get nothing out of it, but we are trying to redirect their browser to start on our home page before they continue to browse so we can get some mileage.  Often when I connect in a hotel using their service, my browser opens to the hotel�s home page or the service provider�s homepage then let�s me browse as normal.  Anyone out there with any ideas?

You can do this fairly easily with squid.

1) Write a squid redirector that only redirects if the user's IP address is NOT in a hash table (you can do this in C with Berkeley DB pretty easily).

Whoops, just remembered that squid redirectors won't know the user's IP address (I was thinking of a different but similar program). You can do the same thing with iptables rules, though. Just add a default rule to redirect, and add/delete rules as I described already.

--Ernest

Shasha & Associates

Reply via email to