LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   squid (https://www.linuxquestions.org/questions/linux-newbie-8/squid-913121/)

amartlk 11-12-2011 02:01 AM

squid
 
Hi

I have squid 2.6 installed on centos5.3 i configured squid as transparent proxy, so there is no need to enter proxy in user browser for internet access , i block gmail , yahoo site ,with no proxy user are able to access internet but this site is also opened and when we add proxy in proxy setting in user browser then this site is not access dont known why this happend as this is transparent proxy so why i have to enter manually proxy for resticting this sites

Amar

fukawi1 11-12-2011 02:25 AM

Ok, I am having a great deal of difficulty in understanding your question..

But if it works by manually setting the proxy on the client PC, and does not work when using no proxy on the client, and transparently redirecting the ports with the firewall.

I would say that the firewall rule is wrong.

Try configuring the client machine to use a direct connection to the internet (no proxy).
And tail the squid logs.

Also, if you are using iptables:
Code:

watch iptables -nvL
will show the packet/byte counters increment for the relevant rules. If you cant see them increasing, there is a better than average possibility that the rule is not working as it should be.


All times are GMT -5. The time now is 08:32 PM.