Tag Archives: iptables

IPTABLES – blocking IPs simplified

You can block an IP from IPTABLES by using iptables -I INPUT -s 192.168.0.88 -j DROP You can simplify things a little bit by using a shell script and a predefined text file containing the IPs we want to be blocked. Either create a new file or add the following at the end of the… Read More »

Block Yahoo Messenger, AOL, MSN and ICQ using IPTABLES

If you’re a network administrator and you’re using Linux on your servers, you can stop the rest of the users from using IM applications by blocking their access to the most-used IM protocols: ICQ and AOL: # iptables -A FORWARD –dport 5190 -j DROP # iptables -A FORWARD -d login.oscar.aol.com -j DR OP MSN: #… Read More »