Link to home
Start Free TrialLog in
Avatar of lynn402
lynn402

asked on

Blocking Internet Access

In my classroom of 35 win98 computers and 1 linux server (Apache & Samba), there are certain times of the day that I prohibit Internet access only on the win98 computers. But I have to do it manually. I go to the hub and remove the coax cable that brings Internet access to my room. Is it possible to use linux to prevent my students from access the Internet at certain times?
Avatar of ifincham
ifincham

Hi,

You can do this using the access-control list capability of the squid proxy server. See http://squid.visolve.com/squid24s1/access_controls.htm and the squid home page at http://www.squid-cache.org .

Regards


Is linux acting as a router or is it also being used as a proxy server using SQUID?  if it is being used as as a proxy server you can do that as ifincham said through ACL in squid.  

If you need help on how to do it just let me know.

Also let me know if you are using it as a router only and whether you are using any firewalls or masquradig solutions.

Good Luck,

Tarik
I Asume that the linux box is used as internet gateway.

Then you could make scripts to change the filewall rules allowing or blocking internet connection to the internal lan. and execute them via cron at specific times.

Depending on the linux kernel and firewall rule demands, how the scripts sould be written.
Avatar of lynn402

ASKER

No. I'm not using linux as a gateway. I'm using samba only.
Do I need to make it a gateway to block Internet access at certain times?
You could, a gateway is a device that connects two or more networks. So you'll have to create two seperate networks.

But I would like some more information before I can give you some usefull advise.

Is there a proxy or nat server in the schools network?
Are the IP addresses static or set by DHCP?
Are you usinging mutiple network ranges?


Or even more easy.....

Buy a very old BNC-only hub and a (digital) wallsocket-timer.  

Avatar of lynn402

ASKER

The addresses are dynamic.
I made a mistake in saying the "school's network".  The network is run by the school system. Therefore, other schools in the system are on the network, too.
There is a proxy.
I don't know if multiple net ranges are used.
How much does a old BNC hub cost? What features would it give me in controlling my classroom computers?
ASKER CERTIFIED SOLUTION
Avatar of soulmate022700
soulmate022700

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial