How to block a site over LAN for other connected Systems.

Altair

Discoverer
As the titles says...Can anybody tell me how to block a site like Facebook,Orkut and other social Networking sites.

It is regarding a friend, the server in his institute has the main net connection and other systems are connected to it through LAN and thin-clients. Actually he wants to Use Facebook and various sites but does not want his students to use as they don't study much and go online or whatever the reason is.

I just want to know that is there any possibility to use these Website only on the main system and not on the other LAN connected and n-computing thin clients systems?

I tried blocking it from the host file but it also blocks the main server to use it too...Forgot about that :ashamed:

Help will be really appreciated. Also there are somewhat 40-50 systems connected through LAN for the Internet and 3 are thin clients.

Also if any software is available for this either free or paid let me know.

Thanks

Also if i posted this in the wrong section mods please move it to the appropriate Section.
 
What is the 'server'? A windows host or a hardware router? You can just use ACLs on outbound traffic from whatever port.

Another way is to manually edit 'hosts' to force manual address resolving. Use a loopback address or better yet create an alert to notify your admin.

The file is located in System32\drivers\etc
 
I called my friend he said he uses a "Switch" for LAN and can you please explain the procedure how to do so^ I really don't know anything about this. Will be really helpful. If it can be done through hosts file please tell the procedure.
 
The way to do it is explained in the file itself, just open it with any text editor and add entries.

It is actually used to force network address resolving, but if you force websites to be resolved into a loopback address it would be the same as having it blocked. Problem is that you would have to do it on all 40 comps manually.

Code:
127.0.0.1 facebook.com
 
I know that^ as i said i did it in the server's host file and every system even the server couldn't use facebook....So you're saying i have to do in every system then? :huh: Will let you know once i do it or make him do it :P. Thanks.
 
Back
Top