Hi, How do you can transparent proxy ? Well, I thing that so. Write this in your squid.conf: httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on And write this in your iptables rulles: # iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 Regards, Renato Policani -----Mensagem original----- De: Basia Nowak [mailto:basiamnowak@xxxxxxxxxxx] Enviada em: sexta-feira, 3 de junho de 2005 15:38 Para: squid-users@xxxxxxxxxxxxxxx Assunto: [squid-users] Redirection Hi. I have small question about squid serwer ;) Currently I had 2 servers with public ip addresses. Server 'A' is my proxy cache (squid 2.4) Server 'B' is a NAT router. Both servers is connected via swith to WAN router: server 'A' ----> switch <---- server 'B' WAN router --------^ So... I would like to force web cache on server 'B'. 'A' and 'B' works on linux 2.6 kernel and iptables firewall. WAN Router is CISCO router. So... any sugestion how I can transparent proxy ? ;) I can change routing, but I want to know other way. -- Cheers Barbara ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people.