Good News! – Viber, WhatsApp, Line, Tango etc have been Unblocked. These were blocked few days back on the ground of security issues.
I checked this morning and all of these were working perfectly. This has happened when people were fearing ban on Facebook on same excuse.
Using IPTables rules we can block a Single IP address or a block of IP Addresses.
The following command (via ssh) will drop any packet coming from the IP address 188.8.131.52 :
# iptables -I INPUT -s 184.108.40.206 -j DROP
or you can use append
# iptables -A INPUT -s 220.127.116.11 -j DROP
How To Block Subnet (ip.Add.re.ss/subnet):
If your Machines public interface card name is eth1 and if you’d like to block the subnet 10.0.0.0/8 -Use the following syntax:
# iptables -i eth1 -A INPUT -s 10.0.0.0/8 -j DROP
How to View Blocked IP Address(es):
Simply use the following command:
# iptables -L -v
How to Save Blocked IP Address(es) in IPTables:
# service iptables save