Solved

Blocking Internet Access

Posted on 2001-09-03
8
254 Views
Last Modified: 2010-03-17
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?
0
Comment
Question by:lynn402
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 2

Expert Comment

by:ifincham
ID: 6450931
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

0
 
LVL 3

Expert Comment

by:tdaoud
ID: 6452020

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
0
 
LVL 1

Expert Comment

by:soulmate022700
ID: 6494929
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.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:lynn402
ID: 6515252
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?
0
 
LVL 1

Expert Comment

by:soulmate022700
ID: 6518217
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?


0
 
LVL 1

Expert Comment

by:soulmate022700
ID: 6518263
Or even more easy.....

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

0
 

Author Comment

by:lynn402
ID: 6534498
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?
0
 
LVL 1

Accepted Solution

by:
soulmate022700 earned 100 total points
ID: 6534650
An old BNC hub souldn't cost more than 15$. ( And in holland very hard to find, because now a days every body wants at least)
With a seccond hub you can preserve the lan connection within the classroom and be disconnected from the schools network. Just like unplugging the coax cable from hub, like you used to do. With a simple timer (mostly used for lamps) you can switch on and off the hub witch is connected to the schools LAN on specific times.
It's a very easy sollution.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question