спасиб за конфиг)Вот мой конфиг
я делаю так вместопоправте под свои нужды
я пишу acl localnet src 192.168.100.0/24 далее там где у васacl localnet src 192.168.0.0/16
я пишу свои адреса клиентов в сети, ну тут тоже меняю 0 на 100acl class src 127.0.0.1 192.168.0.21-192.168.0.50 192.168.0.75-192.168.0.98
ну вроде бы все, сделал рестарт выдалacl admin_class src 192.168.0.100 192.168.0.99 192.168.0.113 192.168.0.160
acl admin53 src 192.168.0.113
Показать
root@ase:/home/user/Desktop# /etc/init.d/squid3 restart
Restarting Squid HTTP Proxy 3.x: squid3WARNING: Cannot write log file: /var/run/squid/var/log/cache.log
/var/run/squid/var/log/cache.log: No such file or directory
messages will be sent to 'stderr'.
вот мой рабочий конфиг с которым интернет работает на ура
Показать
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl my_network src 192.168.100.0/24
acl SSL_ports port 443
acl SSL_ports port 1025-65535
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 Safe_ports port 110 #pop3
acl Safe-ports port 25 #smtp
acl CONNECT method CONNECT
http_access allow my_network
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_port 192.168.100.174:3128 transparent
hierarchy_stoplist cgi-bin ?
coredump_dir /var/spool/squid3
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
shutdown_lifetime 5.00 second
cache_dir ufs /var/cache/squid 2048 16 256
maximum_object_size 10024.00 bytes
мне уже все равно на запрет на медиа )) хотя бы просто скорость убавить клиентам, что бы не забивали сеть