LinuxQuestions.org
Help answer threads with 0 replies.
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 09-16-2004, 07:36 PM   #1
jamiguel77
LQ Newbie
 
Registered: May 2004
Distribution: red hat
Posts: 24

Rep: Reputation: 15
how Block MSN Messenger....


hi all how block msn messenger with iptables?

1) for 1 ip: 192.168.0.10
2) for a group 192.168.0.11 to 192.168.0.100
3) for a specific ips: 192.168.0.11, 192.168.0.20, 192.168.0.24


thanks .....
i am use redhat9
 
Old 09-16-2004, 10:39 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
MSN users port 1850

so

iptables -A FORWARD -i ethx -p tcp -s 192.168.0.10 --dport 1850 -j REJECT
You can repeat this rule for specific IPs too.

For that group of IPs, if you can get them a sub-subnet, it will be great... otherwise ... you will need to add each IP
 
Old 09-17-2004, 05:17 AM   #3
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
oops typepo mistake ?

msn port is 1863
 
Old 09-17-2004, 05:29 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Quote:
oops typepo mistake ?

msn port is 1863
Thanks for the help mandarin... it was not a typo ... a blunder on my part ... sorry jamigue.
 
  


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
How can i use MSN Messenger or Yahoo Messenger in slack ware ruzvay Linux - Software 8 02-16-2006 12:42 PM
Instant messenger Chat Kopete mandrake linux yahoo and MSN messenger saurya_s Linux - Software 1 11-22-2003 01:05 PM
MSN Messenger Wimpie22 Linux - Networking 8 06-01-2003 06:32 AM
Msn Messenger Dougall Linux - Software 5 08-09-2002 04:34 AM
Howto Block Msn Messenger in Squid johnlee Linux - Security 2 10-30-2001 03:21 PM

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

All times are GMT -5. The time now is 04:33 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
Open Source Consulting | Domain Registration