Strumenti Utente

Strumenti Sito


proxy_server_squid3

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
proxy_server_squid3 [2017/03/13 19:04]
amnesia
proxy_server_squid3 [2017/03/13 19:22] (versione attuale)
amnesia
Linea 78: Linea 78:
  
   /​etc/​init.d/​squid3 restart   /​etc/​init.d/​squid3 restart
-  ​+ 
 +Esempi di configurazione 
 + 
 +  http_port 3128 
 +  icp_port 3130 
 +  cache_mem 8 MB 
 +  cache_dir ufs /​usr/​local/​squid/​var/​cache 100 16 256 
 +  cache_access_log /​usr/​local/​squid/​var/​logs/​access.log 
 +  cache_log /​usr/​local/​squid/​var/​logs/​cache.log 
 +  cache_store_log /​usr/​local/​squid/​var/​logs/​store.log 
 +  emulate_httpd_log off 
 +  mime_table /​usr/​local/​squid/​etc/​mime.conf 
 +  pid_filename /​usr/​local/​squid/​var/​run/​squid.pid 
 +  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 to_localhost dst 127.0.0.0/​8 
 +  acl SSL_ports port 443 563 
 +  acl Safe_ports port 80          # http 
 +  acl Safe_ports port 21          # ftp 
 +  acl Safe_ports port 443 563     # https, snews 
 +  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 locallan src 192.168.0.0/​255.255.255.0 
 +  acl CONNECT method CONNECT 
 +  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 allow locallan 
 +  http_access deny all 
 +  cache_mgr [email protected] 
 +  cache_effective_user nobody 
 +  cache_effective_group nobody 
 +  visible_hostname proxy.nomedominio.net 
 +  append_domain .miodominio.net 
  
proxy_server_squid3.txt · Ultima modifica: 2017/03/13 19:22 da amnesia