Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-20-2004, 08:31 AM   #1
Registered: Jul 2004
Location: UAE
Distribution: RedHat
Posts: 93

Rep: Reputation: 15
Blocking squid through iptables


I've a squid proxy running in my network.I tried to block chat programs through many ways from the information I got from net.Anyway finally I could block chatting through IPTABLES with the command,

iptables -A FORWARD -s -m state --state ESTABLISHED,RELATED -j REJECT

to block chatting for the client

This blocked chatting but I found that this will disallow me to access FTP and POP as well. So I specifically opened ftp port, and address of my mail server for the client. As if now everything is working fine. But I do not know if my iptables command will block anything else.Please let me know if this will lead to me a problem later.

Thanking you in advance,

Old 12-20-2004, 10:24 AM   #2
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
I think I found a better way to stop the chat apps. Look through the squid logs for the user in questions, looking for sites related to the chat client. They all use servers to connect to their networks. For example, using squidGuard, I blocked *, and all icq traffic came to a halt on our network. Additionally, block the websites that users download these virus-fest apps from.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 09:33 AM
Squid IP BLOCKING secrets Linux - Networking 4 06-14-2007 11:36 AM
IM blocking with combination of IPtables & Squid shamza Linux - Security 1 09-29-2005 02:00 AM
SQUID - Blocking port 80 tekquest Linux - Software 2 08-27-2005 07:05 AM
Squid is blocking me out of one particular website. danielw Linux - Software 0 07-03-2004 12:30 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration