squid снаружи
Добавлено: 2015-05-29 10:01:57
Всем привет. Ситуация такая.
Поставил Freebsd 9.3 + Squid версии 3.5 + sarg/
И вот в сарге теперь такие отчеты наблюдаю http://www.screencapture.ru/file/995F5034 хотя если зайти внутрь такого адреса то в отчете у него будет такое http://www.screencapture.ru/file/DbB9C614 т.е. DENIED
Вопрос такой, т.е. у меня сервак смотрит на ружу и как его тогда закрыть?
конфиги squid
Поставил Freebsd 9.3 + Squid версии 3.5 + sarg/
И вот в сарге теперь такие отчеты наблюдаю http://www.screencapture.ru/file/995F5034 хотя если зайти внутрь такого адреса то в отчете у него будет такое http://www.screencapture.ru/file/DbB9C614 т.е. DENIED
Вопрос такой, т.е. у меня сервак смотрит на ружу и как его тогда закрыть?
конфиги squid
Код: Выделить всё
http_port 3128
http_port localhost:3128 intercept
visible_hostname freebsd2
cache deny all
dns_v4_first on
shutdown_lifetime 1 seconds
coredump_dir /var/squid/cache
access_log /var/squid/logs/access.log squid
cache_log /var/squid/logs/cache.log
cache_dir ufs /var/squid/cache 3000 16 256
log_mime_hdrs on
acl localnet src 192.168.204.0/24 # RFC1918 possible internal network
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 1025-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 CONNECT method CONNECT
acl UrlIP url_regex -i ^http://[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/.*
http_access deny UrlIP
http_access allow localhost manager
http_access allow CacheManagerIP manager
http_access deny manager
http_access deny !Safe_ports
http_access deny to_localhost
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localnet
http_access allow localhost
http_access deny all
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
cache_effective_user squid
cache_effective_group squid