LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 12-24-2008, 09:59 AM   #1
pawan_lal
Member
 
Registered: Dec 2006
Posts: 32
Thanked: 0
Block IM with iptables or Squid?


[Log in to get rid of this advertisement]
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.
pawan_lal is offline     Reply With Quote
Old 12-24-2008, 10:21 AM   #2
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Slackware 13.0
Posts: 85
Thanked: 4
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-25-2008 at 12:54 AM..
n03x3c is offline     Reply With Quote
Old 12-24-2008, 02:28 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 1,885
Thanked: 88
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.
salasi is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
How can I block HTTPS packets with iptables/Squid? sanjee Linux - Security 5 10-29-2008 05:52 PM
How To block by word in squid giomax Linux - Newbie 3 10-23-2008 08:00 AM
block googletalk using squid ssilayaraja Linux - Networking 1 04-03-2008 09:28 PM
i want to block a URL from squid Atifkhan Linux - Enterprise 1 05-25-2006 05:39 PM
IPTables and PPTPD :S (to block or not to block) thewonka Linux - Networking 0 03-24-2005 07:58 PM


All times are GMT -5. The time now is 01:07 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration