Re: Squid with Dansguardian problem.

If I redirect to squid(3128),i have not a problem but if I try redirect to
dansguardian(8080),The squid error page(The requested URL coult not be
retrieved) print on web browser.
If i try manually configure proxy server on web browser(connection setting)
to dansguardian(8080),it works.

it works like below:

$IPTABLES -t nat -A PREROUTING -i $INTIF -p tcp --dport 80 -j REDIRECT
--to-port 3128

but not works like below:

$IPTABLES -t nat -A PREROUTING -i $INTIF -p tcp --dport 80 -j REDIRECT
--to-port 8080

On 15/11/2007, Mihira Fernando <mihiratheace@xxxxxxxxx> wrote:

Semih Gokalp wrote:
Thanks for reply Mihira.I tried script and remove manual web browser
configure for proxy but not worked.

Invalid URL Error page is squid error page that i see on the web

I think,it means web request is being redirected to dansguardian by
iptables and dansguardian is forwarding request to squid but squid dont
resolve the URL-path.

Am i wrong ?

What do you think ?

Do you get the same result if Iptables redirect to squid instead of
dansguardian ?

change he redirection command like this and try :

echo " Rerouting http hits to proxy server "
$IPTABLES -t nat -A PREROUTING -i $INTIF -p tcp --dport 80 -j REDIRECT

Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has

Iyi calismalar.Basarilar...
Semih Gokalp