Results 1 to 4 of 4

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

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default 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. #2
    Junior Member
    Join Date
    Aug 2010
    Posts
    19
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    0

    Default

    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

  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Squid Other settings will be normal ?

  4. #4
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Squid Other settings will be normal ?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Squid Proxy Allow Single Host And Site ACL
    By asim.mcp in forum Proxy Servers
    Replies: 8
    Last Post: 17th December 2014, 12:51 PM
  2. [Solved] Squid Blocking Facebook.com Domain for particular time ACL
    By kuttyjack in forum Proxy Servers
    Replies: 3
    Last Post: 28th December 2010, 11:28 AM
  3. Replies: 2
    Last Post: 17th July 2009, 03:50 PM
  4. Allow specific web site in squid
    By janali in forum CentOS / RHEL / Fedora
    Replies: 0
    Last Post: 23rd July 2008, 02:07 PM
  5. site responding slow via linux proxy
    By yogeshmalik77 in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 15th May 2008, 01:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •