Salut à tous je débute sous squid et j'ai installé squid3 sous ubuntu 12.04 lts. voici ma configuration de base:
#acl lists
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 localnet src 172.17.53.0/24 # RFC1918 possible internal network
#port connections
acl SSL_ports port 443
acl SSL method CONNECT
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
http_access allow all
# additional port for transparent proxy
http_port 172.17.53.162:3127 transparent
esuite je tapes la commande suivante:
iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 172.17.54.1:3128
mais seulement quand je lance squid il n'y a que le protocol https qui est autorisé les requêtes http ne passent pas je ne comprends pas pourquoi?
Quelqu'un peut t'il me donner un exemple de configuration qui marche?

 

 
		
		 
        

 
			
			

 
   
 


 SQUID configuration de base
 SQUID configuration de base
				 Répondre avec citation
  Répondre avec citation
Partager