Hi,

> I'm interested in serving up the same sort of "splash-page" that you see
> when connecting to one of the various wireless nodes in Manhattan - you
> know, you'll try to connect to a particular web site, but will see a
> welcoming page announcing the node first?
>
> Anyone know how this is done? I've been experimenting with a trivial dns
> rig, but want to know if anyone knows how precisely this is done here in
> NYC.

There are a number of ways you can do this. If you tell the client to use
your own DNS server in DHCP, then you can just set up DNS to answer what
you like. But that is fine only if you don't care about whether the client
caches DNS.

A better way is allow DNS but to trap outgoing connections to port 80,
like this (in IPFilter):
rdr (internal interface) 0/0 port 80 -> (your IP) port 80

A simple shell script can change the rules as needed, depending on what
you want to do with the captive client.

John Klos
Sixgirls Computing Labs
--
NYCwireless - http://www.nycwireless.net/
Un/Subscribe: http://lists.nycwireless.net/mailman/listinfo/nycwireless/
Archives: http://lists.nycwireless.net/pipermail/nycwireless/

Reply via email to