/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
I am a teacher at a community college here in Texas and I am trying to set
up a small LAN in my department.
I have a single Internet conenction and I'm setting up an old Pentium 166 as
a DHCP server and router so that the students can plug in their laptops, get
an IP address, and access the Internet.
The way it works is like this: when they plug in they get a dynamic IP, but
I have IPCHAINS set up initially to not allow anyone out just yet. All
users are automatically redirected (via Squid and SquidGuard) to the local
web server (on the same machine) and they hit a "start page". It has
various information about upcoming assignments, events, etc. along with
required disclaimers about their computers being on the Internet. When they
click on a button on the page, then a CGI script executes an IPCHAINS
command to MASQ that particular address so that they can now get out, as
well as a command to be executed at midnight by the at daemon to remove that
particular IPCHAINS rule, effectively "turning off" their access. This all
works great so far.
What I would like to do now is this - can I set it up so that if someone
were to plug in their laptop that was set up for a static ip address
(outside my private network of 172.16.0.0) along with their own DNS and
gateway settings, can my router catch those people too and redirect them to
a page on how to set up thier computer for DHCP? Or even better, can those
people be MASQ'ed out to the Internet the same as the people with dynamic
IPs? How would a situation involving 2 people with the same IP address be
handled?
I am sorry for making this so long, but I wanted to explain the whole
situation. Please be detailed in your answer(s) because I am not an expert
in this sort of thing, but I am a pretty good learner. Thank you in
advance...
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.