Tienes activadas las siguientes opciones en tu squid:
# Para el proxy transparente httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on Con eso te tiene que jalar si no estan activadas Un saludo Mensaje citado por "Rafael F. Rodríguez" <[EMAIL PROTECTED]>: > Hola Lista :-) . > > Tengo un problema que no consigo encontrar solución. > > Quisiera que los equipos configurado con puerta de enlace y con dns > salgan a internet, pero para peticiones 80 y 21 redireccione al squid > que ya funcione correctamente. > > Y he tecleado esto (aclarando que red_nat es 192.168.0.0/24): > > echo 1 > /proc/sys/net/ipv4/ip_forward > iptables -t nat -A POSTROUTING -s $red_nat -d 0/0 -j MASQUERADE > iptables -t nat -A PREROUTING -s $red_nat -p tcp --dport 80 -j > REDIRECT --to-port 3128 > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 21 -j REDIRECT > --to-port 3128 > > Y no me sale, pero si dejo sólo la línea masquerade se navega > perfectamente. > > También he probado el proxy sólamente, y también funciona. > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > --------------------- A world inside the computer where man has never been. Antonio Lemus --------------------- ---