Solved

Blocking Internet Access

Posted on 2001-09-03
8
250 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
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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