[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Squid como transparent proxy e iptables



Me da error me dice primero que transparent no es un parámetro reconocido

"Restarting proxy server: FATAL: Bungled squid.conf line 1: http_port 3128
transparent
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
squid."

Hay diferencias para hacer un proxy transparente entre las versiones del squid.

La version 2.5 necesita solo tener

http_port 3128

y esto para hacerlo transparente:

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on


y si lo quito me dice que

" Restarting proxy server: 2007/04/12 15:56:27| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 12: http_reply_access allow all
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
squid."


La version 2.6 de squid, que es la que esta usando ahora Debian Etch
4.0 solo necesita estas lineas para hacerlo transparente:

http_port 3128 transparent

ademas de:

visible_hostname tuhost.com
dns_nameservers tudns

etc...

Espero que te sirva.
Saludos.
--
Luis Vega M.
Linux Registered User #356394 - counter.li.org
Sitio Personal: http://fodsite.webcindario.com
Green Day: http://www.greendayfod.net
<fodsite AT gmail DOT com>



Reply to: