[squid-users] Issue with setting up local proxy

From: Ali Jawad <alijawad1_at_gmail.com>
Date: Tue, 15 Nov 2011 11:05:24 +0200

Hi

I have a server setup with SQUID for 6 users, these users do use the
same system on which squid is installed. Now my problem is that I want
to force all their traffic through SQUID. So I did setup the following
iptable rule on the server :

iptables -t nat -I OUTPUT -p tcp --dport 80 -j DNAT --to 192.168.0.165:3128

Where 192.168.0.165 is the squid server and the server the users use.

When a user tried to access a denied site, he gets access denied. When
he tried to access a white listed site he gets :

        * Unable to forward this request at this time.

Full error http://pastebin.com/ZVz1EGMr

However, when a user puts the proxy in browser "after I remove iptable
rule" all works fine. I did check always_direct, never_direct and the
other stuff.

Right now I am clueless. This is CentOS 5.5 with SQUID 2.6

Regards
Received on Tue Nov 15 2011 - 09:08:58 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 15 2011 - 12:00:03 MST