Announcement

Collapse
No announcement yet.

Squid Proxy Block Facebook.com & Orkut.com Social Networking site

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Squid Proxy Block Facebook.com & Orkut.com Social Networking site

    I have a Fresh Installation of CentOS and Also did

    yum install squid

    and Installed Squid also. SQUID 2.6.STABLE21

    I have also activate IP forward.

    Server has 2 Cards :

    Eth0 : Local lan ( 192.168.0.2)
    Eth1 : Internet ( Static IP )

    Now what I want is :

    1) 192.168.0.17 : Access to All Sites
    2) 192.168.0.XX : Block Facebook.com, Orkut.com
    3) 192.168.0.5 : Access to only One Site, yahoo.com

    Can someone guide me How to do it to achieve it ?

    Kindly guide me .

    While playing with Squid, I crashed my system Once, Doesnt want to take risk.

  • #2
    Unfortunately, I can't give you an exact solution, but I can hopefully give you some pointers to a solution;

    You will need to set up various ACLs to specify the source addresses...

    acl all_access_traffic src 192.168.0.17
    acl yahoo_access src 192.168.0.5


    Now configure what destination domains are allowed for the 192.168.0.5 address...

    acl yahoo_access dstdomain .yahoo.com

    This will allow all traffic for the 192.168.0.17 address...

    http_access allow all_access_traffic

    I hope this will help.

    John

    Comment


    • #3
      Squid Other settings will be normal ?

      Comment


      • #4
        Squid Other settings will be normal ?

        Comment

        Working...
        X