Originally Posted by shahg_shahg
when i try to open any website i have get "refusing connections" massage on the client end.
Is the error message in the web browser generated by Squid (it will say Squid in the error messge), or is it generated by the browser (for example, presented similarly to "404 Not Found")?
What web browser are you using? Is it on the same computer as Squid?
It might be a firewall issue (the computer running Squid may be blocking the necessary port), among other things.
You say that Squid is not reporting any errors. Does it tell you that it is ready to serve, and in what terms? On my server the init script says "OK" and the Squid server reports something along the lines of "ready to serve".
As you said "start its services", I have assumed that you used some variation on
$ service start squid
Have you tried running the squid binary directly? Firstly, however, is there any reason you cannot do this, based perhaps on the contents of the squid init script?
If all your logs (access.log, cache.log and store.log) are blank, Squid is probably not running. Is this the case? You can check with
$ ps aux | grep -i squid
$ netstat --inet -vapen
should show you what ports Squid is listening on.
You noted that the same configuration file worked on FC2. Are you using the same user file and version of Squid? Please post your squid configuration.
Why did you put "iptables" in the subject line?
Squid has a "-d" option for debugging. Have you used this? Feel free to copy-and-paste any output.
Also consider http://www.catb.org/~esr/faqs/smart-questions.html
. I'm no hacker.