squid-users  

Re: [squid-users] squid or iptables big problem !

Marcello Romani
Thu, 11 Mar 2010 04:35:04 -0800

Il 11/03/2010 9.21, Hubert Choma ha scritto:
Hello
Please check my configs. I don't know it's a problem with squid config
(transparent 8080) or iptables. Pages are loading very very slow
sometimes I receive error  DNS timeout and clients can't connect to WWW
sites. I open ports 53 UDP and TCP on my firewall CENTOS 5.4. My
Linuxbox is configured as a router. I have redirected 80,21,9999(ssh)
ports on my hardware router to linux 192.168.1.2

How can I debug squid to check it is a firewall problem ?

In resolv.conf I have write down IP of hardware router and IP's of my
internet provider DNS so it shouldn't be a problem with DNS ?!

resolv.conf
nameserver 192.168.1.1
nameserver 194.204.152.34
nameserver 194.204.159.1

My net topology
192.168.1.1(UTM hardware router)---192.168.1.2 CENOTS router with
transparent squid--192.168.0.0/24 LAN clients

eth0 WAN -192.168.1.2 (static IP)
eth1 LAN -192.168.0.1 (static IP)
Squid 2.6 stable 21


[snip]

Not a very useful response, I know, but please be aware that the current recommended version is:

  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE24

(copied from squid dev Amos Jeffries' sig.)

I've read several times in this list of problems solved by upgrading squid.

HTH

Marcello