Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: shani on December 13, 2005, 10:12:30 AM

Title: Block MSn messenger and yahoo messenger
Post by: shani on December 13, 2005, 10:12:30 AM
Hi Every body,

i am using redhat linux 8.0 on my system and i have already implemented only NAT on it , now i wanted to block Msn messenger and yahoo messenger through this nat.
following is my NAT script.

((iptables=/sbin/iptables
 iptables --flush -t nat
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward))))

thanks
Title: Block MSn messenger and yahoo messenger
Post by: Ricky on December 17, 2005, 10:47:13 AM
You have to find out that what ports and what urls ie. servers are used by those IMs and then block them..
For further we had a discussion already on it ..
see Blocking yahoo and msn messenger (http://www.linuxsolved.com/forums/ftopic1363.html)