LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 15
Blocking squid through iptables


Hi,


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 192.168.0.40 -m state --state ESTABLISHED,RELATED -j REJECT

to block chatting for the client 192.168.0.40.

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,

Jomy
 
Old 12-20-2004, 09:24 AM   #2
Pcghost
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 *.icq.com, and all icq traffic came to a halt on our network. Additionally, block the websites that users download these virus-fest apps from.
 
  


Reply


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 08:33 AM
Squid IP BLOCKING secrets Linux - Networking 4 06-14-2007 10:36 AM
IM blocking with combination of IPtables & Squid shamza Linux - Security 1 09-29-2005 01:00 AM
SQUID - Blocking port 80 tekquest Linux - Software 2 08-27-2005 06:05 AM
Squid is blocking me out of one particular website. danielw Linux - Software 0 07-02-2004 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:37 PM.

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