summaryrefslogtreecommitdiff
path: root/etc/squid
diff options
context:
space:
mode:
Diffstat (limited to 'etc/squid')
-rw-r--r--etc/squid/squid.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/squid/squid.conf b/etc/squid/squid.conf
new file mode 100644
index 0000000..dc0522c
--- /dev/null
+++ b/etc/squid/squid.conf
@@ -0,0 +1,30 @@
+http_port 8080
+acl QUERY urlpath_regex cgi-bin \?
+no_cache deny QUERY
+cache_mem 90 MB
+cache_dir ufs /var/cache/squid/ 260 64 64
+acl manager proto cache_object
+acl localhost src 127.0.0.1/255.255.255.255
+acl all src 0.0.0.0/0.0.0.0
+acl allowed_hosts src 192.168.0.0/255.255.255.0
+acl workstation src 194.34.98.65/255.255.255.255
+acl ad_block dstdomain "/etc/squid/ad.sites"
+#acl alt_proxy dstdomain "/etc/squid/alt.proxy"
+cache_peer proxy.servers.dot parent 8080 0 no-query
+cache_peer localhost parent 8081 0 no-query
+cache_peer_domain proxy.servers.dot .dot
+cache_peer_access proxy.servers.dot allow all
+#cache_peer_access localhost allow alt_proxy
+#cache_peer_access proxy.servers.dot deny alt_proxy
+http_access deny manager all
+http_access deny ad_block
+http_access allow allowed_hosts
+http_access allow workstation
+http_access allow localhost
+http_access deny all
+#never_direct allow alt_proxy
+#always_direct deny alt_proxy
+cache_mgr randomdan@randomdan.homeip.net
+cache_effective_user squid
+cache_effective_group web
+visible_hostname cache.random.lan.