Results 1 to 2 of 2

Thread: direct conection to internet for some websites

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default direct conection to internet for some websites

    Dear all,
    is there a way in squid to allow some websites go direct to internet bypassing the squid acls?
    the users must get direct access to some sites when they use squid as proxyserver.

  2. #2
    Junior Member
    Join Date
    Dec 2008
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Yes you just need to add to your squid.conf something like this

    acl direct-connect dst_domain *.mydomain.com
    cache deny direct-connect

    Everything under *.mydomain.com will not be cached, this might be what you need.

    If you need direct connection because some kind of socket has to establish a connection the is a whole different animal, if the squid is transparent you can exclude the IPs with iptables, so IPs identified on the rules will not get routed to the Squid.

    If it is configured on the browser, you can usually find a list of exceptions on which sites to skip.


    Hope it helps.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Linux Block access of certain websites
    By Ana45 in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 29th January 2010, 11:19 PM
  2. Tune Apache Web Server for Hight Traffic Websites
    By kasimani in forum Web servers
    Replies: 2
    Last Post: 19th May 2009, 11:42 AM
  3. Loadbalancing with dual broadband conection
    By usmanmaniskp in forum Networking, Firewalls and Security
    Replies: 1
    Last Post: 18th December 2008, 10:37 PM
  4. I need a Shell script that grab emails from websites!
    By eawedat in forum Shell scripting
    Replies: 0
    Last Post: 30th May 2008, 08:18 PM
  5. To send fax direct on application
    By satimis in forum Linux software
    Replies: 0
    Last Post: 18th March 2008, 07:48 AM

Posting Permissions

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