john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Squid proxy parent proxy specific filter domain direct access

squid-proxy

apt-get install squid3 nano /etc/squid3/squid.conf

appended to near the end of the file as we want to allow normal default rules (i.e. https) to apply first

allow LAN to access the proxy, send all traffic except domain.com to the parent proxy

acl lan src 10.10.10.0/255.255.255.0 acl local-servers dstdomain .domain.com http_access allow lan

cache_peer 10.10.10.198 parent 3128 3130 default no-query

always_direct allow local-servers never_direct allow all

sed 's/^#.*//g' /etc/squid3/squid.conf | sed '/^$/d'

/etc/init.d/squid3 restart tail -f /var/log/squid3/access.log


  • « Perl regular expression set the date
  • Turn off the display from the command line »

Published

Oct 31, 2011

Category

linux

~76 words

Tags

  • access 8
  • direct 1
  • domain 7
  • filter 6
  • linux 249
  • parent 3
  • proxy 5
  • specific 1
  • squid 3