lör 2008-04-05 klockan 18:40 -0300 skrev Leonardo Rodrigues Magalhães:

>     if i manually point squid on firefox/IE proxy configurations, it 
> works. But if i let the connection be intercepted, then i only get 
> 'Invalid URL' errors.

That's because your Squid doesn't realize the connection was
intercepted, because the destination IP did not change from the
requested IP..

The suggested setup is to not intercept connections destined for the
server itself. This neatly avoids this and a couple of other related
issues...

I.e. in iptables nat you have something like

iptables -t nat -A PREROUTING -d ip.of.this.server -j ACCEPT
iptables -t nat -p tcp --dport 80 -j REIRECT --redirect-to port_of_squid

Regards
Henrik

Reply via email to