Страница 1 из 1

Немогу пропускать некоторым адресам без авторизаций

Добавлено: 26 окт 2009, 12:16
eem-kz
на этом конфиге все работает через авторизация
немогу настройт пропускать некотрым адресам без авторизация
где что прописать ?
ниже конвиг ACL

auth_param basic program /etc/squid/sbin/sqauth
auth_param basic children 8
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 1 hours
auth_param basic casesensitive off
authenticate_ttl 40 seconds
authenticate_ip_ttl 20 seconds
acl password proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl LocalNet src "/etc/squid/users.list"
acl LocalNet1 src "/etc/squid/users1.list"
acl bigfiles urlpath_regex \.mp3$ \.avi$ \.mpeg$ \.mov$ \.dat$ \.tif$ \.exe$ \.bat$ \.zip$
acl black_list dst "/etc/squid/black.list"
acl BadSites dstdomain -i "/etc/squid/bad.sites"
acl my_domain_site dstdomain "/etc/squid/allow_all.txt"
acl not_autorized src "/etc/squid/db/not_autorized"
acl SSL_ports port 443
acl SSL_ports port 2042
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 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 2042 # multiling http
acl Safe_ports port 5190 # multiling http
acl Safe_ports port 1345 # multiling http
acl CONNECT method CONNECT
acl squid_block_badlang url_regex -i "/etc/squid/squidblock/badlang.block.txt"
acl squid_block_entertain url_regex -i "/etc/squid/squidblock/entertain.block.txt"
acl squid_block_games url_regex -i "/etc/squid/squidblock/games.block.txt"
acl squid_block_pirate url_regex -i "/etc/squid/squidblock/pirate.block.txt"
acl squid_block_mp3 url_regex -i "/etc/squid/squidblock/mp3.block.txt"
acl squid_block_porn url_regex -i "/etc/squid/squidblock/porn.block.txt"
http_access deny squid_block_badlang
http_access deny squid_block_entertain
http_access deny squid_block_games
http_access deny squid_block_pirate
http_access deny squid_block_mp3
http_access deny squid_block_porn
http_access deny black_list
http_access deny BadSites
http_access allow LocalNet1 password
http_access deny bigfiles
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow password my_domain_site
http_access allow LocalNet password
http_access allow localhost
http_access deny all



Без авторизация не пропускает