I have squid proxy in our office. I want to block gtalk messenger through squid ACL , I am not using iptable firewall as already cisco asa in place. I want to block gtalk messenger only through ACL.
I repeat myself once more, such job is much more suited for iptables or for your cisco firewall but, if you are looking for a shortcut here it is,
create the following ACL in squid.conf
Code:
acl block_port port 5223
http_access deny block_port
That should work anyway squid job is not to replace a sound firewalling strategy but to cache internet content.
Here is a more detailed tutorial on blocking ports with squid
I also would like to underline the fact that without iptables nothing stops users from disabling the proxy in their browser and accessing the internet directly.
We can help you on this forum in setting up iptables to stop internet traffic to port 80 and only allow internet access through squid. That's the recommended squid setup.
QatQat
If I could have sex each time I reboot my server, I would definitely prefer Windoz over Linux!
Unfortunately I have to tell yo that not all protocols can be proxied so I think that your gtalk traffic is going straight through the gateway.
I did my test using port 8181, which is one of my web servers, and it gets blocked no problem beign http traffic.
In this case you need one of the two
you ASA firewall to block related ports
or
iptables to block related ports.
Again, squid is a proxy server; its job is to proxy content. With time some filtering features have been included but that does not make it a replacement for a firewall.
QatQat
If I could have sex each time I reboot my server, I would definitely prefer Windoz over Linux!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.