Sul mio laptop ho configurato apt.conf
Codice: Seleziona tutto
Acquire::http::Proxy "http://192.168.2.249:3128";La configurazione di squid è minimale:
Codice: Seleziona tutto
acl SSL_ports port 443
acl CONNECT method CONNECT
acl extensys src 192.168.2.0/24 ::1
acl dhcp src 192.168.4.0/24 ::1
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
http_access allow extensys
http_access allow dhcp
http_access deny all
http_port 3128
coredump_dir /var/spool/squid
maximum_object_size 200 MB
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