Re: [squid-users] problem with transparent and invalid URLs

From: Henrik Nordstrom <>
Date: Sun, 06 Apr 2008 02:10:00 +0200

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

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

Received on Sat Apr 05 2008 - 18:11:34 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT