## Automatic generated configuration for Squid.# Do not edit this file manually.## Setup transparent mode listeners on loopback interfaceshttp_port 127.0.0.1:3128 intercept http_port [::1]:3128 intercept # Setup regular listeners configurationhttp_port 189.84.217.165:3128 http_port 10.10.10.5:3128 acl ftp proto FTPhttp_access allow ftp# Setup ftp proxy# Rules allowing access from your local networks.# Generated list of (internal) IP networks from where browsing# should be allowed. (Allow interface subnets).acl localnet src 189.84.217.160/29 # Possible internal network (interfaces v4)acl localnet src 10.10.10.0/24 # Possible internal network (interfaces v4)# Default allow for local-link and private networksacl localnet src fc00::/7 # RFC 4193 local private network rangeacl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines# ACL lists# ACL - Remote fetched Blacklist (remoteblacklist)acl remoteblacklist_ShallaBlackList dstdomain "/usr/local/etc/squid/acl/ShallaBlackList"# ACL - Block browser/user-agent - User defined (browser)# ACL - SSL ports, default are configured in config.xml# Configured SSL ports (if defaults are not listed, then they have been removed from the configuration!):acl SSL_ports port 443 # https# Default Safe ports are now defined in config.xml# Configured Safe ports (if defaults are not listed, then they have been removed from the configuration!):# ACL - Safe_portsacl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT# ICAP SETTINGS# disable icapicap_enable off# Pre-auth pluginsinclude /usr/local/etc/squid/pre-auth/*.conf# Authentication Settings# ACL list (Deny) remoteblacklist_ShallaBlackListhttp_access deny remoteblacklist_ShallaBlackList# Deny requests to certain unsafe portshttp_access deny !Safe_ports # Deny CONNECT to other than secure SSL portshttp_access deny CONNECT !SSL_ports # Only allow cachemgr access from localhosthttp_access allow localhost managerhttp_access deny manager# We strongly recommend the following be uncommented to protect innocent# web applications running on the proxy server who think the only# one who can access services on "localhost" is a local userhttp_access deny to_localhost# Auth pluginsinclude /usr/local/etc/squid/auth/*.conf## Access Permission configuration:## Deny request from unauthorized clients## ACL - localnet - default these include ranges from selected interfaces (Allow local subnets)http_access allow localnet# ACL - localhosthttp_access allow localhost# Deny all other access to this proxyhttp_access deny all# Post-auth pluginsinclude /usr/local/etc/squid/post-auth/*.conf# Caching settingscache_mem 256 MBcache_dir ufs /var/squid/cache 100 16 256# Leave coredumps in the first cache dircoredump_dir /var/squid/cache## Add any of your own refresh_pattern entries above these.## http://wiki.squid-cache.org/SquidFaq/WindowsUpdaterefresh_pattern -i microsoft.com/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 129600 reload-into-imsrefresh_pattern -i windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 129600 reload-into-imsrefresh_pattern -i windows.com/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 129600 reload-into-imsrefresh_pattern ^ftp: 1440 20% 10080refresh_pattern ^gopher: 1440 0% 1440refresh_pattern -i (/cgi-bin/|\?) 0 0% 0refresh_pattern . 0 20% 4320# Squid Optionslogformat opnsense %>a %[ui %>eui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Shaccess_log stdio:/var/log/squid/access.log opnsense cache_store_log stdio:/var/log/squid/store.log# URI hanlding with Whitespaces (default=strip)uri_whitespace strip# Disable squid logfile rotate to use system defaultslogfile_rotate 0# Define visible hostnamevisible_hostname localhost# Define visible emailcache_mgr admin@localhost.local