Re: Home page redirection, done at default router or use dummy DNS

From: Philippe WEILL (Philippe.Weill_at_aero.jussieu.fr)
Date: 01/26/05


Date: Wed, 26 Jan 2005 16:02:27 +0100


itsharkopath@yahoo.com wrote:
> Hi,
> Imagine a user in a hotspot, when he comes to the hotspot and tries
> to load a webpage (on the internet), he would automatically redirected
> to login page.
> I believe the following is to be done.
> There should be a DHCP server setup which gives the arriving clients
> IP, default router address etc.
>
> Where should the homepage redirection be done,
> 1. It could be done at the default router, the clients who haven't
> authenticated would be given IP from a fixed address pool, and if the
> IP packets are from that address pool the default router sends the
> packet to the login webserver with a change in the destination IP
> address (to the login server). Now this involves configuring the
> router, does the standard routers allow this kinda configuration
> without significant hacking of the system. Here after successfully
> logging in the user is given a different DHCP config info.
>
> 2. In DHCP configuration information, a system in their domain is
> claimed as DNS, so when the user tries to load a page the DNS server
> gives the IP of the login webserver as IP of all the webservers any
> user is trying to access. Are there any problems in this. Ofcourse, the
> client side stores that IP for all the pages the user tries to login,
> however, the user would not try to load another page once (or utmost
> twice) the page is redirected to login page. So, this doesn't seem to
> be a problem at all. What should be used here as DNS, should a specific
> application be written for this purpose or is there any widely used
> software component that provides this functionality.
> Here after the user successfully authenticates, she is provided with
> new DHCP settings (DNS, IP address etc)
>
> Is there any other way to do this redirection
> -shar.
>

Yes port forwarding with iptables like transparent proxy

-- 
  Weill Philippe -  Administrateur Systeme et Reseaux
  CNRS Service Aeronomie - Universite Pierre et Marie Curie -
  Tour 45/46 3e Etage B302 - 4 Place Jussieu - 75252 Paris Cedex 05 -  FRANCE
  Email:philippe.weill@aero.jussieu.fr | tel:+33 0144274759 Fax:+33 0144273776


Relevant Pages

  • Re: Microsoft websites are inaccessible
    ... I can not get well formed pages to load at msdn2.microsoft.com nor can I ... When did my firewall learn to discriminate? ... ProSafe VPN) but the Road Runner ISP requires dynamic DNS to be selected ... on the router. ...
    (comp.security.firewalls)
  • 2-3 minutes to load desktop
    ... minutes to load the desktop upon login. ... I have double checked all the DNS ... phone is ringing off the hook with highly irritated end users. ...
    (microsoft.public.windows.server.networking)
  • Home page redirection, where is it best done ?
    ... to load a webpage, ... IP, default router address etc. ... Where should the homepage redirection be done, ... packet to the login webserver with a change in the destination IP ...
    (microsoft.public.inetserver.asp.general)
  • Home page redirection, done at default router or use dummy DNS
    ... to load a webpage, ... IP, default router address etc. ... Where should the homepage redirection be done, ... packet to the login webserver with a change in the destination IP ...
    (comp.os.linux.networking)
  • Re: Cannot Find Server or DNS error (Tried everything)
    ... load any pages. ... And then Gateway number. ... And then DNS numbers. ... Your router may get automatic numbers from the ISP, and then your computers get automatic numbers from the router. ...
    (alt.internet.wireless)