April 20, 2024, 07:42:15 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Blocking of websites for clients  (Read 4108 times)

Offline engineerjude

  • Linux Noob !
  • *
  • Posts: 21
Blocking of websites for clients
« on: May 24, 2004, 06:26:56 PM »
Fello Linux colleagues.

Please I need help in blocking websites for my clients. I am working with an ISP, I used a Linux as server that routes for all clients using a local Ip addresses.

Right now, I want to block some dangerouc sites for some clients on my network. E.g, I need to block www.sex.com of five clients on my network:

Their Ip addresses are: 172.16.0.5, 172.16.0.28, 172.16.0.30, 172.16.0.3, 172.16.0.10   What commands can I use??? Please explain simpler with commands and scripts.

Thanks.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Blocking of websites for clients
« Reply #1 on: May 25, 2004, 05:11:26 AM »
First of all you have to decide what mettod to use !!
If you are using squid  then it is already discussed in the forum or if you are using Iptables to do so then it is also solved. give a look to forum again. if not able find the answer then ask again,, btw. i have answered with detail in various threads..

Offline johntaylor

  • Linux Noob !
  • *
  • Posts: 19
Blocking of websites for clients
« Reply #2 on: May 28, 2004, 05:41:13 AM »
I use DansGuardian for my filtering. It is very good.
(www.dansguardian.org) and is pretty simple to configure using a downloadable webmin module.

Cheers,