2017-09-14 - squid no listening to port 3128

Header Data

From: nt***h@gmail.com
Message Hash: 5c43d72df3ff5a0ff7a9e5047b424ae80000ed0729915fa5cbc23e633e141b48
Message ID: <e4fccb2b-4dac-4e6e-aba4-f16fa03a0705@grasehotspot.org>
Reply To: N/A
UTC Datetime: 2017-09-14 08:57:41 UTC
Raw Date: Thu, 14 Sep 2017 08:57:41 -0700

Raw message

HI All


I installed cachemgr on my server when i try to access the gui or run 
squidclinet on the terminal connection is refused. Then i check if squid s 
running there is no process running on port 3128. 
I followed a blog suggesting to check the iptables rules i got the the 
follwoing response using the #i iptables-save | grep 3128.

 
A PREROUTING -s 10.1.0.0/24 ! -d 10.1.0.1/32 -i tun0 -p tcp -m tcp --dport 
80 -j REDIRECT --to-ports 3128
-A PREROUTING -s 10.1.0.0/24 -d 10.1.0.1/32 -p tcp -m tcp --dport 3128 -j 
DROP
-A INPUT -d 10.1.0.1/32 -i tun0 -p tcp -m tcp --dport 3128 -j ACCEPT

 why the midlle rule is being droped? 

I dint do anything to iptbless. then check the cache.log  i notice this 
line Closing HTTP port 0.0.0.0:3128 i tried to look for a solution but my 
search was in vain.



Regards
Vusi

Thread