Solutionist's Blog

Tech | Health | Life | Travel

squid transparent proxy with single Ethernet interface (port)

 squid transparent proxy with single Ethernet interface (port) #1: yum install squid   #2 vim /etc/squid/squid.conf http_port 192.168.1.98:3128 transparent hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% […]

exclude sites in squid

  #1: To exclude your local domain sites / range from cache, use following 1 2 acl local_server dst 192.168.0.0/24 192.168.1.0/24 cache deny local_server   #2: If you are using SQUID proxy server and you don’t want to cache few sites , use the following directives, 1 2 acl hotmail dstdomain .hotmail.com always_direct allow hotmail

Secured By miniOrange