SQUID CONFIG
squid
#=================================
# Squid config
# dovodil do yma opasno
# instrukciya po adresy
#http://www.lissyara.su/articles/freebsd/programms/squid+ad/
#=================================

http_port 192.168.0.1:3128
hierarchy_stoplist cgi-bin ?

#==================================
# Ne ponyatno
#==================================

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

#==================================
# CACHE SIZE AND OPTIONS
#==================================

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 32 MB
maximum_object_size 4096 KB
minimum_object_size 16 KB
cache_dir ufs /var/spool/squid 1024 64 512
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log none

#==================================
#Rec. minimum config. per scheme:
#==================================

#auth_param basic program /usr/lib/squid/squid_ldap_auth -b "ou=People,dc=ugneft,dc=local" -f "(uid=%s)" localhost

#=================================
# ACL
#=================================
# allowed ports
#=================================

acl SSL_ports port 443 563 5190
acl SSL_for_client_banks port 910 8443 4500

#=================================
# other safe ports
#=================================

acl Safe_ports port 80 # http
#acl Safe_ports port 6881 # torrent
#acl Safe_ports port 4444 # treker udp
acl Safe_ports port 21 # ftp
acl Safe_ports port 8420 # GAZMYaS surgut
acl Safe_ports port 443 # https\ssl
acl Safe_ports port 5190 # icq

acl CONNECT method CONNECT
acl manager proto cache_object

#================================
# networks
#================================

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl LocalNet src 192.168.0.0/255.255.255.0

#===============================
# RULES
#===============================

http_access allow LocalNet
http_access deny all

#===============================
# DNS
#===============================

dns_nameservers 85.175.46.130 85.175.46.122



Сайт создан в системе uCoz