LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-24-2008, 08:59 AM   #1
pawan_lal
Member
 
Registered: Dec 2006
Posts: 33

Rep: Reputation: 15
Block IM with iptables or Squid?


hi myself vicky,
in my office i have to block all messenger like yahoo messenger, windows live messenger, i have to block websites like www.yahoo.com, some more web sites. i need guidance through which i can accomplish this task
through ip tables or through squid server. i can use squid but i had heard that squid blocks pop and smtp also. squid creates some problem in receiving and sending email.

i am using red hat linux 4 box and installed squid having two ethernet card 1 is connected to adsl line and 2 is connected to switch. all clients will have proxy address of this linux box. guys need ur help ASAP.
 
Old 12-24-2008, 09:21 AM   #2
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Rep: Reputation: 17
Hey I'm sorry for past faulty reply.

If you say about pop and smtp, you need to make a smtp/pop relay server with sendmail/postfix/qmail whatever or u may use your ISP's one...

And you can set detailed acls in squid. Just go to squid.conf file and you'll have lot of acl formats, like time, port range etc. You can set em up. It's easy...

Last edited by n03x3c; 12-24-2008 at 11:54 PM.
 
Old 12-24-2008, 01:28 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by pawan_lal View Post
...through ip tables or through squid server.
Not through iptables, unless you want future problems. Iptables works with ip addresses and you could use it to block by ip addresses but you have the problem that these change and that these can encompass multiple web sites.
 
  


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
i want to block a URL from squid Atifkhan Linux - Enterprise 3 02-23-2010 01:47 PM
block googletalk using squid ssilayaraja Linux - Networking 2 12-21-2009 04:54 AM
How can I block HTTPS packets with iptables/Squid? sanjee Linux - Security 5 10-29-2008 04:52 PM
How To block by word in squid giomax Linux - Newbie 3 10-23-2008 07:00 AM
IPTables and PPTPD :S (to block or not to block) thewonka Linux - Networking 0 03-24-2005 06:58 PM

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

All times are GMT -5. The time now is 02:11 AM.

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
Open Source Consulting | Domain Registration