News : LinuxSolved.com Linux Help Community Forum..
Yahoo! Messenger services uses a variety of ports.Service................................PortsChat & Messenger-----------> TCP Port 5050: Client Access onlyInsider/Room Lists --------->TCP Port 80: Client Access onlyFile Transfer-----------------> TCP Port 80: Server Access.Your ISP may block this port, as its used for web hosting.You can change port in Messenger, Preferences, File Transfer.Voice Chat -------------------> UDP 5000-5010TCP 5000-5001:--------------> Client AccessIf UDP Fails, TCP will be used instead, see below.WebCam -------------------->TCP Port 5100: Client AccessSuper Webcam--------------->TCP Port 5100: Server AccessP2P Instant Messages------->TCP Port 5101: Server AccessPMs between Buddys may not use the Yahoo! Server, but this is not a requirement.
# This line is to drop TCP port 5101iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 5101 -j DROP # This line is to drop UDP port 5000 iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5000 -j DROP
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 5101 -j DROP iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 5050 -j DROP iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 5000 -j DROP iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 5001 -j DROP iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 5100 -j DROPiptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5002 -j DROP iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5003 -j DROP iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5004 -j DROP iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5005 -j DROP iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5006 -j DROP iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5007 -j DROP iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5008 -j DROPiptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5009 -j DROP iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5000 -j DROPiptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 5010 -j DROP