How to block Yahoo Messenger through IP Tables
Hi ,
Sorry for asking this newbie question first.
I am running a network with a Linux Server as a gateway. I am using IPtables as to masquerade internal IPs for Internet usage. I want to block the uses of my intranet for using yahoo messenger. I needed help for this. In general i wanted to know how to block a particular port.
Thanks in Advance
Alok Shukla
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
Hi,
But why do you want to do that? If you want to block a particular
port then either disable it in inetd or xinetd. Or make rules for that destination port to DROP packets.
regards
Krishna
Krishna Shekhar
Network Administrator
Wiplash Wireless
Quoted 20 lines · Alok Shukla
Hi ,
Sorry for asking this newbie question first.
I am running a network with a Linux Server as a gateway. I am using IPtables as to masquerade internal IPs for Internet usage. I want to block the uses of my intranet for using yahoo messenger. I needed help for this. In general i wanted to know how to block a particular port.
Thanks in Advance
Alok Shukla
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
Quoted 3 lines · Krishna
But why do you want to do that? If you want to block a particular
port then either disable it in inetd or xinetd. Or make rules for that destination port to DROP packets.
As the OP stated, the Linux box is being used as a gateway. The Yahoo Messenger servers are out on the Net, so you'll need to block traffic going through the host, so inetd and xinetd won't help.
Quoted 6 lines
Quoted 6 lines
Sorry for asking this newbie question first.
I am running a network with a Linux Server as a gateway. I am using IPtables as to masquerade internal IPs for Internet usage. I want to block the uses of my intranet for using yahoo messenger. I needed help for this. In general i wanted to know how to block a particular port.
It's not a newbie question at all, and sounds very familiar. Have you Googled for it throughly? IIRC Yahoo Messenger tries some interesting ways to get through firewalls - so you might want to filter on destination IP, or do some kind of content matching fun. I would expect a lot of people are up against similar problems so someone will have found a solution already if there's one to be found.
Signature · 1 line
FunkyJesus System Administration Team