acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 7000-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl Safe_ports port 4080 # Mlnet acl CONNECT method CONNECT # acl localnet src 192.168.1.0/24 ############### Bloqueos Varios # Bloqueo ads #acl ads dstdom_regex -i "/home/var/squid/ads_reg.txt" # acl bandoms dstdom_regex -i "/home/var/squid/domains.txt" #acl bandoms dstdom_regex "/home/var/squid/expressions" # http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost manager http_access deny manager http_access allow localhost #http_access allow windows http_access allow localnet # Bloqueos Varios #http_access deny ads #http_access deny bandoms # http_access deny all http_port 3128 ## # Security hide ip private forwarded_for delete via off ### # hosts_file /home/var/squid/hosts.txt # # cache_replacement_policy heap LFUDA cache_dir ufs /home/var/spool/squid 35000 16 32 store_dir_select_algorithm least-load minimum_object_size 1 KB maximum_object_size 120 MB cache_swap_low 80 cache_swap_high 95 access_log daemon:/home/var/log/squid/access.log squid cache_store_log daemon:/home/var/log/squid/store.log netdb_filename stdio:/home/var/log/squid/netdb.state cache_log /home/var/log/squid/cache.log coredump_dir /home/var/spool/squid #log_icp_queries off refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 4320 #################### dns_nameservers 127.0.0.1 # 80.58.0.33 80.58.61.254 # 8.8.8.8 8.8.4.4 ipcache_size 1024 #ipcache_low 90 #ipcache_high 95 #another optimizing #memory_pools off #client_db on #reload_into_ims on #balance_on_multiple_ip on #vary_ignore_expire on #Memoria cache cache_mem 128 MB pipeline_prefetch 80 request_timeout 2 minutes shutdown_lifetime 3 second # Privacidad visible_hostname vulcano # Hide client ip # forwarded_for delete # Turn off via header # via off # Deny request for original source of a request follow_x_forwarded_for deny all # See below request_header_access X-Forwarded-For deny all #### error_default_language Spanish