-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ya vi como me faltaban estas líneas en squid.conf httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on
El Jue 26 Ago 2004 18:46, j0rd1 adame escribió: > Hola lista > > Debian Sarge kernel 2.6 > > tengo estas reglas en el iptables > /sbin/iptables -t nat -A PREROUTING -p tcp -s 192.168.200.0/24 -d ! > 192.168.200.0/24 --dport 80 -j REDIRECT --to-ports 3128 > /sbin/iptables -t nat -A PREROUTING -p udp -s 192.168.200.0/24 -d ! > 192.168.200.0/24 --dport 80 -j REDIRECT --to-ports 3128 > /sbin/iptables -t nat -A PREROUTING -p tcp -s 192.168.200.0/24 -d ! > 192.168.201.0/24 --dport 80 -j REDIRECT --to-ports 3128 > /sbin/iptables -t nat -A PREROUTING -p udp -s 192.168.200.0/24 -d ! > 192.168.201.0/24 --dport 80 -j REDIRECT --to-ports 3128 > /sbin/iptables -t nat -A PREROUTING -p tcp -s 192.168.200.0/24 -d ! > 192.168.202.0/24 --dport 80 -j REDIRECT --to-ports 3128 > /sbin/iptables -t nat -A PREROUTING -p udp -s 192.168.200.0/24 -d ! > 192.168.202.0/24 --dport 80 -j REDIRECT --to-ports 3128 > /sbin/iptables -t nat -A PREROUTING -p tcp -s 192.168.200.0/24 -d ! > 192.168.203.0/24 --dport 80 -j REDIRECT --to-ports 3128 > /sbin/iptables -t nat -A PREROUTING -p udp -s 192.168.200.0/24 -d ! > 192.168.203.0/24 --dport 80 -j REDIRECT --to-ports 3128 > > para hacer proxy transparente con squid > > pero squid da el siguiente error > > ERROR > The requested URL could not be retrieved > > While trying to retrieve the URL: / > > The following error was encountered: > > * Invalid URL > > Some aspect of the requested URL is incorrect. Possible problems: > > * Missing or incorrect access protocol (should be `http://'' or > similar) * Missing hostname > * Illegal double-escape in the URL-Path > * Illegal character in hostname; underscores are not allowed > > > Si en el navegador especifico el proxy directamente si se puede navegar... > pero al navegar sin especificar proxy en navegador y utilizar el redirect > de iptables da el error. > > > alguna idea de qué está mal?? > > saludos > j0rd1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBLn2GB5QJme5SU08RAl8NAJ43NfZiG8eBm7kB1U/ktBbgERdEaACdEqvT hC11tRnBIYuhp11yeCq0jjU= =RWh/ -----END PGP SIGNATURE-----