|
|
|
|
|
|
|
[Original]
[Print]
[Top]
|
08022005 1635 GMT-5
Being very new to linux though loving my new OS, I opened my mouth to the school who was having troubles with the library computers. I told them they could install some version of Linux, in this case Ubuntu because that is what I have, and they could filter out IP addresses.
What they are wanting to do is allow students to access only very specific sites and no others. They were using some software to do this but it wasnt working at all. I thought, surely you can somehow filter for addresses that do not fit a certain criteria.
Can someone help me with this?
Wade
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
Hi Wade,
You can filter in many ways ...
You can filter based on IP addresses, but that doesn't sound like a good idea to me (addresses may change etc.), however, in this case, iptables will be able to do the trick.
You can also set up a DNS, and resolve unwanted domains to 127.0.0.1, or some machine running a small webserver that says "you are not allowed to this domain" ... or watever. In this case bind may be your friend.
Last option is to set up a proxy server to allow only sites you want. In that case squid might suit your needs.
Best regards, pa4wdh
|
|
|
----
The biggest difference between M$ stuff and the rest ? Most stuff is secure by design, M$ stuff is secure by accident.
bash# killall gaim killall: Don't shoot the messenger !
If we have /dev/powerbutton, what would touch /dev/powerbutton do ?
|
|
[Original]
[Print]
[Top]
|
|
|